 /* === БАЗОВЫЕ СТИЛИ === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: white;
  color: #333;
  padding-top: 80px;
  min-height: 100vh;
}

/* === НАВБАР === */
.navbar-pc {
  display: flex;
  justify-content:space-between;
  align-items: center;
  padding: 15px 5%;
  background-color: white;
  box-shadow: 0 2px 25px rgba(255, 107, 139, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s ease;
}

.navbar-pc.scrolled {
  box-shadow: 0 4px 30px rgba(255, 107, 139, 0.15);
}

/* Логотип */
.logo a {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  color: #FD0558;
  transition: all 0.3s ease;
}

.logo a:hover {
  color: #ff4d7b;
}

/* === ГАМБУРГЕР === */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #FF6B8B;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* === ССЫЛКИ === */
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-family: 'Comic Sans MS', cursive;
  color: #555;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.25rem;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #FF6B8B;
  transition: width 0.3s;
}

.nav-links a:hover {
  color: #FF6B8B;
}

.nav-links a:hover::after {
  width: 100%;
}

/* === КНОПКИ АВТОРИЗАЦИИ === */
.auth-buttons {
  display: flex;
  gap: 15px;
}

.auth-button {
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 0.95rem;
}

#login-button {
  color: #FF6B8B;
  border: 2px solid #FF6B8B;
  background: transparent;
}

#login-button:hover {
  background-color: #FF6B8B;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 139, 0.3);
}

#register-button {
  background: linear-gradient(135deg, #FF6B8B 0%, #FF8E53 100%);
  color: white;
  border: none;
}

#register-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 139, 0.4);
}

/* === МОБИЛЬНАЯ АДАПТАЦИЯ === */
@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 10px 20px rgba(255, 107, 139, 0.1);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: 1.4rem;
    padding: 12px 0;
    width: 100%;
    text-align: center;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 480px) {
  .navbar-pc {
    padding: 15px 4%;
  }

  .logo a {
    display: none;
    font-size: 1.5rem;
  }

  .hamburger span {
    width: 22px;
    height: 2.5px;
  }
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    /* max-width: 300px; */
    background-color: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    animation: modalFadeIn 0.4s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
    transition: color 0.3s;
}

.close-button:hover {
    color: #FF6B8B;
}

.modal-content h2 {
    font-family: 'Comic Sans MS', cursive;
    color: #FF6B8B;
    margin-bottom: 20px;
    text-align: center;
}

.input-container {
    margin-bottom: 15px;
}

.horizontal-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.input-container label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.input-container input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-container input:focus {
    outline: none;
    border-color: #FF6B8B;
    box-shadow: 0 0 0 3px rgba(255, 107, 139, 0.2);
}

.login-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth {
    background: linear-gradient(135deg, #FF6B8B 0%, #FF8E53 100%);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 139, 0.4);
}

.modal-content p {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.modal-content a {
    color: #FF6B8B;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.modal-content a:hover {
    color: #ff4d7b;
    text-decoration: underline;
}

