/* RESET */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

ul { list-style: none; }
a { text-decoration: none; }

/* VARIABLES */
:root {
  --bg-dark: #101029;
  --bg-card: #171731;
  --bg-footer: #141428;
  --text-light: #fff;
  --text-muted: #ffffff;
  --accent: #8d4acd;
}

/* GLOBAL */
body {
  background: var(--bg-dark);
  color: var(--text-light);
   padding-top: 90px;  
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: transparent; /* сам фон прозрачный */
  z-index: 1000;
  display: flex;
  justify-content: center; /* чтобы .header-inner был по центру */
  align-items: center;
  width: calc(100% - 17px);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  border-radius: 12px;
  padding: 0.8em 1.5em;
  border: 1px solid rgba(255,255,255,0.1);
  width: 90%;
  max-width: 1200px;
}

.logo {
  font-weight: 800;
  font-size: 1.2em;
  color: var(--accent);
}

.nav ul {
  display: flex;
  gap: 1.5em;
}

.nav a {
  color: var(--text-light);
  font-weight: 600;
  transition: color 0.2s;
}

.nav a.active,
.nav a:hover {
  color: var(--accent);
}

.btn-primary {
  padding: 0.5em 1.2em;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--text-light);
  font-weight: 600;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--accent);
}

/* CONTENT */
.content {
  text-align: center;
  padding: 4em 1em;
}

/* FOOTER */
.site-footer {
  background: var(--bg-footer);
  padding: 3em 1em 2em;
  margin-top: 4em;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;   /* вместо 50% */
  transform: none; /* убираем центрирование */
  width: 100%;     /* на всю ширину */
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 12px var(--accent), 0 0 24px var(--accent);
  border-radius: 3px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2em;
  margin-bottom: 2em;
}

.footer-brand .logo {
  color: var(--accent);
  margin-bottom: 0.5em;
}

.footer-brand ul {
  display: flex;
  gap: 1em;
}

.footer-subscribe form {
  display: flex;
  gap: 0.5em;
}

.footer-subscribe input {
  padding: 0.6em;
  border-radius: 6px;
  border: 1px solid #333;
  background: #1f1f3b;
  color: var(--text-light);
}

.footer-subscribe button {
  padding: 0.6em 1em;
  border: none;
  border-radius: 6px;
  background: var(--accent);
  color: var(--text-light);
  font-weight: 600;
  cursor: pointer;
}

.footer-subscribe button:hover {
  opacity: 0.9;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2em;
  margin-bottom: 2em;
}

.contact p {
  font-size: 0.9em;
  color: var(--text-muted);
}

.agreements {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}

.agreements a {
  font-size: 0.9em;
  color: var(--text-muted);
}

.agreements a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  font-size: 0.85em;
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1em;
}
.nav a {
  position: relative;
  display: inline-block;
  padding: 0.6em 1em;
  font-weight: 600;
  color: var(--text-light);
  overflow: hidden;
  transition: color 0.3s ease;
}

.nav a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 3px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent), 0 0 15px var(--accent);
  transition: transform 0.3s ease-in-out;
  border-radius: 2px;
}

.nav a:hover {
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent), 0 0 15px var(--accent);
}

.nav a:hover::before {
  transform: translateX(-50%) scaleX(1);
}
#subscribe-message {
  margin-top: 0.8em;
  font-size: 0.9em;
  color: var(--accent);
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.hidden {
  opacity: 0;
  visibility: hidden;
}

.visible {
  opacity: 1;
  visibility: visible;
}
/* гамбургер скрыт по умолчанию */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.8em;
  cursor: pointer;
  z-index: 1100;
}

/* адаптив */
@media (max-width: 768px) {
  .header-inner {
    justify-content: space-between;
    align-items: center;
  }

  .menu-toggle {
    display: block;
  }

  /* меню-оверлей */
  .nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    max-width: 280px;
    height: 100vh;
    background: var(--bg-card);
    padding: 4em 2em;
    transition: left 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 1.2em;
    z-index: 1000;
  }

  .nav.active {
    left: 0;
  }

  .nav ul {
    flex-direction: column;
    gap: 1em;
  }

  .btn-primary {
    margin-top: 2em;
    width: 100%;
    text-align: center;
  }
}


/* HERO */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 1;
  margin-top: -90px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  animation: zoom 12s ease-in-out infinite;
}
@keyframes zoom {
  0%, 100% {
    transform: scale(1);    /* нормальное состояние */
  }
  50% {
    transform: scale(1.1);  /* лёгкое приближение */
  }
}
/* затемнение фото */
.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4); /* 0.2-0.7 регулируй затемнение */
  z-index: -1;
}

/* текст */
.hero-text {
  text-align: center;
  color: #fff;
  max-width: 1400px;
  padding: 1em;
}

.hero-text h1 {
  font-size: 3em;
  font-weight: 800;
  margin-bottom: 0.8em;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.2em;
  margin-bottom: 1.5em;
}

/* кнопка */
.btn-primary.big {
  padding: 0.9em 1.8em;
  font-size: 1em;
}

/* адаптив */
@media (max-width: 768px) {
  .hero {
    padding: 100px 1em 40px; /* чуть меньше отступов */
  }

  .hero-text h1 { font-size: 1.8em; }
  .hero-text p { font-size: 1em; }
  .btn-primary.big { padding: 0.7em 1.2em; font-size: 0.9em; }
}
/* PROGRESS INSIDE HERO */
.progress-section {
  margin-top: 3em;
  text-align: center;
  color: #fff;
}

.progress-section h2 {
  font-size: 1.4em;
  margin-bottom: 2em;
}

.progress-cards {
  display: flex;
  justify-content: center;
  gap: 2em;
  flex-wrap: wrap;
}

.progress-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.5em;
  width: 280px;
  position: relative;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.progress-card h3 {
  font-size: 1em;
  margin-bottom: 1em;
}

.progress-bar {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  height: 6px;
  overflow: hidden;
  margin-bottom: 0.5em;
}

.progress-fill {
  background: var(--accent);
  height: 100%;
  transition: width 1s ease;
}

.progress-value {
  position: absolute;
  top: 1.5em;
  right: 1.5em;
  font-size: 0.9em;
  color: var(--text-light);
  opacity: 0.9;
}

/* адаптив */
@media (max-width: 768px) {
  .progress-cards {
    flex-direction: column;
    align-items: center;
  }

  .progress-card {
    width: 100%;
    max-width: 350px;
  }
}
/* FEATURES SECTION */
.features {
  text-align: center;
  padding: 4em 1em;
}

.features h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
}

.features .highlight {
  color: var(--accent);
}

.features .subtitle {
  color: var(--text-muted);
  margin-bottom: 3em;
  font-size: 1.1em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2em;
}

.feature-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 2em 1.5em;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
}

.feature-card h3 {
  margin-bottom: 1em;
  font-size: 1.2em;
}

.feature-card p {
  font-size: 0.95em;
  color: var(--text-muted);
  margin-bottom: 1.5em;
}

.btn-primary.small {
  padding: 0.5em 1.2em;
  font-size: 0.85em;
  margin-bottom: 1.2em;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.btn-primary.small:hover {
  opacity: 0.85;
}

/* Слайдер внутри карточки */
.card-slider {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
}

.card-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;         /* растянуть по высоте блока */
  object-fit: cover;    /* обрезает лишнее, без искажений */
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.card-slider img.active {
  opacity: 1;
  position: relative; /* чтобы активная картинка была поверх */
}

/* адаптив */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}
/* CIRCLE SLIDER */
.circle-slider {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5em 1em;
  background: var(--bg-dark);
  position: relative;
}

.slider-wrapper {
  display: flex;
  align-items: center;
  gap: 2em;
}

.slider-content {
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2em;
  position: relative;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  overflow: hidden;
}

.slide {
  position: absolute;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.5s ease-in-out;
  color: var(--text-light);
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  position: relative;
}

.slide i {
  color: var(--accent);
  margin-bottom: 1em;
}

.slide h3 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

.slide p {
  font-size: 0.95em;
  color: var(--text-muted);
}

.slider-btn {
  width: 50px;
  height: 50px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: transparent;
  color: var(--accent);
  font-size: 1.2em;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.slider-btn:hover {
  background: var(--accent);
  color: #fff;
}

/* =====================
   Адаптив
===================== */

/* планшеты */
@media (max-width: 992px) {
  .slider-wrapper {
    flex-direction: column;
    gap: 1.5em;
  }

  .slider-btn {
    position: static;
    width: 45px;
    height: 45px;
  }

  .slider-content {
    width: 320px;
    height: 320px;
  }
}

/* телефоны */
@media (max-width: 768px) {
  .slider-content {
    width: 260px;
    height: 260px;
    padding: 1.2em;
  }

  .slide h3 { font-size: 1em; }
  .slide p { font-size: 0.85em; }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1em;
  }
}

/* очень маленькие экраны */
@media (max-width: 480px) {
  .slider-content {
    width: 220px;
    height: 220px;
  }

  .slide h3 { font-size: 0.9em; }
  .slide p { font-size: 0.75em; }
}
/* INFO SECTION */
.info-section {
  width: 90%;           /* ширина секции */
  max-width: 1600px;    /* максимальная ширина (можно больше чем у .container) */
  margin: 0 auto;       /* центрируем */
  padding: 4em 1em;
  display: flex;
  flex-direction: column;
  gap: 4em;
}

.info-block {
  display: flex;
  align-items: center;
  gap: 3em;
}

.info-block.reverse {
  flex-direction: row-reverse;
}

.info-text {
  flex: 1;
  color: var(--text-light);
}

.info-text h3 {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 1em;
}

.info-text p {
  font-size: 0.95em;
  color: var(--text-muted);
  margin-bottom: 1em;
  line-height: 1.6;
}

.info-img {
  flex: 1;
}

.info-img img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* адаптив */
@media (max-width: 992px) {
  .info-block {
    flex-direction: column;
    text-align: center;
  }

  .info-block.reverse {
    flex-direction: column;
  }

  .info-img {
    order: -1; /* картинка наверху на мобилке */
  }
}
/* AUDIENCE SECTION */
.audience-section {
  padding: 5em 1em;
  background: var(--bg-dark);
  text-align: center;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3em;
  max-width: 1800px;
  margin: 0 auto;
}

.audience-card {
  position: relative;
  padding-top: 2em;
}

.audience-card .dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
}

.audience-card .dot::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 30px;
  background: var(--accent);
}

.audience-card h3 {
  margin-top: 2.5em;
  font-size: 1.2em;
  font-weight: 700;
}

.audience-card p {
  margin-top: 0.5em;
  font-size: 0.95em;
  color: var(--text-muted);
}

/* адаптив */
@media (max-width: 992px) {
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 2em;
  }
}
.testimonials-modern {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3em;
  padding: 4em 2em;
  background: var(--bg-dark);
  color: var(--text-light);
}

/* левая часть */
.testimonial-intro {
  background: var(--bg-card);
  padding: 2em;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}
.testimonial-intro img {
  width: 120px;
  height: 120px;
  border-radius: 100%;           /* круглое фото */
  object-fit: cover;            /* аккуратное кадрирование */
  margin-bottom: 20px;
  border: 3px solid #8d4acd;    /* рамка в цвет акцента */
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.testimonial-intro h2 {
  font-size: 1.8em;
  margin-bottom: 1em;
}

.testimonial-intro p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* правая часть (слайдер) */
.testimonial-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-item {
  flex: 0 0 100%;
  background: var(--bg-card);
  padding: 2em;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

/* аватар (иконка) */
.testimonial-item .avatar.icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.5em;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* текст */
.testimonial-item h3 {
  margin: 0;
  font-size: 1.2em;
}

.testimonial-item span {
  display: block;
  font-size: 0.9em;
  color: var(--accent);
  margin-bottom: 1em;
}

.testimonial-item p {
  font-size: 0.95em;
  color: var(--text-muted);
  line-height: 1.5;
}

/* точки */
.dots {
  text-align: center;
  margin-top: 1.5em;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: var(--accent);
}

/* --- Адаптив --- */

/* Планшет */
@media (max-width: 1199px) {
  .testimonials-modern {
    grid-template-columns: 1fr; /* в колонку */
    gap: 2em;
  }

  .testimonial-intro {
    text-align: center;
    align-items: center;
  }

  .testimonial-intro h2 {
    font-size: 1.6em;
  }

  .testimonial-item {
    padding: 1.5em;
  }
}

/* Мобилка */
@media (max-width: 768px) {
  .testimonials-modern {
    padding: 2em 1em;
  }

  .testimonial-intro {
    padding: 1.5em;
  }

  .testimonial-intro h2 {
    font-size: 1.4em;
  }

  .testimonial-intro p {
    font-size: 0.9em;
  }

  .testimonial-item h3 {
    font-size: 1em;
  }

  .testimonial-item p {
    font-size: 0.85em;
  }

  .testimonial-item .avatar.icon {
    width: 50px;
    height: 50px;
    font-size: 1.2em;
  }
}



.download-section {
  padding: 4em 2em;
  background: var(--bg-dark);
  color: var(--text-light);
}

/* верхняя часть */
.download-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3em;
  align-items: center;
  margin-bottom: 3em;
}

.download-content h2 {
  font-size: 2em;
  margin-bottom: 1em;
}

.download-content p {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 1.5em;
  color: var(--text-muted);
}

.store-buttons {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
}

.store-buttons img {
  height: 55px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.store-buttons img:hover {
  transform: scale(1.05);
}

.download-image img {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: block;
  border-radius: 25px;
  box-shadow: 0 0 25px rgba(0,0,0,0.5);
}

/* нижняя часть — статистика */
.download-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2em;
  text-align: center;
}

.stat-item i {
  font-size: 2em;
  color: var(--accent);
  margin-bottom: 0.5em;
}

.stat-item h3 {
  font-size: 1.6em;
  margin: 0.3em 0;
  color: var(--accent);
}

.stat-item p {
  font-size: 0.95em;
  color: var(--text-muted);
}

/* адаптив */
@media (max-width: 992px) {
  .download-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .store-buttons {
    justify-content: center;
  }

  .download-image img {
    margin-top: 2em;
  }

  .download-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .download-stats {
    grid-template-columns: 1fr;
  }
}

.big-text-section {
  position: relative;
  background: var(--bg-dark);
  padding: 6em 2em;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.big-text-container {
  max-width: 1000px;
  color: var(--text-light);
  position: relative;
  z-index: 2; /* текст поверх частиц */
}

/* Canvas с анимацией */
#particles {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Заголовок */
.animated-heading {
  font-size: 3em;
  font-weight: 800;
  margin-bottom: 1em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--text-light);
}

.animated-heading span {
  color: var(--accent);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 5px var(--accent), 0 0 10px var(--accent); }
  to   { text-shadow: 0 0 20px var(--accent), 0 0 40px var(--accent); }
}

/* Абзацы */
.big-text-container p {
  font-size: 1.2em;
  line-height: 1.8;
  margin-bottom: 1.5em;
  color: var(--text-muted);
}

/* Плавное появление */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}
.fade-in.delay-1 { animation-delay: 0.5s; }
.fade-in.delay-2 { animation-delay: 1s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* адаптив */
@media (max-width: 768px) {
  .animated-heading { font-size: 2em; }
  .big-text-container p { font-size: 1em; }
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-weight: 800;
  font-size: 1.2em;
  color: var(--accent);
}

.footer-brand .logo img {
  height: 40px; /* размер логотипа */
  width: auto;
  display: block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

#preloader p {
  font-size: 1.2em;
  letter-spacing: 2px;
  color: var(--accent);
  animation: blink 1.5s infinite;
}

@keyframes blink {
  50% { opacity: 0.5; }
}
.modes-section {
  padding: 4em 2em;
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-title {
  text-align: center;
  font-size: 2.2em;
  margin-bottom: 1.5em;
  color: var(--accent);
}

/* навигация */
.modes-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8em;
  margin-bottom: 2em;
}

.mode-tab {
  padding: 0.6em 1.2em;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.mode-tab.active,
.mode-tab:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 15px var(--accent);
}

/* карточки */
.modes-details {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  height: 500px; /* фиксируем высоту родителя, чтобы карточки не «прыгали» */
}

.mode-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex; /* для содержимого */
  gap: 1.5em;
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.5em;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);

  opacity: 0;
  pointer-events: none;
  transform: translateX(0); /* убираем стартовые сдвиги */
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mode-card.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0); /* гарантия, что карточка не смещается */
}


.mode-card img {
  width: 40%;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0; /* не сжимать картинку при рендере */
}


.mode-content {
  flex: 1;
}

.mode-content h3 {
  font-size: 1.6em;
  margin-bottom: 0.8em;
  color: var(--accent);
}

.mode-content p {
  margin-bottom: 1em;
  color: var(--text-muted);
  line-height: 1.6;
}

.mode-content ul {
  list-style: none;
  padding: 0;
}

.mode-content li {
  margin: 0.4em 0;
  font-size: 1em;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* адаптив */
@media (max-width: 768px) {
  .mode-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .mode-card img {
    width: 100%;
  }
}
.about-section {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 4em 2em;
  text-align: center;
}

/* Верхние блоки */
.about-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
  margin-bottom: 3em;
}

.about-box h3 {
  color: var(--accent);
  font-size: 1.4em;
  margin-bottom: 0.5em;
}

.about-box p {
  color: var(--text-muted);
  font-size: 1em;
  line-height: 1.6;
}

/* Центр */
.about-center h2 {
  font-size: 2em;
  margin-bottom: 1em;
  color: var(--accent);
}

.about-image {
  max-width: 1200px;
  margin: 0 auto 3em;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.about-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  
}

/* Статистика */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2em;
}

.stat h3 {
  font-size: 2.2em;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.3em;
}

.stat p {
  font-size: 0.95em;
  color: var(--text-muted);
}

/* адаптив */
@media (max-width: 992px) {
  .about-top {
    grid-template-columns: 1fr;
  }
  .about-stats {
    grid-template-columns: 2fr 2fr;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .about-stats {
    grid-template-columns: 1fr;
  }
}
.contact-section {
  padding: 6em 2em;
  background: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
  position: relative;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 12px var(--accent), 0 0 24px var(--accent);
}

.contact-section .section-title {
  font-size: 2.4em;
  margin-bottom: 1em;
  color: var(--accent);
}

.contact-intro {
  font-size: 1.1em;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 3em;
  line-height: 1.6;
}

.contact-info-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
  max-width: 1000px;
  margin: 0 auto 3em;
}

.contact-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 2em 1.5em;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
}

.contact-card i {
  font-size: 2em;
  color: var(--accent);
  margin-bottom: 0.8em;
}

.contact-card h3 {
  font-size: 1.3em;
  margin-bottom: 0.3em;
}

.contact-card p {
  color: var(--text-light);
  font-size: 1em;
  margin-bottom: 0.5em;
}

.contact-card .small-note {
  display: block;
  font-size: 0.85em;
  color: var(--text-muted);
}

.contact-footer {
  font-size: 1em;
  color: var(--text-muted);
}

.contact-footer a {
  color: var(--accent);
  font-weight: 600;
}

.contact-footer a:hover {
  text-shadow: 0 0 8px var(--accent), 0 0 15px var(--accent);
}

/* адаптив */
@media (max-width: 992px) {
  .contact-info-blocks {
    grid-template-columns: 1fr;
  }
}
/* GAME FEATURES SECTION */
.game-features {
  padding: 5em 2em;
  background: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
}

.game-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2em;
  margin-top: 3em;
}

.game-feature {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2em 1.5em;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  transition: transform 0.3s, box-shadow 0.3s;
}

.game-feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px var(--accent);
}

.game-feature i {
  font-size: 2.5em;
  color: var(--accent);
  margin-bottom: 1em;
}

.game-feature h3 {
  font-size: 1.3em;
  margin-bottom: 0.6em;
}

/* адаптив */
@media (max-width: 992px) {
  .game-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .game-features-grid {
    grid-template-columns: 1fr;
  }
}

/* WHY PLAY SECTION */
.why-play {
  padding: 6em 2em;
  background: linear-gradient(135deg, #15152f, #101029);
  text-align: center;
}

.why-cards {
  display: flex;
  justify-content: center;
  gap: 2em;
  flex-wrap: wrap;
  margin-top: 3em;
}

.why-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2.5em 2em;
  width: 300px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  transition: transform 0.3s, box-shadow 0.3s;
}

.why-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 0 30px var(--accent);
}

.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(141, 74, 205, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1em;
  box-shadow: 0 0 15px rgba(141, 74, 205, 0.5);
}

.icon-circle i {
  font-size: 2em;
  color: var(--accent);
}

.why-card h3 {
  font-size: 1.3em;
  margin-bottom: 0.5em;
}

.why-card p {
  font-size: 0.95em;
  color: var(--text-muted);
  line-height: 1.6;
}
/* TIMELINE SECTION */
.timeline-section {
  padding: 6em 2em;
  background: var(--bg-dark);
  color: var(--text-light);
  position: relative;
}

.timeline {
  position: relative;
  margin: 4em auto;
  max-width: 1900px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 2em;
}

.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }

.timeline-content {
  background: var(--bg-card);
  padding: 1.5em;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 30px;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent);
}

.timeline-item.left::before {
  right: -10px;
}

.timeline-item.right::before {
  left: -10px;
}

.timeline-content .date {
  display: block;
  font-size: 0.9em;
  color: var(--accent);
  margin-bottom: 0.5em;
  font-weight: 600;
}

/* адаптив */
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 20px;
  }

  .timeline-item.right { left: 0; }

  .timeline-item::before {
    left: 15px;
  }
}
.mastery-section {
  padding: 6em 2em;
  background: var(--bg-dark);
  color: var(--text-light);
}

.mastery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3em;
  align-items: start;
}

.mastery-left h2 {
  font-size: 2.4em;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1em;
}

.mastery-left .highlight {
  color: var(--accent);
}

.mastery-left p {
  color: var(--text-muted);
  margin-bottom: 1em;
  line-height: 1.7;
}

.learn-more {
  font-weight: 600;
  color: var(--accent);
  transition: text-shadow 0.3s;
}

.learn-more:hover {
  text-shadow: 0 0 8px var(--accent), 0 0 15px var(--accent);
}

.mastery-right {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.mastery-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2em;
}

.mastery-item .icon-circle {
  min-width: 55px;
  min-height: 55px;
  border-radius: 50%;
  background: rgba(141, 74, 205, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.4em;
  box-shadow: 0 0 12px rgba(141, 74, 205, 0.5);
}

.mastery-item h3 {
  font-size: 1.2em;
  margin-bottom: 0.4em;
  color: var(--text-light);
}

.mastery-item p {
  font-size: 0.95em;
  color: var(--text-muted);
  line-height: 1.6;
}

/* адаптив */
@media (max-width: 992px) {
  .mastery-grid {
    grid-template-columns: 1fr;
  }
}
.donation-section {
  padding: 6em 2em;
  background: var(--bg-dark);
  color: var(--text-light);
}

.donation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3em;
  align-items: center;
}

.donation-content h2 {
  font-size: 2.2em;
  font-weight: 800;
  margin-bottom: 1em;
  line-height: 1.3;
}

.donation-content p {
  color: var(--text-muted);
  margin-bottom: 2em;
  line-height: 1.6;
}

.donation-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5em 2em;
}

.donation-item {
  display: flex;
  align-items: flex-start;
  gap: 1em;
  background: var(--bg-card);
  padding: 1.2em;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}

.donation-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px var(--accent);
}

.donation-item i {
  font-size: 1.5em;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.2em;
}

.donation-item h3 {
  font-size: 1.1em;
  margin-bottom: 0.3em;
}

.donation-item p {
  font-size: 0.9em;
  color: var(--text-muted);
  line-height: 1.5;
}

.donation-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  object-fit: cover;
}

/* адаптив */
@media (max-width: 992px) {
  .donation-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .donation-items {
    grid-template-columns: 1fr;
  }
  .donation-item {
    text-align: left;
  }
  .donation-image {
    margin-top: 2em;
  }
}
.faq-section {
  padding: 6em 2em;
  background: var(--bg-dark);
  color: var(--text-light);
}

.faq-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3em;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.faq-item {
  background: var(--bg-card);
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.2em 1.5em;
  font-size: 1em;
  font-weight: 600;
  background: none;
  border: none;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question i {
  transition: transform 0.3s;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.5em;
}

.faq-item.active .faq-answer {
  max-height: 200px; /* можно увеличить для длинных ответов */
  padding: 1em 1.5em;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95em;
  line-height: 1.6;
}
.why-section {
  padding: 5em 2em;
  background: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
}

.why-subtitle {
  max-width: 700px;
  margin: 0 auto 3em;
  color: var(--text-muted);
  font-size: 1.05em;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
  max-width: 1100px;
  margin: 0 auto;
}

.why-card {
  background: var(--bg-card);
  padding: 2em 1.5em;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px var(--accent);
}

.why-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 auto 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(141, 74, 205, 0.15);
  box-shadow: 0 0 15px rgba(141, 74, 205, 0.4);
}

.why-icon i {
  font-size: 1.8em;
  color: var(--accent);
}

.why-card h3 {
  font-size: 1.2em;
  margin-bottom: 0.6em;
  font-weight: 700;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.95em;
  line-height: 1.6;
}

/* адаптив */
@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}
 #cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #aaa9aa;
    border: 1px solid #d1c4e9;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: #4a148c;
    font-family: Arial, sans-serif;
    padding: 15px 20px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    z-index: 9999;
    animation: fadeIn 0.8s ease;
  }

  #cookie-banner .cookie-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  #cookie-banner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
  }

  #cookie-banner a {
    color: #6a1b9a;
    text-decoration: underline;
  }

  #cookie-banner button {
    background: #6a1b9a;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
  }

  #cookie-banner button:hover {
    background: #4a148c;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
  }