/*
  Kush Casino — стильный, контрастный, быстрый
  Цвета и акценты ориентированы на современный игровой лендинг.
*/
:root {
  --bg: #0d0a12;
  --surface: #121621;
  --text: #e6edf6;
  --muted: #8a95a6;
  --accent: #8a2be2; /* electric violet */
  --accent-2: #ff2d9a; /* hot pink */
  --border: #1c2430;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(60% 80% at 20% 10%, rgba(138,43,226,0.08) 0%, rgba(11,15,20,0) 50%), var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; }

.container {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.menu-toggle { display: none; align-items: center; justify-content: center; width: 40px; height: 36px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; padding: 0; }
.menu-toggle:focus { outline: none; box-shadow: 0 0 0 2px rgba(138,43,226,0.35); }
.menu-toggle { flex-direction: column; gap: 4px; }
.menu-toggle__bar { display: block; width: 20px; height: 2.5px; background: var(--text); border-radius: 2px; transition: transform 200ms ease, opacity 200ms ease; }

/* Animate to X when open */
.menu-toggle.is-open .menu-toggle__bar:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle.is-open .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .menu-toggle__bar:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav { position: fixed; inset: 0; z-index: 100; display: none; background: rgba(13,10,18,0.55); backdrop-filter: blur(6px) saturate(150%); }
.mobile-nav.is-open { display: block; }
.mobile-nav__inner { margin-top: 64px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px; display: grid; gap: 10px; }
.mobile-nav__inner a { font-weight: 600; color: var(--text); padding: 10px 12px; border-radius: 10px; }
.mobile-nav__inner a:hover { background: rgba(255,255,255,0.04); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.logo img { width: 40px; height: 40px; }
.logo__text { letter-spacing: 0.2px; }
.nav { display: flex; gap: 16px; align-items: center; }
.nav a { color: var(--muted); font-weight: 600; }
.nav a:hover { color: var(--text); }

/* Hero */
.hero { 
  padding: 72px 0 40px;
}
.hero__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: center; }
.hero__title { font-size: clamp(28px, 6vw, 52px); line-height: 1.08; margin: 0 0 12px; }
.accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-2) 60%, #ffa6d0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__subtitle { margin: 0 0 24px; color: var(--muted); font-size: 18px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__media { 
  position: relative; 
  height: 260px; 
  border-radius: 16px; 
  overflow: hidden; 
  border: 1px solid var(--border);
  background: var(--surface);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* Sections */
.section { padding: 56px 0; }
.section--muted { background: linear-gradient(180deg, rgba(16,23,32,0.6), rgba(16,23,32,0.6)), var(--bg); }
.section__title { font-size: 28px; margin: 0 0 24px; }
.section__lead { color: var(--muted); max-width: 72ch; }
.section__content { color: var(--muted); max-width: 78ch; }
.section__content p { margin: 0 0 14px; line-height: 1.7; }
.section__content a { text-decoration: underline; text-underline-offset: 2px; }
.section__content ul { list-style: disc; padding-left: 1.2rem; margin: 8px 0 14px; }
.section__content li { margin: 6px 0; }

/* Cards & grid */
.grid { display: grid; gap: 16px; }
.grid--features { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(138,43,226,0.15); color: var(--accent); font-weight: 700;
  margin-bottom: 8px;
}

/* CTA */
.cta { padding: 56px 0; background: radial-gradient(60% 80% at 80% 20%, rgba(0,230,118,0.12), rgba(0,0,0,0)), var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta__inner { text-align: center; }
.cta__title { font-size: 26px; margin: 0 0 8px; }
.cta__text { color: var(--muted); margin: 0 0 16px; }

/* FAQ */
.faq { display: grid; gap: 8px; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; }
.faq__item summary { cursor: pointer; font-weight: 600; }
.faq__item p { color: var(--muted); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 24px 0; background: rgba(16,23,32,0.5); }
.footer__inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.footer__brand img { width: 36px; height: 36px; }
.footer__links { display: inline-flex; gap: 12px; justify-content: center; }
.footer__copy { text-align: right; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; border-radius: 12px; padding: 12px 16px; border: 1px solid var(--border); transition: transform 180ms ease, box-shadow 180ms ease; }
.btn--primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #ffffff;
}
.btn--ghost { background: transparent; color: var(--text); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(138,43,226,0.22); }
.btn--lg { padding: 14px 20px; font-size: 18px; }
.btn--sm { padding: 8px 12px; font-size: 14px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 400ms ease, transform 400ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  .grid--features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__copy { text-align: center; }
}
@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero { padding: 56px 0 24px; }
  .hero__title { font-size: clamp(24px, 6vw, 34px); }
  .hero__subtitle { font-size: 16px; margin-bottom: 18px; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn { width: 100%; }
  .hero__media { height: 220px; }
  .hero__media img { object-position: center top; }
}
@media (max-width: 640px) {
  .grid--features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
}
@media (max-width: 520px) {
  .btn--lg { width: 100%; }
}
@media (max-width: 420px) {
  .header__inner { padding: 10px 0; }
  .logo img { width: 32px; height: 32px; }
  .hero__media { height: 180px; }
}