/* ==========================================================
   World777 Book — main stylesheet
   Brand: deep black + gold + chrome silver (matches logo)
   ========================================================== */
:root {
  --bg: #07090f;
  --bg-2: #0d111b;
  --card: #121827;
  --card-2: #182033;
  --line: rgba(255, 255, 255, .08);
  --gold: #f7b500;
  --gold-2: #ffd863;
  --gold-dark: #b98300;
  --silver: #c9d0db;
  --text: #e9edf4;
  --muted: #98a2b3;
  --green: #25d366;
  --red: #ff4d5e;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .45);
  --gold-grad: linear-gradient(135deg, #ffe38a 0%, #f7b500 45%, #c98d00 100%);
  --silver-grad: linear-gradient(180deg, #ffffff 0%, #dfe4ec 45%, #8e97a6 100%);
  --container: 1200px;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Rajdhani", "Poppins", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(247, 181, 0, .10), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(120, 140, 255, .06), transparent 60%);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; color: #fff; letter-spacing: .3px; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 8px; }
.text-gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-silver { background: var(--silver-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 50px; font-weight: 600; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-grad); color: #121212; box-shadow: 0 10px 26px rgba(247, 181, 0, .28); }
.btn-gold:hover { color: #000; box-shadow: 0 14px 34px rgba(247, 181, 0, .45); }
.btn-outline { border-color: rgba(255,255,255,.25); color: #fff; background: rgba(255,255,255,.03); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-wa { background: var(--green); color: #fff; box-shadow: 0 10px 26px rgba(37, 211, 102, .25); }
.btn-wa:hover { color: #fff; background: #1ebe5a; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Top bar & header ---------- */
.topbar { background: #000; border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 7px; padding-bottom: 7px; }
.topbar .badge-18 { color: #fff; background: var(--red); border-radius: 4px; padding: 1px 7px; font-weight: 700; margin-right: 6px; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 9, 15, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.logo img { height: 46px; width: auto; }
.main-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 14px; border-radius: 8px; color: var(--text); font-weight: 500; font-size: .95rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--gold-2); background: rgba(247, 181, 0, .08); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; color: #fff; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: #fff; margin: 0 auto; position: relative; transition: .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 90px 0 80px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,9,15,0) 60%, var(--bg) 100%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 50px; border: 1px solid rgba(247,181,0,.35); background: rgba(247,181,0,.08); color: var(--gold-2); font-size: .85rem; font-weight: 600; margin-bottom: 18px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(37,211,102,.2); }
.hero p.lead { font-size: 1.1rem; color: #c3cad6; max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 30px; }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 2rem; color: #fff; line-height: 1; }
.hero-stats span { font-size: .85rem; color: var(--muted); }

.id-card {
  background: linear-gradient(160deg, #1a2236 0%, #0f1422 100%);
  border: 1px solid rgba(247,181,0,.25); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow);
  position: relative;
}
.id-card::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--gold-grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; pointer-events: none; }
.id-card h2 { font-size: 1.7rem; margin-bottom: 6px; }
.id-card ol { list-style: none; padding: 0; margin: 22px 0; counter-reset: s; }
.id-card li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.id-card li:last-child { border-bottom: 0; }
.id-card li::before { content: counter(s); flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--gold-grad); color: #111; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.id-card .btn { width: 100%; }
.id-card small { display: block; margin-top: 12px; color: var(--muted); text-align: center; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.section-head .kicker { display: inline-block; color: var(--gold); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: .8rem; margin-bottom: 10px; }
.section-head p { color: var(--muted); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(247,181,0,.35); box-shadow: var(--shadow); }
.card .icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.6rem; background: rgba(247,181,0,.1); border: 1px solid rgba(247,181,0,.25); margin-bottom: 18px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Sports strip */
.sports { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.sport { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 12px; transition: .25s; }
.sport:hover { border-color: var(--gold); transform: translateY(-3px); }
.sport .emoji { font-size: 2.2rem; display: block; margin-bottom: 8px; }
.sport strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.15rem; }
.sport span { font-size: .8rem; color: var(--muted); }

/* Game tiles */
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.game {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--card); display: flex; flex-direction: column; transition: .25s;
}
.game:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.game-art { aspect-ratio: 4 / 3; display: grid; place-items: center; font-size: 2.8rem; position: relative; }
.game-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.55)); }
.game-art.g1 { background: linear-gradient(135deg, #7a1022, #2a0610); }
.game-art.g2 { background: linear-gradient(135deg, #0f5132, #04160d); }
.game-art.g3 { background: linear-gradient(135deg, #1e3a8a, #0a1233); }
.game-art.g4 { background: linear-gradient(135deg, #6b21a8, #1d0833); }
.game-art.g5 { background: linear-gradient(135deg, #9a5b00, #2b1700); }
.game-art.g6 { background: linear-gradient(135deg, #155e75, #031c24); }
.game-body { padding: 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.game-body h3 { font-size: 1.02rem; margin: 0; }
.game-body .btn { padding: 6px 14px; font-size: .8rem; }
.tag-live { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--red); color: #fff; font-size: .7rem; font-weight: 700; border-radius: 4px; padding: 2px 8px; letter-spacing: 1px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 26px; counter-increment: step; }
.step::before { content: "0" counter(step); font-family: var(--font-head); font-weight: 700; font-size: 3rem; line-height: 1; display: block; margin-bottom: 10px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Split content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 20px 0; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: rgba(247,181,0,.15); color: var(--gold); font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.panel { background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }

.pay-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pay-list span { border: 1px solid var(--line); background: rgba(255,255,255,.03); border-radius: 50px; padding: 7px 16px; font-size: .88rem; color: #dfe4ec; }

/* Bonus */
.bonus { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 36px; border: 1px solid rgba(247,181,0,.3); background: radial-gradient(500px 200px at 100% 0, rgba(247,181,0,.18), transparent 70%), var(--card); }
.bonus .big { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; line-height: 1; margin: 10px 0; }

/* FAQ */
.faq { max-width: 880px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq details[open] { border-color: rgba(247,181,0,.35); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 600; color: #fff; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--gold); transition: .2s; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 24px 20px; color: var(--muted); }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .25s; }
.post-card:hover { border-color: rgba(247,181,0,.35); transform: translateY(-4px); }
.post-thumb { aspect-ratio: 16 / 9; display: grid; place-items: center; font-size: 3rem; background: linear-gradient(135deg, #1d2740, #0b0f1a); border-bottom: 1px solid var(--line); }
.post-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .8rem; color: var(--gold); font-weight: 600; letter-spacing: .5px; margin-bottom: 8px; }
.post-card h3 { font-size: 1.25rem; }
.post-card h3 a { color: #fff; }
.post-card h3 a:hover { color: var(--gold-2); }
.post-card p { color: var(--muted); font-size: .92rem; flex: 1; }
.read-more { font-weight: 600; font-size: .9rem; }

/* Article */
.page-hero { padding: 70px 0 50px; border-bottom: 1px solid var(--line); background: radial-gradient(700px 260px at 50% 0, rgba(247,181,0,.12), transparent 70%); }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.breadcrumb a { color: var(--muted); } .breadcrumb a:hover { color: var(--gold-2); }
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 50px; padding: 60px 20px; }
.prose { font-size: 1.04rem; color: #d4d9e2; }
.prose h2 { font-size: 1.9rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .5em; }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: var(--card-2); color: #fff; }
.prose blockquote { margin: 24px 0; padding: 16px 22px; border-left: 4px solid var(--gold); background: var(--card); border-radius: 0 10px 10px 0; color: #e7ebf2; }
.sidebar { display: flex; flex-direction: column; gap: 22px; }
.sidebar .widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 96px; }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.sidebar li:last-child { border: 0; }

/* CTA band */
.cta-band { border-radius: var(--radius-lg); padding: 50px; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: linear-gradient(120deg, rgba(247,181,0,.16), rgba(247,181,0,.03) 60%), var(--card); border: 1px solid rgba(247,181,0,.3); }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { margin: 0; color: var(--muted); }

/* Notice */
.notice { border: 1px solid rgba(255,77,94,.35); background: rgba(255,77,94,.07); border-radius: var(--radius); padding: 18px 22px; font-size: .92rem; color: #f1c9ce; }

/* ---------- Footer ---------- */
.site-footer { background: #04060a; border-top: 1px solid var(--line); padding-top: 70px; margin-top: 40px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-size: 1.15rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--gold-2); }
.footer-logo img { height: 44px; margin-bottom: 16px; }
.footer-about { color: var(--muted); }
.keywords { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.keywords span { font-size: .78rem; color: var(--muted); border: 1px solid var(--line); border-radius: 50px; padding: 4px 12px; }
.disclaimer { margin-top: 24px; font-size: .82rem; color: #7d8696; line-height: 1.6; }
.footer-bottom { margin-top: 30px; border-top: 1px solid var(--line); padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #7d8696; font-size: .85rem; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 200; width: 58px; height: 58px; border-radius: 50%; background: var(--green); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.45); animation: pulse 2.4s infinite; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* Reveal animation */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .wa-float { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .sports { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-wrap { grid-template-columns: minmax(0, 1fr); }
  .prose table { display: block; overflow-x: auto; white-space: nowrap; }
  .sidebar .widget { position: static; }
}
@media (max-width: 920px) {
  .nav-toggle { display: grid; place-items: center; }
  .main-nav { position: fixed; inset: 76px 0 auto 0; background: #0a0d15; border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height .35s ease; }
  .nav-open .main-nav { max-height: 420px; }
  .main-nav ul { flex-direction: column; padding: 12px 20px 20px; gap: 2px; }
  .main-nav a { padding: 12px 14px; }
  .header-cta .btn-outline { display: none; }
  .hero .container, .split { grid-template-columns: 1fr; }
  .grid-3, .steps, .posts { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; text-align: center; padding: 36px 24px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .topbar .hide-sm { display: none; }
  .logo img { height: 36px; }
  .header-cta .btn { padding: 9px 14px; font-size: .85rem; }
  .hero { padding: 56px 0 50px; }
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4, .steps, .posts, .footer-grid { grid-template-columns: 1fr; }
  .sports { grid-template-columns: repeat(2, 1fr); }
  .games { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .game-body { flex-direction: column; align-items: flex-start; }
  .card, .panel, .bonus, .id-card { padding: 22px; }
}
