﻿:root {
  --gold: #ffb800;
  --gold-glow: rgba(255, 184, 0, 0.35);
  --cyan: #00d4ff;
  --dark: #05070a;
  --dark-l: #0f141d;
  --text: #ffffff;
  --text-dim: #9aa6bb;
  --card: #0c1118;
  --stroke: #1e293b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: min(1120px, 92vw); margin: 0 auto; }
.narrow { width: min(860px, 92vw); margin: 0 auto; }
.text-center { text-align: center; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 3000;
}
.skip-link:focus { left: 12px; }

/* Navbar */
.navbar {
  padding: 1.2rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 2000;
  background: rgba(5, 7, 10, 0.9);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.logo { font-weight: 900; font-size: 1.6rem; letter-spacing: -1px; }
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 1.5rem; font-weight: 600; }
.nav-links a { text-decoration: none; color: var(--text-dim); transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text); }
.btn-nav {
  background: transparent;
  border: 1px solid var(--stroke);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
}
.btn-nav:hover { border-color: var(--gold); color: var(--gold); }
.nav-toggle {
  border: 1px solid var(--stroke);
  background: transparent;
  color: var(--text);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 1.1rem;
}
.mobile-only { display: none; }
.mobile-menu {
  position: fixed;
  top: 72px;
  right: 16px;
  left: 16px;
  padding: 16px;
  background: rgba(8, 12, 18, 0.96);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  display: grid;
  gap: 10px;
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 1900;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a { text-decoration: none; color: var(--text); font-weight: 600; }

/* Hero */
.hero {
  position: relative;
  padding: 180px 0 110px;
  background: radial-gradient(circle at 70% 20%, #1a202c 0%, var(--dark) 70%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 184, 0, 0.12), transparent 45%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.2), rgba(5, 7, 10, 0.9));
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}
.badge-gold {
  display: inline-block;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 2rem;
  box-shadow: 0 0 15px var(--gold-glow);
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.05;
  font-weight: 900;
  margin-bottom: 1.5rem;
}
.hero-subtitle { color: var(--text); font-size: 1.1rem; margin-bottom: 1.2rem; }
.hero-intro { color: var(--text-dim); font-size: 1rem; }
.hero-btns { margin-top: 2rem; }

.hero-visual { position: relative; min-height: 320px; }
.visual-ring {
  position: absolute;
  inset: 20% 0 auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.12);
}
.visual-panel {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
}
.panel-header { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 16px; }
.panel-header span { color: var(--text-dim); }
.panel-body { display: grid; gap: 12px; }
.panel-line { height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.panel-line.short { width: 65%; }
.panel-chip { display: inline-block; padding: 6px 10px; border-radius: 999px; background: rgba(255, 184, 0, 0.12); color: var(--gold); font-weight: 700; font-size: 0.8rem; }

/* Sections */
section { scroll-margin-top: 100px; }
.section { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.section-header p { color: var(--text-dim); max-width: 760px; margin: 12px auto 0; }
.intro h2 { margin-bottom: 1.2rem; }
.intro p { color: var(--text-dim); margin-bottom: 1.4rem; font-size: 1.05rem; }

/* Alternate layout */
.alternate { background: var(--dark-l); border-top: 1px solid #1e293b; border-bottom: 1px solid #1e293b; }
.alt-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: center; margin-bottom: 40px; }
.alt-row.reverse { direction: rtl; }
.alt-row.reverse .alt-text { direction: ltr; }
.alt-text p { color: var(--text-dim); margin-top: 10px; }
.alt-visual .visual-box {
  height: 220px;
  border-radius: 16px;
  border: 1px dashed #334155;
  display: grid;
  place-items: center;
  color: var(--text-dim);
  background: #0b1118;
  overflow: hidden;
}
.visual-svg { width: 100%; height: 100%; display: block; }

/* Windows */
.windows-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.window-card {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.window-card:hover { transform: translateY(-4px); border-color: rgba(255, 184, 0, 0.4); }
.window-time { color: var(--gold); font-weight: 700; margin-bottom: 8px; }

/* Rules */
.rules { background: var(--dark-l); }
.rules-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rule-card {
  padding: 24px;
  background: #0b1118;
  border: 1px solid var(--stroke);
  border-radius: 14px;
}
.rule-card p { color: var(--text-dim); margin-top: 10px; }

/* Mistakes */
.mistakes h2 { margin-bottom: 1rem; }
.mistakes p { color: var(--text-dim); margin-bottom: 1.2rem; font-size: 1.05rem; }

/* Disciply */
.disciply-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.disciply-card {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 14px;
}
.disciply-card p { color: var(--text-dim); margin-top: 10px; }

/* SEO */
.seo-content { display: grid; gap: 24px; }
.seo-block {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
}
.seo-block p { color: var(--text-dim); margin-top: 12px; }

/* CTA */
.cta { padding: 80px 0 100px; background: linear-gradient(180deg, rgba(15, 20, 29, 0.6), rgba(5, 7, 10, 1)); border-top: 1px solid #1e293b; }
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: var(--dark-l);
  padding: 36px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
}

/* Footer */
.footer-cta { padding: 80px 0 100px; background: var(--dark-l); border-top: 1px solid #1e293b; }
.footer-btns { margin-top: 20px; }
.btn-large {
  background: var(--gold);
  color: #000;
  padding: 18px 44px;
  font-weight: 800;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
}
.sub-links { margin-top: 20px; color: var(--text-dim); }
.sub-links a { color: var(--text-dim); text-decoration: none; }
.sub-links a:hover { color: #fff; }

/* Buttons */
.btn-primary {
  background: var(--gold);
  color: #000;
  padding: 18px 40px;
  font-weight: 800;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}
.btn-primary:hover { box-shadow: 0 0 30px var(--gold-glow); transform: translateY(-2px); }
.btn-secondary {
  color: #fff;
  border: 1px solid #334155;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  margin-left: 1rem;
  transition: 0.3s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* Accessibility */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .alt-row { grid-template-columns: 1fr; }
  .alt-row.reverse { direction: ltr; }
  .windows-grid { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .disciply-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .desktop-only { display: none; }
  .mobile-only { display: inline-flex; }
  .hero { padding: 140px 0 80px; }
  .hero-btns { display: flex; flex-direction: column; gap: 1rem; }
  .btn-secondary { margin-left: 0; }
  .nav-flex { gap: 12px; }
  .btn-nav { display: none; }
}
