/* assets/css/style.css */
:root {
  --saffron: #FF9933;
  --green: #138808;
  --navy: #000080;
  --dark: #0a0e1a;
  --card: #111827;
  --card2: #1a2235;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --glow: rgba(255,153,51,0.35);
  --border: rgba(255,255,255,0.08);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  line-height: 1.75;
  font-size: 16px;
}
a { color: var(--saffron); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* ── LAYOUT ── */
.container { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
section { padding: 64px 0; }
section + section { border-top: 1px solid var(--border); }

/* ── FLAG STRIPE ── */
.flag-stripe {
  height: 5px;
  background: linear-gradient(90deg, #FF9933 33.33%, #fff 33.33% 66.66%, #138808 66.66%);
}
.flag-stripe-sm {
  height: 3px;
  background: linear-gradient(90deg, #FF9933 33.33%, #fff 33.33% 66.66%, #138808 66.66%);
  margin-bottom: 40px;
}

/* ── NAV ── */
nav {
  background: rgba(10,14,26,0.96);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(12px);
}
.logo {
  font-family: 'Baloo 2', cursive;
  font-size: 1.55rem;
  font-weight: 800;
  background: linear-gradient(90deg, #FF9933 20%, #fff 50%, #138808 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--saffron); text-decoration: none; }
.btn-nav {
  background: linear-gradient(135deg, #FF9933, #e07820);
  color: #fff !important;
  padding: 8px 22px;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  transition: all 0.25s;
  box-shadow: 0 0 18px var(--glow);
}
.btn-nav:hover { transform: translateY(-2px); box-shadow: 0 0 30px var(--glow); text-decoration: none !important; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ── HERO ── */
.hero {
  background: radial-gradient(ellipse at 20% 50%, rgba(255,153,51,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(19,136,8,0.10) 0%, transparent 60%),
              #0a0e1a;
  padding: 80px 24px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 0 0 50px rgba(255,153,51,0.3);
}
.hero h1 .accent { color: var(--saffron); }
.hero p.hero-sub {
  max-width: 600px;
  margin: 0 auto 36px;
  color: var(--muted);
  font-size: 1.08rem;
}
.btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.97rem;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, #FF9933, #e07820);
  color: #fff;
  box-shadow: 0 0 24px var(--glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 40px var(--glow); text-decoration: none; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(255,255,255,0.2);
}
.btn-outline:hover { border-color: var(--saffron); color: var(--saffron); transform: translateY(-2px); text-decoration: none; }

/* ── GAME VISUAL ── */
.game-visual {
  max-width: 680px;
  margin: 50px auto 0;
  background: linear-gradient(135deg, #111827, #1a2235);
  border: 1px solid rgba(255,153,51,0.25);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 0 60px rgba(255,153,51,0.1);
}
.color-balls { display: flex; gap: 18px; justify-content: center; margin-bottom: 24px; }
.ball {
  width: 66px; height: 66px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  animation: ballPulse 2s ease-in-out infinite;
}
.ball:nth-child(1) { background: #e74c3c; animation-delay: 0s; }
.ball:nth-child(2) { background: #27ae60; animation-delay: 0.3s; }
.ball:nth-child(3) { background: #8e44ad; animation-delay: 0.6s; }
.ball:nth-child(4) { background: #2980b9; animation-delay: 0.9s; }
.ball:nth-child(5) { background: #e67e22; animation-delay: 1.2s; }
@keyframes ballPulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
.multiplier-display {
  font-family: 'Baloo 2', cursive;
  font-size: 3rem;
  font-weight: 800;
  color: var(--saffron);
  animation: textGlow 1.8s ease-in-out infinite alternate;
}
@keyframes textGlow {
  from { text-shadow: 0 0 20px rgba(255,153,51,0.4); }
  to   { text-shadow: 0 0 55px rgba(255,153,51,1); }
}
.game-caption { color: var(--muted); font-size: 0.9rem; margin-top: 10px; }

/* ── HEADINGS ── */
h2 {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}
h2 .accent { color: var(--saffron); }
h3 { font-size: 1.15rem; font-weight: 700; color: #fff; margin: 28px 0 10px; }
h4 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }

/* ── TABLES ── */
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--border); margin: 24px 0; }
table { width: 100%; border-collapse: collapse; }
thead th {
  background: rgba(255,153,51,0.12);
  color: var(--saffron);
  padding: 13px 18px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
tbody td {
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-size: 0.94rem;
}
tbody tr:hover td { background: rgba(255,153,51,0.04); }
.highlight-row td { color: var(--saffron); font-weight: 700; }

/* ── FEATURE LIST ── */
ul.feature-list { list-style: none; padding: 0; }
ul.feature-list li {
  padding: 9px 0 9px 30px;
  position: relative;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 0.96rem;
}
ul.feature-list li:last-child { border-bottom: none; }
ul.feature-list li::before { content: '✦'; position: absolute; left: 0; color: var(--saffron); }

/* ── ORDERED TIPS ── */
ol.tips { padding-left: 22px; }
ol.tips li { padding: 8px 0; color: var(--text); font-size: 0.96rem; }
ol.tips li strong { color: var(--saffron); }

/* ── STEPS GRID ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
  margin: 28px 0;
}
.step {
  background: var(--card);
  border: 1px solid rgba(255,153,51,0.18);
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s;
}
.step:hover { border-color: var(--saffron); transform: translateY(-3px); }
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF9933, #e07820);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
  margin: 0 auto 14px;
  box-shadow: 0 0 16px var(--glow);
}
.step p { font-size: 0.86rem; color: var(--muted); margin-top: 6px; }

/* ── DOWNLOAD BOX ── */
.download-box {
  background: linear-gradient(135deg, rgba(255,153,51,0.1), rgba(19,136,8,0.07));
  border: 1px solid rgba(255,153,51,0.28);
  border-radius: 20px;
  padding: 44px 36px;
  text-align: center;
  margin: 30px 0;
}
.download-box p { color: var(--muted); margin-bottom: 28px; }
.apk-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #138808, #1aa810);
  color: #fff;
  padding: 15px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 0 28px rgba(19,136,8,0.4);
  transition: all 0.25s;
  cursor: pointer;
}
.apk-badge:hover { transform: translateY(-3px); box-shadow: 0 0 46px rgba(19,136,8,0.7); text-decoration: none; color: #fff; }
.apk-meta { margin-top: 14px; font-size: 0.84rem; color: var(--muted); }

/* ── INFO CARDS GRID ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 28px 0;
}
.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px;
  transition: border-color 0.25s;
}
.info-card:hover { border-color: rgba(255,153,51,0.35); }
.info-card .icon { font-size: 2rem; margin-bottom: 10px; }
.info-card h4 { margin-bottom: 6px; }
.info-card p { color: var(--muted); font-size: 0.9rem; }

/* ── STATUS SECTION ── */
.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 28px 0;
}
.status-card {
  background: var(--card);
  border-left: 3px solid var(--saffron);
  border-radius: 0 12px 12px 0;
  padding: 18px 20px;
}
.status-card h4 { color: var(--saffron); margin-bottom: 6px; font-size: 0.95rem; }
.status-card p { color: var(--muted); font-size: 0.88rem; }

/* ── FAQ ── */
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.faq-q {
  padding: 16px 20px;
  background: var(--card);
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background 0.2s;
}
.faq-q:hover { background: var(--card2); }
.faq-q .faq-icon { color: var(--saffron); font-size: 1.2rem; transition: transform 0.3s; }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  background: var(--card);
  color: var(--muted);
  font-size: 0.94rem;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-a.open { max-height: 300px; padding: 4px 20px 18px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: radial-gradient(ellipse at center, rgba(255,153,51,0.1) 0%, transparent 70%), #0a0e1a;
  padding: 60px 24px 50px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.page-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--saffron); }

/* ── FOOTER ── */
footer {
  background: #060a12;
  border-top: 2px solid rgba(255,153,51,0.15);
  padding: 50px 0 30px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-col .logo-text {
  font-family: 'Baloo 2', cursive;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--saffron);
  display: block;
  margin-bottom: 10px;
}
.footer-col p { color: var(--muted); font-size: 0.88rem; }
.footer-col h4 { color: #fff; margin-bottom: 12px; font-size: 0.95rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { color: var(--muted); font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--saffron); text-decoration: none; }
.resp-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.badge {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}
.copyright { color: var(--muted); font-size: 0.83rem; text-align: center; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 12px 16px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: #0d1120; padding: 20px; gap: 16px; border-bottom: 2px solid var(--saffron); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 50px 16px 40px; }
  section { padding: 44px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .download-box { padding: 28px 18px; }
}
@media (max-width: 480px) {
  .color-balls { gap: 10px; }
  .ball { width: 50px; height: 50px; font-size: 1.1rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
