/* ===== ROYAL CRICKET ID — front-end theme ===== */
:root{
  --bg:#0b0f1a; --bg2:#101627; --card:#141b2e; --card2:#1a2338;
  --line:rgba(255,255,255,.08); --txt:#e9edf6; --muted:#9aa7c2;
  --gold:#f6c945; --gold2:#ffde7a; --green:#1fd67a; --green-d:#0f9d58;
  --red:#ff5a5f; --wa:#25d366;
  --shadow:0 18px 50px rgba(0,0,0,.45); --radius:16px; --maxw:1160px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Segoe UI',system-ui,-apple-system,Roboto,Arial,sans-serif;background:var(--bg);color:var(--txt);line-height:1.6;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:var(--maxw);margin:0 auto;padding:0 20px}
section{padding:70px 0}

/* icons */
.ic{width:22px;height:22px;flex:0 0 auto;display:block}
.ic-sm{width:18px;height:18px}
.ic-lg{width:28px;height:28px}

.sec-head{text-align:center;max-width:720px;margin:0 auto 46px}
.sec-head .kick{color:var(--gold);font-weight:800;letter-spacing:2px;text-transform:uppercase;font-size:13px}
.sec-head h2{font-size:34px;margin:8px 0 12px;line-height:1.2}
.sec-head p{color:var(--muted)}
.grad{background:linear-gradient(90deg,var(--gold),var(--gold2));-webkit-background-clip:text;background-clip:text;color:transparent}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:800;border:0;cursor:pointer;
  padding:13px 24px;border-radius:12px;font-size:15px;transition:.2s;white-space:nowrap;font-family:inherit}
.btn-gold{background:linear-gradient(90deg,var(--gold),var(--gold2));color:#20160a;box-shadow:0 10px 24px rgba(246,201,69,.28)}
.btn-gold:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(246,201,69,.4)}
.btn-wa{background:var(--wa);color:#04340f}
.btn-wa:hover{transform:translateY(-2px);filter:brightness(1.05)}
.btn-ghost{background:transparent;border:1.5px solid var(--line);color:var(--txt)}
.btn-ghost:hover{border-color:var(--gold);color:var(--gold)}
.btn-lg{padding:16px 30px;font-size:16px}

/* header */
header{position:sticky;top:0;z-index:50;background:rgba(11,15,26,.86);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;height:72px}
.logo{display:flex;align-items:center;gap:10px;font-weight:900;font-size:20px}
.logo .badge{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;
  background:linear-gradient(135deg,var(--gold),var(--green-d));color:#0b0f1a}
.logo .badge .ic{width:22px;height:22px;stroke-width:2}
.logo img.badge{object-fit:cover}
.logo span{color:var(--gold)}
.menu{display:flex;align-items:center;gap:26px}
.menu a{color:var(--muted);font-weight:600;font-size:15px;transition:.2s}
.menu a:hover{color:var(--gold)}
.nav-cta{display:flex;align-items:center;gap:12px}
.burger{display:none;background:none;border:0;color:var(--txt);cursor:pointer;padding:4px}

/* hero */
.hero{position:relative;padding:78px 0 60px;
  background:radial-gradient(1000px 500px at 80% -10%,rgba(246,201,69,.14),transparent),
             radial-gradient(800px 500px at 0% 20%,rgba(31,214,122,.10),transparent),var(--bg)}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:center}
.hero .pill{display:inline-flex;align-items:center;gap:8px;background:var(--card2);border:1px solid var(--line);
  color:var(--gold);padding:7px 14px;border-radius:100px;font-size:13px;font-weight:700;margin-bottom:20px}
.hero .pill .ic{width:16px;height:16px}
.hero h1{font-size:47px;line-height:1.12;margin-bottom:16px;font-weight:900}
.hero p.lead{color:var(--muted);font-size:18px;max-width:560px;margin-bottom:26px}
.hero-btns{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:30px}
.trust-row{display:flex;gap:14px;align-items:center;color:var(--muted);font-size:14px;flex-wrap:wrap}
.trust-row b{color:var(--txt)}
.stars{display:inline-flex;gap:2px;color:var(--gold)}
.stars .ic{width:16px;height:16px;fill:var(--gold);stroke:var(--gold)}

.hero-card{background:linear-gradient(180deg,var(--card),var(--bg2));border:1px solid var(--line);
  border-radius:20px;padding:26px;box-shadow:var(--shadow)}
.hero-card h3{font-size:18px;margin-bottom:6px}
.hero-card .sub{color:var(--muted);font-size:14px;margin-bottom:18px}
.hc-step{display:flex;gap:14px;align-items:flex-start;padding:14px 0;border-bottom:1px dashed var(--line)}
.hc-step:last-of-type{border-bottom:0}
.hc-step .n{width:30px;height:30px;flex:0 0 30px;border-radius:9px;background:var(--card2);color:var(--gold);
  font-weight:800;display:grid;place-items:center;font-size:14px}
.hc-step b{display:block}
.hc-step small{color:var(--muted)}
.hero-card .btn{width:100%;margin-top:18px}

/* stats */
.stats{background:var(--bg2);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:34px 0}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;text-align:center}
.stat b{display:block;font-size:32px;font-weight:900;color:var(--gold)}
.stat span{color:var(--muted);font-size:14px}

/* exchange cards */
.ex-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.ex-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:24px;position:relative;transition:.2s}
.ex-card:hover{transform:translateY(-4px);border-color:rgba(246,201,69,.5)}
.ex-card .tag{position:absolute;top:16px;right:16px;background:var(--green-d);color:#eafff2;font-size:11px;font-weight:800;padding:4px 10px;border-radius:100px}
.ex-logo{width:56px;height:56px;border-radius:12px;background:var(--card2);display:grid;place-items:center;margin-bottom:14px;color:var(--gold);overflow:hidden}
.ex-logo .ic{width:28px;height:28px}
.ex-logo img{width:100%;height:100%;object-fit:cover}
.ex-card h3{font-size:20px;margin-bottom:6px}
.ex-bonus{color:var(--green);font-weight:800;font-size:15px;margin-bottom:14px}
.ex-card ul{list-style:none;margin-bottom:18px}
.ex-card li{color:var(--muted);font-size:14px;padding:4px 0;display:flex;align-items:flex-start;gap:8px}
.ex-card li .ic{width:16px;height:16px;color:var(--green);margin-top:4px;stroke-width:2.5}
.ex-card .btn{width:100%}

/* steps */
.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.step{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:30px 24px;text-align:center}
.step .big{font-size:44px;font-weight:900;color:rgba(246,201,69,.25);line-height:1}
.step .ico{width:54px;height:54px;margin:10px auto 12px;border-radius:14px;background:var(--card2);color:var(--gold);display:grid;place-items:center}
.step .ico .ic{width:26px;height:26px}
.step h3{margin-bottom:8px}
.step p{color:var(--muted);font-size:15px}

/* features */
.feat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.feat{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:24px;display:flex;gap:16px;align-items:flex-start;transition:.2s}
.feat:hover{border-color:rgba(31,214,122,.4);transform:translateY(-3px)}
.feat .ico{width:48px;height:48px;flex:0 0 48px;border-radius:12px;background:var(--card2);display:grid;place-items:center;color:var(--green)}
.feat .ico .ic{width:24px;height:24px}
.feat h3{font-size:17px;margin-bottom:4px}
.feat p{color:var(--muted);font-size:14px}

/* table */
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius);background:var(--card)}
table{width:100%;border-collapse:collapse;min-width:640px}
th,td{padding:16px 18px;text-align:left;border-bottom:1px solid var(--line);font-size:15px}
th{background:var(--card2);color:var(--gold);font-weight:800;text-transform:uppercase;font-size:12px;letter-spacing:1px}
tr:hover{background:rgba(255,255,255,.02)}
td .yes{color:var(--green)}
td .no{color:var(--red)}
td .btn{padding:8px 16px;font-size:13px}
.rank{color:var(--gold);font-weight:900}

/* chips */
.split{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.panel{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:28px}
.panel h3{font-size:22px;margin-bottom:6px;display:flex;align-items:center;gap:10px}
.panel h3 .ic{width:24px;height:24px;color:var(--gold)}
.panel .p-sub{color:var(--muted);margin-bottom:18px;font-size:15px}
.chips{display:flex;flex-wrap:wrap;gap:10px}
.chip{background:var(--card2);border:1px solid var(--line);color:var(--txt);padding:9px 16px;border-radius:100px;font-size:14px;font-weight:600}
.chip.g{border-color:rgba(31,214,122,.35)}

/* testimonials */
.rev-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.rev{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:24px}
.rev .stars{margin-bottom:10px}
.rev p{color:var(--muted);font-size:15px;margin-bottom:16px}
.rev .who{display:flex;align-items:center;gap:12px}
.rev .av{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,var(--gold),var(--green-d));display:grid;place-items:center;color:#0b0f1a;font-weight:900}
.rev .who b{display:block;font-size:15px}
.rev .who small{color:var(--muted)}

/* faq */
.faq{max-width:820px;margin:0 auto}
.q{background:var(--card);border:1px solid var(--line);border-radius:12px;margin-bottom:12px;overflow:hidden}
.q-head{padding:18px 22px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-weight:700;gap:14px}
.q-head .ic{color:var(--gold);transition:.25s}
.q.open .q-head .ic{transform:rotate(45deg)}
.q-body{max-height:0;overflow:hidden;transition:max-height .3s ease;color:var(--muted)}
.q-body div{padding:0 22px 20px}
.q.open .q-body{max-height:320px}

/* cta band */
.cta-band{background:linear-gradient(90deg,rgba(246,201,69,.14),rgba(31,214,122,.12));border-top:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center}
.cta-band h2{font-size:32px;margin-bottom:10px}
.cta-band p{color:var(--muted);margin-bottom:24px}

/* 18+ */
.age{background:var(--bg2);border:1px solid var(--line);border-radius:var(--radius);padding:22px;display:flex;gap:16px;align-items:center;max-width:900px;margin:0 auto}
.age .n18{width:56px;height:56px;flex:0 0 56px;border:2px solid var(--red);color:var(--red);border-radius:50%;display:grid;place-items:center;font-weight:900;font-size:18px}
.age p{color:var(--muted);font-size:14px}

/* footer */
footer{background:var(--bg2);border-top:1px solid var(--line);padding:56px 0 24px}
.foot-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.4fr;gap:34px;margin-bottom:34px}
.foot-grid h4{margin-bottom:16px;font-size:16px}
/* plain footer links only — :not(.btn) keeps this from clobbering buttons like "Chat Now" */
.foot-grid a:not(.btn){display:block;color:var(--muted);padding:5px 0;font-size:14px}
.foot-grid a:not(.btn):hover{color:var(--gold)}
.foot-grid p{color:var(--muted);font-size:14px}
.socials{display:flex;gap:10px;margin-top:16px}
/* scoped to .foot-grid so it still outranks the rule above */
.foot-grid .socials a{width:40px;height:40px;border-radius:10px;background:var(--card);display:grid;place-items:center;color:var(--muted);padding:0}
.foot-grid .socials a:hover{background:var(--card2);color:var(--gold)}
.foot-bottom{border-top:1px solid var(--line);padding-top:20px;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;color:var(--muted);font-size:13px}
.foot-bottom a{color:var(--muted)}
.foot-bottom a:hover{color:var(--gold)}

/* float wa */
.wa-float{position:fixed;right:20px;bottom:20px;z-index:60;width:60px;height:60px;border-radius:50%;
  background:var(--wa);display:grid;place-items:center;color:#fff;
  box-shadow:0 10px 30px rgba(37,211,102,.5);animation:pulse 2s infinite}
.wa-float .ic{width:30px;height:30px;stroke-width:1.6}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(37,211,102,.5)}70%{box-shadow:0 0 0 18px rgba(37,211,102,0)}100%{box-shadow:0 0 0 0 rgba(37,211,102,0)}}

/* inner pages */
.page-hero{background:var(--bg2);border-bottom:1px solid var(--line);padding:50px 0;text-align:center}
.page-hero h1{font-size:36px}
.page-hero p{color:var(--muted);margin-top:8px}
.prose{max-width:820px;margin:0 auto}
.prose h2{font-size:24px;margin:28px 0 10px;color:var(--gold)}
.prose p,.prose li{color:var(--muted);margin-bottom:12px}
.prose ul{padding-left:22px}
.form-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:28px}
.form-card label{display:block;font-weight:700;margin:14px 0 6px;font-size:14px}
.form-card input,.form-card textarea{width:100%;background:var(--bg2);border:1px solid var(--line);color:var(--txt);padding:12px 14px;border-radius:10px;font-size:15px;font-family:inherit}
.form-card .btn{width:100%;margin-top:20px}
.alert{background:rgba(31,214,122,.12);border:1px solid rgba(31,214,122,.4);color:var(--green);padding:12px 16px;border-radius:10px;margin-bottom:16px;font-size:14px}
.err{color:var(--red);font-size:13px;margin-top:4px}

/* blog cards */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.bcard{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.2s}
.bcard:hover{transform:translateY(-4px);border-color:rgba(246,201,69,.4)}
.bcard .thumb{height:150px;background:var(--card2);display:grid;place-items:center;color:var(--gold)}
.bcard .thumb .ic{width:40px;height:40px}
.bcard .thumb img{width:100%;height:100%;object-fit:cover}
.bcard .body{padding:20px}
.bcard .cat{color:var(--gold);font-size:12px;font-weight:800;letter-spacing:1px}
.bcard h3{font-size:18px;margin:6px 0 8px}
.bcard p{color:var(--muted);font-size:14px}

/* responsive */
@media(max-width:900px){
  .hero-grid{grid-template-columns:1fr}
  .hero h1{font-size:38px}
  .ex-grid,.steps-grid,.feat-grid,.rev-grid,.blog-grid{grid-template-columns:1fr 1fr}
  .foot-grid{grid-template-columns:1fr 1fr}
  .split{grid-template-columns:1fr}
  .nav{height:64px}
  .logo{font-size:16px;gap:7px}
  .logo .badge{width:32px;height:32px}
  .nav-cta{gap:8px}
  .nav-cta .btn{padding:9px 13px;font-size:13px}
  .burger{display:block}
  .menu{position:fixed;inset:64px 0 auto 0;background:var(--bg2);flex-direction:column;align-items:flex-start;gap:0;
    padding:10px 20px;border-bottom:1px solid var(--line);transform:translateY(-160%);transition:.3s}
  .menu.show{transform:translateY(0)}
  .menu a{padding:12px 0;width:100%;border-bottom:1px solid var(--line)}
}
@media(max-width:640px){
  section{padding:52px 0}
  .stats-grid{grid-template-columns:1fr 1fr}
  .ex-grid,.steps-grid,.feat-grid,.rev-grid,.blog-grid{grid-template-columns:1fr}
  .sec-head h2{font-size:27px}
  .hero h1{font-size:31px}
  .foot-grid{grid-template-columns:1fr}
}
