body {
  transition: background-color 0.3s, color 0.3s;
  margin: 0;
  min-height: 100vh;
  font-family: 'Arial', sans-serif;
  position: relative;
  overflow-x: hidden;
}

/* Web3 Liquid Glass Background Effect */
body::before {
  content: '';
  position: fixed;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle at 20% 50%, rgba(120, 115, 245, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 110, 196, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 40% 20%, rgba(161, 161, 255, 0.05) 0%, transparent 50%);
  animation: liquidMove 30s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes liquidMove {
  0%, 100% { 
    transform: translate(0, 0) scale(1);
  }
  33% { 
    transform: translate(2%, 2%) scale(1.05);
  }
  66% { 
    transform: translate(-2%, 2%) scale(1.05);
  }
}

/* Светлая тема */
.light-theme {
  background-color: #ffffff;
  color: #000000;
}

/* Тёмная тема */
.dark-theme {
  background-color: #070708;
  color: #c4a484;
}

/* Контейнер для верхней панели */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px; /* Увеличиваем высоту "бокса" */
  z-index: 999; /* Ниже кнопок и панели */
  transition: background 0.5s ease, box-shadow 0.5s ease, border-bottom 0.5s ease; /* Плавнее переход */
  background: transparent;
  box-shadow: none;
  border-bottom: 2px solid transparent; /* По умолчанию без линии */
}

/* Состояние при прокрутке */
.header.scrolled {
  background: rgba(7, 7, 8, 0.95); /* Более заметный фон */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); /* Усиленная тень */
  border-bottom: 2px solid rgba(255, 255, 255, 0.8); /* Белая линия в тёмной теме */
}

/* Адаптация под светлую тему */
.light-theme .header.scrolled {
  background: rgba(255, 255, 255, 0.95); /* Более заметный светлый фон */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-bottom: 2px solid rgba(0, 0, 0, 0.8); /* Тёмная линия в светлой теме */
}

/* Кнопка переключения темы */
#theme-toggle {
  width: 100px;
  height: 100px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  position: absolute;
  top: -5px;
  right: 10px;
  z-index: 1000; /* Выше .header */
}

#theme-toggle:hover {
  opacity: 0.8;
}

/* Кнопка Join Us */
.join-btn {
  position: absolute;
  top: 30px;
  right: 600px;
  text-decoration: none;
  padding: 6px 15px;
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background: #1e8449;
  border-radius: 8px;
  border: none;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
  z-index: 1000; /* Выше .header */
}

.join-btn:hover {
  background: #166937;
}

.light-theme .join-btn {
  background: #1e8449;
  color: #fff;
}

.light-theme .join-btn:hover {
  background: #166937;
}

.dark-theme .join-btn {
  background: #1e8449;
  color: #fff;
}

.dark-theme .join-btn:hover {
  background: #166937;
}

/* Profile Button */
.join-btn.profile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #7873f5, #ff6ec4);
  padding: 8px 20px;
  min-width: 120px;
  animation: pulse-profile 3s ease-in-out infinite;
}

.join-btn.profile-btn:hover {
  background: linear-gradient(45deg, #9a95ff, #ff8ed4);
  box-shadow: 0 0 20px rgba(120, 115, 245, 0.5);
  transform: translateY(-2px);
}

@keyframes pulse-profile {
  0%, 100% {
    box-shadow: 0 1px 5px rgba(120, 115, 245, 0.3);
  }
  50% {
    box-shadow: 0 4px 15px rgba(120, 115, 245, 0.6);
  }
}

.light-theme .join-btn.profile-btn,
.dark-theme .join-btn.profile-btn {
  background: linear-gradient(45deg, #7873f5, #ff6ec4);
}

.light-theme .join-btn.profile-btn:hover,
.dark-theme .join-btn.profile-btn:hover {
  background: linear-gradient(45deg, #9a95ff, #ff8ed4);
}

/* Навигационная панель */
.nav-box {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 15px;
  display: flex;
  justify-content: space-around;
  pointer-events: auto;
  transition: opacity 0.3s ease;
  z-index: 1000; /* Выше .header */
}

.light-theme .nav-box {
  background: rgba(0, 0, 0, 0.1);
}

.dark-theme .nav-box {
  background: #2d2d30;
  color: white;
  opacity: 0.9;
}

.box-link {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
  pointer-events: auto;
}

.box-link:hover {
  text-shadow: 0 0 5px rgba(196, 164, 132, 0.5);
}

.divider {
  padding: 0 10px;
  opacity: 0.8;
  user-select: none;
}

/* Прелоадер */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #070708;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.7s ease;
}

#preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

#loader-animation {
  width: 250px;
  height: 250px;
  opacity: 0.5;
}

/* Фоновая анимация */
#background-animation {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: 50%;
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

/* Анимация внизу */
#footer-animation {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 500px;
  opacity: 0.2;
  pointer-events: none;
  z-index: 1;
}

/* Первая секция */
.main {
  position: relative;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

.title-container {
  text-align: center;
}

.title-container h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 40px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  user-select: none;
}

.dark-theme .title-container h1 {
  color: #f7f6f5;
}

.hiring-box {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  padding: 8px 15px;
  opacity: 0.8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.light-theme .hiring-box {
  background: rgba(0, 0, 0, 0.05);
  color: black;
}

.dark-theme .hiring-box {
  background: rgba(255, 255, 255, 0.05);
  color: whitesmoke;
}

.hiring-box .lightes {
  opacity: 1;
}

.hiring-box .darknes {
  opacity: 0.7;
}

.hiring-box p {
  font-family: 'Quantico', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  color: inherit;
}

.hiring-box::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>') no-repeat center;
  background-size: contain;
}

.dark-theme .hiring-box::after {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>') no-repeat center;
  background-size: contain;
}

/* Вторая секция */
.feature-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 200px;
  padding: 80px 0;
  z-index: 5;
}

.feature-text {
  max-width: 350px;
  font-family: 'Big Shoulders Inline Text', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  opacity: 0.9;
  text-align: left;
  margin-left: -50px;
}

.glass-box {
  width: 400px;
  height: 200px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  border-radius: 20px;
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.2),
              inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.glass-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(120, 115, 245, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.light-theme .glass-box {
  background: rgba(255, 255, 255, 0.2);
}

.dark-theme .glass-box {
  background: rgba(255, 255, 255, 0.05);
}

#people-animation {
  width: 100%;
  height: 100%;
}

/* Секция About */
.about-section {
  position: relative;
  padding: 60px 0;
  z-index: 5;
}

.about-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 300px;
  margin-bottom: 50px;
}

.about-text {
  max-width: 400px;
}

.about-text h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

.dark-theme .about-text h2 {
  color: #f7f6f5;
}

.about-text p {
  font-family: 'Quantico', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  opacity: 0.9;
}

#intro-animation,
#purpose-animation,
#future-animation,
#vision-animation {
  width: 300px;
  height: 300px;
}

.about-center {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

#final-animation {
  width: 600px;
  height: 600px;
}

/* Секция Features */
.features-section {
  position: relative;
  padding: 60px 0;
  z-index: 5;
}

.features-divider {
  width: 50%;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
  margin: 0 auto 40px auto;
}

.light-theme .features-divider {
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.3), transparent);
}

.features-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 200px;
  margin-top: 200px;
}

#features-animation {
  width: 300px;
  height: 300px;
}

.glass-box-features {
  width: 500px;
  height: 400px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 20px;
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.light-theme .glass-box-features {
  background: linear-gradient(135deg, rgba(200, 200, 200, 0.2), rgba(150, 150, 150, 0.1));
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 0 10px rgba(255, 255, 255, 0.3);
}

.dark-theme .glass-box-features {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
}

.features-text-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.features-text-column p {
  font-family: 'Quantico', sans-serif;
  font-size: 17px;
  font-weight: 400;
  margin: 0;
  opacity: 0.9;
}

.features-text-column p.with-divider {
  position: relative;
  padding-bottom: 10px;
}

.features-text-column p.with-divider::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.light-theme .features-text-column p.with-divider::after {
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.3), transparent);
}

/* Секция Team */
.team-section {
  position: relative;
  padding: 60px 0;
  z-index: 5;
  text-align: center;
}

.team-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 40px;
}

.dark-theme .team-title {
  color: #f7f6f5;
}

.core-team-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 60px;
}

.team-card.core-card {
  position: relative;
  width: 220px;
  height: 300px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  padding: 20px;
  overflow: hidden;
  transition: transform 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.core-team-container .core-card:nth-child(1) {
  transform: translateX(60px) rotate(-5deg);
  z-index: 2;
}

.core-team-container .core-card:nth-child(2) {
  z-index: 3;
}

.core-team-container .core-card:nth-child(3) {
  transform: translateX(-60px) rotate(5deg);
  z-index: 2;
}

.team-card.core-card:hover {
  transform: translateY(-10px) rotate(0deg);
  backdrop-filter: blur(15px);
  z-index: 4;
}

.light-theme .team-card.core-card {
  background: linear-gradient(135deg, rgba(200, 200, 200, 0.2), rgba(150, 150, 150, 0.1));
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.light-theme .team-card.core-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.dark-theme .team-card.core-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  box-shadow: none;
}

.dark-theme .team-card.core-card:hover {
  box-shadow: none;
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.team-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 5px 0;
}

.dark-theme .team-card h3 {
  color: #f7f6f5;
}

.team-card p {
  font-family: 'Quantico', sans-serif;
  font-size: 14px;
  font-weight: 400;
  margin: 0 0 10px 0;
  opacity: 0.9;
}

.team-email {
  font-family: 'Quantico', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: inherit;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.team-email:hover {
  opacity: 1;
  text-decoration: underline;
}

.dark-theme .team-email {
  color: #c4a484;
}

.light-theme .team-email {
  color: #333333;
}

.team-list-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
}

.team-member {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 300px;
}

.team-avatar-small {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.team-info h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 5px 0;
}

.dark-theme .team-info h3 {
  color: #f7f6f5;
}

.team-info p {
  font-family: 'Quantico', sans-serif;
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  opacity: 0.9;
}

/* Футер */
.footer {
  flex-shrink: 0;
  position: relative;
  padding: 40px 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.1));
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 5;
}

.light-theme .footer {
  background: linear-gradient(135deg, rgba(200, 200, 200, 0.1), rgba(255, 255, 255, 0.05));
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-logo h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 5px 0;
  text-transform: uppercase;
}

.dark-theme .footer-logo h3 {
  color: #f7f6f5;
}

.footer-logo p {
  font-family: 'Quantico', sans-serif;
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-link {
  font-family: 'Quantico', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease, text-shadow 0.3s ease;
}

.footer-link:hover {
  opacity: 1;
  text-shadow: 0 0 5px rgba(196, 164, 132, 0.5);
}

.dark-theme .footer-link {
  color: #c4a484;
}

.light-theme .footer-link {
  color: #333333;
}

.footer-copyright {
  text-align: center;
  margin-top: 20px;
}

.footer-copyright p {
  font-family: 'Quantico', sans-serif;
  font-size: 12px;
  font-weight: 400;
  margin: 0;
  opacity: 0.7;
}

#footer-animation-bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 200px;
  opacity: 0.2;
  pointer-events: none;
  z-index: -1;
}

/* Секция вакансий */
.vacancies-section {
  position: relative;
  padding: 60px 0;
  z-index: 5;
}

.vacancies-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.vacancy-card {
  width: 300px;
  min-height: 350px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 20px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vacancy-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.light-theme .vacancy-card {
  background: linear-gradient(135deg, rgba(200, 200, 200, 0.2), rgba(150, 150, 150, 0.1));
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.light-theme .vacancy-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.dark-theme .vacancy-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
}

.vacancy-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

.dark-theme .vacancy-card h3 {
  color: #f7f6f5;
}

.vacancy-card p {
  font-family: 'Quantico', sans-serif;
  font-size: 14px;
  font-weight: 400;
  margin: 0 0 15px 0;
  opacity: 0.9;
}

.vacancy-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.vacancy-card ul li {
  font-family: 'Quantico', sans-serif;
  font-size: 13px;
  font-weight: 400;
  margin: 5px 0;
  opacity: 0.8;
}

.apply-link {
  font-family: 'Quantico', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #c4a484;
  text-decoration: none;
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid #c4a484;
  border-radius: 5px;
  transition: background 0.3s ease, color 0.3s ease;
}

.apply-link:hover {
  background: #c4a484;
  color: #070708;
}

.light-theme .apply-link {
  color: #333333;
  border-color: #333333;
}

.light-theme .apply-link:hover {
  background: #333333;
  color: #ffffff;
}

/* Стили модального окна */
.auth-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.auth-modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  width: 400px;
  padding: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
  transition: transform 0.3s ease;
  transform: scale(0.9);
}

.auth-modal.active .modal-content {
  transform: scale(1);
}

.light-theme .modal-content {
  background: linear-gradient(135deg, rgba(200, 200, 200, 0.3), rgba(150, 150, 150, 0.2));
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.modal-tabs {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 10px 20px;
  border: none;
  background: none;
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: inherit;
  cursor: pointer;
  transition: color 0.3s ease;
}

.tab-btn.active {
  color: #c4a484;
  border-bottom: 2px solid #c4a484;
}

.light-theme .tab-btn.active {
  color: #333333;
  border-bottom: 2px solid #333333;
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 15px;
}

.auth-form.active {
  display: flex;
}

.avatar-section {
  text-align: center;
  margin-bottom: 20px;
}

.avatar-preview {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  cursor: pointer;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.light-theme .avatar-preview {
  border: 2px solid rgba(0, 0, 0, 0.2);
}

label {
  font-family: 'Quantico', sans-serif;
  font-size: 14px;
  font-weight: 700;
  opacity: 0.9;
}

.dark-theme label {
  color: #c4a484;
}

.light-theme label {
  color: #333333;
}

input {
  width: 100%;
  padding: 10px;
  font-family: 'Quantico', sans-serif;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  outline: none;
  transition: border-color 0.3s ease;
}

.light-theme input {
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.2);
}

input:focus {
  border-color: #c4a484;
}

.light-theme input:focus {
  border-color: #333333;
}

.apply-link {
  font-family: 'Quantico', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #c4a484;
  text-decoration: none;
  padding: 8px 20px;
  border: 1px solid #c4a484;
  border-radius: 5px;
  background: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  text-align: center;
}

.apply-link:hover {
  background: #c4a484;
  color: #070708;
}

.light-theme .apply-link {
  color: #333333;
  border-color: #333333;
}

.light-theme .apply-link:hover {
  background: #333333;
  color: #ffffff;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #c4a484;
  transition: color 0.3s ease;
}

.light-theme .modal-close {
  color: #333333;
}

.modal-close:hover {
  color: #f7f6f5;
}

.light-theme .modal-close:hover {
  color: #666666;
}