:root{
  --brand-primary:#7C3AED;
  --brand-secondary:#C084FC;
  --bg:#0B1020;
  --panel:#0F172A;
  --text:#E5E7EB;
  --muted:#9CA3AF;
  --accent:#22D3EE;
  --ok:#10B981;
  --danger:#EF4444;
  --radius:18px;
  --container:1200px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:Inter,Segoe UI,Roboto,Arial,sans-serif;scroll-behavior:smooth}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:var(--container);margin:0 auto;padding:0 20px}
.btn{display:inline-flex;gap:10px;align-items:center;background:linear-gradient(90deg,var(--brand-primary),var(--brand-secondary));color:white;padding:12px 18px;border-radius:12px;font-weight:700;border:0;cursor:pointer;box-shadow:0 8px 24px rgba(124,58,237,0.35);transition:transform .2s ease, box-shadow .2s ease}
.btn:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(124,58,237,0.45)}
.badge{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;background:#1F2937;color:#E5E7EB;font-size:12px}
/* ===== HEADER ===== */
.header {
  background: #0A0F1E;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===== NAVIGATION ===== */
.nav {
  display: flex;
  gap: 22px;
}

.nav a {
  color: #E5E7EB;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: color .2s ease;
}

.nav a:hover {
  color: #fff;
}

/* ===== BURGER BUTTON ===== */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #E5E7EB;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== Анимация бургера при открытии ===== */
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== MOBILE NAV ===== */
@media (max-width: 880px) {
  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 240px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 30px;
    background: #0A0F1E;
    border-left: 1px solid rgba(255,255,255,0.08);
    transition: right 0.35s ease;
  }

  .nav a {
    font-size: 17px;
    padding: 10px 0;
    width: 100%;
  }

  .nav.open {
    right: 0;
  }
}


.hero{position:relative;overflow:hidden;border-bottom:1px solid rgba(255,255,255,.06)}
.hero .inner{display:grid;grid-template-columns:1.25fr .75fr;gap:28px;align-items:center;padding:60px 0}
.hero h1{font-size:48px;line-height:1.05;margin:0 0 16px;font-weight:900}
.hero p{font-size:18px;color:var(--muted);margin:0 0 24px}
.hero .panel{background:radial-gradient(80% 120% at 0% 0%, rgba(124,58,237,.25), rgba(34,211,238,.1) 60%, rgba(0,0,0,0) 100%), var(--panel);border:1px solid rgba(255,255,255,.06);border-radius:var(--radius);padding:22px}

.grid{display:grid;gap:18px}
.cards-3{grid-template-columns:repeat(3,1fr)}
.cards-4{grid-template-columns:repeat(4,1fr)}
.card{background:var(--panel);border:1px solid rgba(255,255,255,.06);border-radius:var(--radius);padding:18px;position:relative;overflow:hidden}
.card h3{margin:0 0 8px}
.card p{margin:0;color:var(--muted)}
.card .ribbon{position:absolute;top:12px;right:-40px;background:linear-gradient(90deg,#22D3EE,#06B6D4);color:#0B1020;transform:rotate(35deg);font-weight:800;padding:6px 60px}

.section{padding:56px 0}
.section h2{font-size:32px;margin:0 0 16px}
.s/* === FOOTER Enhancements === */

.footer {
  background: #0A0F1E;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 0 30px;
  color: var(--muted);
  font-size: 15px;
}

.footer-logos {
  display: flex;
  justify-content: center;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid #3a3a52;
  padding-bottom: 16px;
}
.footer-logos img {
  height: 34px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.footer-logos img:hover {
  opacity: 1;
}

.footer .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ====== GRID ====== */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

/* ====== BRAND COLUMN ====== */
.footer-logo {
  width: 110px;
  margin-bottom: 16px;
  display: block;
}

.footer .notice {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ccc;
  font-size: 14px;
  margin: 0 0 20px;
  line-height: 1.4;
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.payment-icons img {
  height: 26px;
  opacity: 0.85;
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
  padding: 4px 6px;
}

/* ====== LINKS ====== */
.footer h4 {
  color: var(--accent);
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul li a {
  color: var(--muted);
  text-decoration: none;
}

.footer ul li a:hover {
  color: #fff;
}

/* ====== LEGAL ====== */
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  padding-top: 18px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-logo {
    height: 38px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer .notice {
    justify-content: center;
  }
  .payment-icons {
    justify-content: center;
  }
}


/* статичная лента с иконками */
.glow img {
  opacity: 0.8;
  margin: 0 16px;
  vertical-align: middle;
}

/* без fade-up анимации — элементы сразу видимы */
.fade-up {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer-logo {
    height: 36px;
  }
}


.notice{display:flex;align-items:center;gap:10px;background:#0A182B;border:1px dashed rgba(255,255,255,.15);padding:10px 12px;border-radius:12px;color:#BEE3F8}

.marquee{overflow:hidden;white-space:nowrap;mask-image:linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent)}
.marquee img{height:28px;margin:0 28px;opacity:0.8}
@keyframes scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}

.fade-up{opacity:0;transform:translateY(10px);transition:opacity .6s ease, transform .6s ease}
.fade-up.reveal{opacity:1;transform:translateY(0)}

.modal{position:fixed;inset:0;background:rgba(0,0,0,.6);display:none;align-items:center;justify-content:center;z-index:50}
.modal.open{display:flex}
.modal .box{background:#0E1629;border:1px solid rgba(255,255,255,.08);border-radius:16px;max-width:520px;margin:20px;padding:24px}
.modal .box h3{margin:0 0 10px}
.modal .box p{color:var(--muted)}

/* ===== Cookie Hint (fixed banner) ===== */
.cookie-hint {
  position: fixed;
  bottom: 18px;
  left: 18px;
  right: auto;
  max-width: 420px;

  display: flex;
  align-items: flex-start;
  gap: 10px;

  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;

  color: #E5E7EB;
  font-size: 14px;
  line-height: 1.45;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 999;

  opacity: 0;
  transform: translateY(10px);
  animation: cookieHintFadeIn 0.6s ease forwards;
}

.cookie-hint img {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  filter: brightness(1.2);
  margin-top: 2px;
}

.cookie-hint span {
  flex: 1;
  color: var(--muted, #d1d5db);
}

.cookie-hint button {
  background: #1E293B;
  color: #F9FAFB;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.25s ease;
}

.cookie-hint button:hover {
  background: #334155;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Анимация появления */
@keyframes cookieHintFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .cookie-hint {
    left: 50%;
    right: 50%;
    transform: translate(-50%, 0);
    max-width: calc(100% - 40px);
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .cookie-hint img {
    display: none;
  }

  .cookie-hint button {
    width: 100%;
    margin-top: 8px;
  }
}

@media (max-width: 960px){
  .hero .inner{grid-template-columns:1fr}
  .cards-3{grid-template-columns:1fr}
  .cards-4{grid-template-columns:1fr 1fr}
  .footer .grid{grid-template-columns:1fr 1fr}
}


/* ===== Accordion (static, no animations) ===== */
.accordion {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.accordion-item {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: var(--panel);
}
.accordion-header { margin: 0; }
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  color: #fff;
  border: 0;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.accordion-trigger:hover {
  background: rgba(255,255,255,0.03);
}
.accordion-panel {
  padding: 0 16px 14px 16px;
  color: var(--muted);
  line-height: 1.6;
}
.accordion-panel ul { margin: 8px 0 0 18px; }
.acc-sign {
  display: inline-block;
  min-width: 20px;
  text-align: center;
  color: var(--muted);
  font-weight: 800;
  font-size: 18px;
}
