/* ==================== */
/* ПЕРЕМЕННЫЕ */
/* ==================== */
:root {
  --black: #0a0a0a;
  --black-light: #1a1a1a;
  --black-medium: #2a2a2a;
  --yellow: #feaf2e;
  --yellow-dark: #e08c0a;
  --yellow-light: #ffc966;
  --white: #ffffff;
  --gray: #888888;
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}
body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ==================== */
/* ПРЕЛОАДЕР */
/* ==================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s, visibility 0.5s;
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}
.preloader-content {
  text-align: center;
}
.preloader-logo {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 2rem;
  animation: pulse 1.5s infinite;
}
.preloader-logo .logo-r {
  color: var(--white);
}
.preloader-logo .logo-k {
  color: var(--yellow);
}
.preloader-bar {
  width: 200px;
  height: 3px;
  background: var(--black-medium);
  border-radius: 3px;
  overflow: hidden;
}
.preloader-progress {
  width: 0%;
  height: 100%;
  background: var(--yellow);
  animation: loading 2s ease forwards;
}
@keyframes loading {
  to {
    width: 100%;
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* ==================== */
/* ОБЩИЕ СТИЛИ */
/* ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.fullscreen-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  position: relative;
  padding: 6rem 2rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.section-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ==================== */
/* HERO СЕКЦИЯ */
/* ==================== */
.hero.fullscreen {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  background: var(--black);
}
.hero-bg-image {
  display: none;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.2) 0%,
    rgba(10, 10, 10, 0.6) 50%,
    rgba(10, 10, 10, 0.9) 100%
  );
  z-index: -1;
}
.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==================== */
/* ЛОГОТИП НА ГЛАВНОЙ - ПЛАВНОЕ ПОЯВЛЕНИЕ */
/* ==================== */
.hero-logo-wrapper {
  margin-bottom: 2rem;
  opacity: 0;
  animation: logoAppear 1.2s ease forwards;
}

.hero-logo {
  width: 270px;
  height: auto;
  max-width: 90vw;
  filter: drop-shadow(0 0 30px rgba(254, 175, 46, 0.3));
  animation: logoFloat 3s ease-in-out infinite 1.5s;
}

@keyframes logoAppear {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(25px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ==================== */
/* ЗАГОЛОВКИ HERO */
/* ==================== */
.hero-title {
  text-align: left;
  display: inline-block;
  margin-bottom: 1.5rem;
}
.title-line {
  display: block;
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  text-align: left;
  animation: fadeInUp 1s ease 0.2s both;
  color: var(--white);
}
.title-line.accent {
  color: var(--yellow);
  animation-delay: 0.4s;
}
.hero-subtitle {
  text-align: left;
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease 0.6s both;
  line-height: 1.6;
  max-width: 600px;
  padding-left: 22px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.8s both;
  width: 100%;
}
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  animation: bounce 2s infinite;
  z-index: 1;
}
.scroll-hint span {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.scroll-hint svg {
  width: 24px;
  height: 24px;
  fill: var(--yellow);
}

/* ==================== */
/* АНИМАЦИИ */
/* ==================== */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== */
/* БУРГЕР-МЕНЮ */
/* ==================== */
.burger-menu {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 2000;
  width: 40px;
  height: 40px;
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid rgba(254, 175, 46, 0.3);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: left 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), background 0.5s ease,
    border-color 0.5s ease;
  backdrop-filter: blur(10px);
}
.burger-menu:hover {
  border-color: var(--yellow);
  box-shadow: 0 0 20px rgba(254, 175, 46, 0.2);
}
.burger-menu span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  margin: 2px 0;
  transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.burger-menu.active {
  left: 360px;
  background: var(--yellow);
  border-color: var(--yellow);
}
.burger-menu.active span {
  background: var(--black);
}
.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.burger-menu.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}
.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}
.burger-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1499;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
    visibility 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  backdrop-filter: blur(2px);
}
.burger-overlay.active {
  opacity: 1;
  visibility: visible;
}
.side-nav {
  position: fixed;
  top: 0;
  left: -350px;
  width: 340px;
  height: 100vh;
  height: 100dvh;
  background: var(--black-light);
  z-index: 1500;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: left 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  border-right: 1px solid rgba(254, 175, 46, 0.15);
  overflow-y: auto;
}
.side-nav.active {
  left: 0;
}
.side-nav-header {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding-bottom: 1.5rem;
  padding-right: 0;
  border-bottom: 1px solid rgba(254, 175, 46, 0.15);
  margin-bottom: 1.5rem;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
}
.side-nav-header span {
  margin-left: -8px;
  color: var(--white);
  line-height: 1.2;
}
.side-nav-header span span {
  margin-left: 0;
  color: #feaf2e;
}
.side-logo {
  width: 80px;
  height: auto;
  max-width: 100%;
  flex-shrink: 0;
}
.side-nav-menu {
  list-style: none;
  flex: 1;
}
.side-nav-menu li {
  margin-bottom: 0.3rem;
}
.side-nav-menu a {
  display: flex;
  align-items: center;
  padding: 0.9rem 1rem;
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s var(--transition);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}
.side-nav-menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: #feaf2e;
  border-radius: 0 3px 3px 0;
  transition: height 0.3s var(--transition);
}
.side-nav-menu a:hover,
.side-nav-menu a.active {
  background: rgba(254, 175, 46, 0.08);
  color: #feaf2e;
}
.side-nav-menu a:hover::before,
.side-nav-menu a.active::before {
  height: 60%;
}

/* ==================== */
/* AUTH FLOAT */
/* ==================== */
.auth-float {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

/* ==================== */
/* СЕКЦИОННЫЕ ТОЧКИ */
/* ==================== */
.section-dots {
  position: fixed;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.3s var(--transition);
  border: 2px solid transparent;
}
.dot:hover {
  background: rgba(254, 175, 46, 0.5);
  border-color: rgba(254, 175, 46, 0.3);
  transform: scale(1.3);
}
.dot.active {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: scale(1.5);
  box-shadow: 0 0 15px rgba(254, 175, 46, 0.4);
}

/* ==================== */
/* КНОПКИ */
/* ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.btn-primary {
  background: var(--yellow);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--yellow-light);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(254, 175, 46, 0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--yellow);
  border: 2px solid var(--yellow);
}
.btn-secondary:hover {
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(254, 175, 46, 0.2);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.6rem 1.5rem;
  font-size: 0.8rem;
}
.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(254, 175, 46, 0.05);
}
.btn-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.3s;
}
.btn:hover .btn-icon {
  transform: translateX(5px);
}

/* ==================== */
/* СЕКЦИИ */
/* ==================== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title {
  font-size: 2.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  color: var(--white);
}
.section-line {
  width: 70px;
  height: 3px;
  background: var(--yellow);
  margin: 0 auto;
}

/* ==================== */
/* О ДВИЖЕНИИ */
/* ==================== */
.about {
  background: linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.85)),
    url("../assets/move.png") center/cover no-repeat;
  background-attachment: fixed;
}
.about-grid-compact {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.about-quote {
  position: relative;
  padding: 2rem;
  margin-bottom: 2.5rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(254, 175, 46, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(5px);
}
.quote-icon {
  width: 40px;
  height: 40px;
  fill: var(--yellow);
  margin-bottom: 1rem;
  opacity: 0.7;
}
.about-quote p {
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1.8;
  font-style: italic;
  text-align: justify;
}
.highlight-yellow {
  color: var(--yellow);
  font-weight: 700;
}
.values-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}
.value-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(254, 175, 46, 0.15);
  padding: 1.8rem 1rem;
  text-align: center;
  border-radius: 10px;
  transition: all 0.4s var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
}
.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(254, 175, 46, 0.05) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s;
}
.value-card:hover {
  transform: translateY(-8px);
  border-color: var(--yellow);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}
.value-card:hover::before {
  opacity: 1;
}
.value-icon {
  width: 55px;
  height: 55px;
  margin: 0 auto 1rem;
  background: rgba(254, 175, 46, 0.08);
  border: 1px solid rgba(254, 175, 46, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  overflow: hidden;
}
.value-icon img {
  width: 65%;
  height: 65%;
  object-fit: contain;
  border-radius: 0;
}
.value-card:hover .value-icon {
  background: rgba(254, 175, 46, 0.15);
  border-color: var(--yellow);
  transform: scale(1.1);
}
.value-card h3 {
  font-size: 1rem;
  color: var(--yellow);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.value-card p {
  color: var(--gray);
  font-size: 0.85rem;
}
.about-mission-simple {
  max-width: 700px;
  margin: 3rem auto 0;
  text-align: center;
}
.about-mission-simple p {
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1.8;
}
.mission-divider {
  width: 60px;
  height: 2px;
  background: var(--yellow);
  margin: 1.5rem auto;
}
.mission-friend {
  font-size: 1.3rem !important;
  font-weight: 600;
}

/* ==================== */
/* ДЕЯТЕЛЬНОСТЬ */
/* ==================== */
.activities {
  background: var(--black);
}
.activities-grid-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  perspective: 1000px;
}
.activity-card-new {
  height: 220px;
  cursor: pointer;
}
.activity-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.activity-card-new:hover .activity-card-inner {
  transform: rotateY(180deg);
}
.activity-front,
.activity-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border: 1px solid rgba(254, 175, 46, 0.15);
}
.activity-front {
  background: var(--black-light);
  gap: 1rem;
}
.activity-back {
  background: var(--black-medium);
  transform: rotateY(180deg);
  border-color: var(--yellow);
}
.activity-icon-large {
  width: 70px;
  height: 70px;
  background: rgba(254, 175, 46, 0.08);
  border: 1px solid rgba(254, 175, 46, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  overflow: hidden;
}
.activity-icon-large img {
  width: 65%;
  height: 65%;
  object-fit: contain;
  border-radius: 0;
}
.activity-front h3 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
}
.activity-back p {
  color: #cccccc;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==================== */
/* МАНИФЕСТ */
/* ==================== */
.manifesto-section {
  background: linear-gradient(rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0.88)),
    url("../assets/manifesto.png") center/cover no-repeat;
  background-attachment: fixed;
}
.manifesto-preview {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-devis {
  font-size: 2rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 2rem;
  letter-spacing: 1px;
}
.manifesto-quote-box {
  max-width: 700px;
  margin: 0 auto 2rem;
  padding: 2.5rem;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(254, 175, 46, 0.25);
  border-radius: 15px;
  position: relative;
  backdrop-filter: blur(5px);
}
.manifesto-quote-box::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}
.manifesto-quote-box::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}
.manifesto-quote-box p {
  color: var(--white);
  font-size: 1.15rem;
  line-height: 1.9;
  text-align: center;
  font-style: italic;
}

/* ==================== */
/* КОМАНДА */
/* ==================== */
.team {
  background: var(--black);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  max-width: 900px;
  margin: 0 auto;
}
.team-card {
  text-align: center;
}
.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 3px solid rgba(254, 175, 46, 0.2);
  transition: all 0.4s var(--transition);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black-medium);
  color: var(--yellow);
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 2px;
}
.team-card:hover .team-photo {
  border-color: var(--yellow);
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(254, 175, 46, 0.2);
}
.team-card h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.team-role {
  color: var(--yellow);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ==================== */
/* ВСТУПИТЬ */
/* ==================== */
.join {
  background: linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.85)),
    url("../assets/join.png") center/cover no-repeat;
  background-attachment: fixed;
}
.join-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 3rem;
  border-radius: 15px;
  border: 1px solid rgba(254, 175, 46, 0.2);
  backdrop-filter: blur(5px);
}
.join-logo {
  width: 120px;
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 20px rgba(254, 175, 46, 0.3));
}
.join-content > p {
  color: var(--gray);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.scroll-to-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--gray);
  text-decoration: none;
  font-size: 0.85rem;
  margin-top: 3rem;
  transition: color 0.3s;
  animation: bounce 2s infinite;
}
.scroll-to-footer svg {
  width: 20px;
  height: 20px;
  fill: var(--yellow);
}
.scroll-to-footer:hover {
  color: var(--yellow);
}

/* ==================== */
/* ФУТЕР */
/* ==================== */
.footer {
  background: var(--black);
  padding: 3rem 0;
  border-top: 1px solid rgba(254, 175, 46, 0.1);
  scroll-snap-align: end;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-info p {
  color: var(--gray);
  font-size: 0.85rem;
}
.footer-studio {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  color: var(--gray);
}
.studio-text {
  color: #999;
  font-family: "Montserrat", sans-serif;
}
.studio-link {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: #c9a96e;
  transition: color 0.3s ease;
}
.studio-link:hover {
  color: #e0c080;
}
.studio-logo {
  width: 37px;
  height: 37px;
  object-fit: contain;
}
.studio-name {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: normal;
  letter-spacing: 0.3px;
  color: #c9a96e;
}

/* ==================== */
/* МОДАЛЬНОЕ ОКНО АВТОРИЗАЦИИ */
/* ==================== */
.modal {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(5px);
}
.modal-content {
  background: #0e0e0e;
  margin: 8% auto;
  padding: 2.5rem;
  border: 1px solid rgba(254, 175, 46, 0.3);
  width: 90%;
  max-width: 450px;
  position: relative;
  border-radius: 15px;
  animation: modalIn 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}
@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.close-modal {
  position: absolute;
  right: 1.2rem;
  top: 1.2rem;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--white);
  transition: color 0.3s;
  line-height: 1;
}
.close-modal:hover {
  color: #feaf2e;
}
.auth-forms h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.5rem;
}
.auth-forms form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.input-group {
  position: relative;
  margin-bottom: 0.3rem;
}
.input-group input {
  width: 100%;
  padding: 0.9rem;
  background: var(--black);
  border: 1px solid rgba(254, 175, 46, 0.2);
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  outline: none;
  border-radius: 8px;
  transition: border-color 0.3s;
}
.input-group input:focus {
  border-color: #feaf2e;
}
.input-group label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  pointer-events: none;
  transition: all 0.3s;
  font-size: 0.9rem;
}
.input-group input:focus ~ label,
.input-group input:valid ~ label {
  top: 0;
  font-size: 0.75rem;
  background: var(--black-light);
  padding: 0 0.5rem;
  color: #feaf2e;
}
.auth-forms p {
  text-align: center;
  color: var(--gray);
  margin-top: 1.2rem;
  font-size: 0.9rem;
}
.auth-forms p a {
  color: #feaf2e;
  text-decoration: none;
  font-weight: 600;
}
.auth-forms p a:hover {
  text-decoration: underline;
}

/* ==================== */
/* ПРОФИЛЬ МОДАЛЬНОЕ ОКНО */
/* ==================== */
.profile-modal {
  display: none !important;
  position: fixed !important;
  z-index: 99999 !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: none !important;
  backdrop-filter: none !important;
}

.profile-modal.show {
  display: block !important;
}

.profile-modal .modal-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.7) !important;
  backdrop-filter: blur(4px) !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

.profile-modal .modal-overlay.active {
  opacity: 1 !important;
}

.profile-modal-content {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(0.92) !important;
  background: #1a1a1a !important;
  border: 1px solid rgba(254, 175, 46, 0.15) !important;
  border-radius: 16px !important;
  padding: 40px 35px 30px !important;
  width: 90% !important;
  max-width: 380px !important;
  text-align: center !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8) !important;
  position: relative !important;
  opacity: 0 !important;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
  z-index: 100000 !important;
}

.profile-modal-content.active {
  opacity: 1 !important;
  transform: translate(-50%, -50%) scale(1) !important;
}

.profile-modal-close {
  position: absolute !important;
  right: 14px !important;
  top: 10px !important;
  background: none !important;
  border: none !important;
  color: #666 !important;
  font-size: 22px !important;
  cursor: pointer !important;
  transition: color 0.3s !important;
  line-height: 1 !important;
  padding: 4px 8px !important;
  z-index: 10 !important;
}

.profile-modal-close:hover {
  color: #feaf2e !important;
}

.profile-modal-avatar {
  position: relative !important;
  width: 100px !important;
  height: 100px !important;
  margin: 0 auto 16px !important;
}

.profile-modal-avatar img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 3px solid rgba(254, 175, 46, 0.25) !important;
}

.profile-modal-avatar-edit {
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;
  background: #feaf2e !important;
  color: #000 !important;
  border: none !important;
  border-radius: 50% !important;
  width: 30px !important;
  height: 30px !important;
  cursor: pointer !important;
  transition: transform 0.3s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.profile-modal-avatar-edit:hover {
  transform: scale(1.1) !important;
}

.profile-modal-avatar-edit input {
  display: none !important;
}

.profile-modal-avatar-edit svg {
  fill: #000 !important;
  width: 16px !important;
  height: 16px !important;
}

.profile-modal-name {
  font-size: 20px !important;
  color: #feaf2e !important;
  font-weight: 600 !important;
  margin-bottom: 2px !important;
}

.profile-modal-email {
  color: #666 !important;
  font-size: 13px !important;
  margin-bottom: 10px !important;
}

.profile-modal-role {
  display: inline-block !important;
  padding: 3px 14px !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #888 !important;
  margin-bottom: 20px !important;
}

.profile-modal-role.admin {
  background: rgba(254, 175, 46, 0.15) !important;
  color: #feaf2e !important;
}

.profile-modal-stats {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
  padding: 16px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  margin-bottom: 20px !important;
}

.profile-modal-stat {
  text-align: center !important;
}

.profile-modal-stat-value {
  display: block !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #feaf2e !important;
}

.profile-modal-stat-label {
  font-size: 11px !important;
  color: #555 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.profile-modal-logout {
  width: 100% !important;
  padding: 10px !important;
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: all 0.3s !important;
}

.profile-modal-logout:hover {
  border-color: rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

/* ==================== */
/* УВЕДОМЛЕНИЯ */
/* ==================== */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 2rem;
  border-radius: 8px;
  color: white;
  z-index: 4000;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.3s var(--transition);
  font-weight: 500;
  backdrop-filter: blur(10px);
}
.notification.show {
  opacity: 1;
  transform: translateX(0);
}
.notification-success {
  background: rgba(40, 167, 69, 0.9);
}
.notification-error {
  background: rgba(220, 53, 69, 0.9);
}

/* ==================== */
/* AOS АНИМАЦИИ */
/* ==================== */
[data-aos] {
  opacity: 0;
  transition: all 0.8s var(--transition);
}
[data-aos].aos-animate {
  opacity: 1;
}
[data-aos="fade-up"] {
  transform: translateY(50px);
}
[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}
[data-aos="fade-right"] {
  transform: translateX(-50px);
}
[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}
[data-aos="fade-left"] {
  transform: translateX(50px);
}
[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}
[data-aos="zoom-in"] {
  transform: scale(0.8);
}
[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
}

/* ==================== */
/* СКРОЛЛБАР */
/* ==================== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--black);
}
::-webkit-scrollbar-thumb {
  background: var(--yellow);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--yellow-light);
}

/* ==================== */
/* ФОНОВЫЕ СЛОИ */
/* ==================== */
.about-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/move.png") center/cover no-repeat;
  z-index: 0;
}
.about-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.85);
}
.manifesto-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/manifesto.png") center/cover no-repeat;
  z-index: 0;
}
.manifesto-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.88);
}
.join-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/join.png") center/cover no-repeat;
  z-index: 0;
}
.join-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.85);
}
.about .section-inner,
.manifesto-section .section-inner,
.join .section-inner {
  position: relative;
  z-index: 1;
}

/* ==================== */
/* АДАПТИВ */
/* ==================== */
@media (max-width: 1024px) {
  .title-line {
    font-size: 3.5rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .team-grid {
    gap: 2rem;
  }
  .team-photo {
    width: 170px;
    height: 170px;
  }
  .activities-grid-new {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .hero-logo {
    width: 220px;
  }
}
@media (max-width: 768px) {
  .burger-menu {
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
  }
  .burger-menu span {
    width: 16px;
    margin: 1.5px 0;
  }
  .burger-menu.active {
    left: 300px;
  }
  .burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
  }
  .burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
  }
  .side-nav {
    width: 280px;
    left: -280px;
    padding: 1.5rem 1.2rem;
  }
  .side-nav-header {
    padding-right: 0;
  }
  .side-logo {
    width: 60px;
  }
  .section-dots {
    right: 5px;
    gap: 10px;
  }
  .dot {
    width: 8px;
    height: 8px;
  }
  .hero-logo {
    width: 200px;
  }
  .title-line {
    font-size: 2.8rem;
  }
  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .values-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .value-card {
    padding: 1.3rem 0.8rem;
  }
  .activities-grid-new {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .activity-card-new {
    height: 180px;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 300px;
  }
  .team-photo {
    width: 160px;
    height: 160px;
  }
  .fullscreen-section {
    padding: 4rem 1rem;
  }
  .auth-float {
    top: 12px;
    right: 12px;
  }
  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.8rem;
  }
  .mission-friend {
    font-size: 1.1rem !important;
  }
  .join-logo {
    width: 80px;
  }
  .join-content {
    padding: 2rem;
  }
  .manifesto-devis {
    font-size: 1.5rem;
  }
  .manifesto-quote-box {
    padding: 1.5rem;
  }
  .manifesto-quote-box p {
    font-size: 1rem;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .profile-modal-content {
    padding: 30px 20px 25px;
    max-width: 340px;
  }
  .profile-modal-avatar {
    width: 80px;
    height: 80px;
  }
  .profile-modal-name {
    font-size: 18px;
  }
  .profile-modal-stat-value {
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .burger-menu {
    top: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
  }
  .burger-menu span {
    width: 14px;
    margin: 1.5px 0;
  }
  .burger-menu.active {
    left: 260px;
  }
  .burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
  }
  .burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
  }
  .side-nav {
    width: 240px;
    left: -240px;
  }
  .title-line {
    font-size: 2rem;
  }
  .hero-logo {
    width: 160px;
  }
  .hero-subtitle {
    font-size: 0.85rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .values-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  .value-card {
    padding: 1rem 0.5rem;
  }
  .value-icon {
    width: 45px;
    height: 45px;
  }
  .activity-icon-large {
    width: 50px;
    height: 50px;
  }
  .value-card h3 {
    font-size: 0.8rem;
  }
  .value-card p {
    font-size: 0.7rem;
  }
  .section-title {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }
  .activities-grid-new {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }
  .activity-card-new {
    height: 150px;
  }
  .activity-front h3 {
    font-size: 0.9rem;
  }
  .activity-back p {
    font-size: 0.8rem;
  }
  .manifesto-devis {
    font-size: 1.3rem;
  }
  .join-content {
    padding: 1.5rem;
  }
  .mission-friend {
    font-size: 1rem !important;
  }
  .profile-modal-content {
    padding: 25px 16px 20px;
  }
  .profile-modal-avatar {
    width: 70px;
    height: 70px;
  }
  .profile-modal-name {
    font-size: 16px;
  }
  .profile-modal-stats {
    gap: 10px;
  }
  .profile-modal-stat-value {
    font-size: 16px;
  }
}
