/* ==========================================================================
   Indiansbets — Tricolor Design System
   Teko (headings) + Noto Sans (body) · Saffron / Green / Navy
   ========================================================================== */

:root {
  /* Brand palette (Indian flag inspired) */
  --primary: #ff6b00;        /* saffron */
  --primary-dark: #e85d00;
  --primary-light: #ff8a33;
  --secondary: #138808;      /* Indian green */
  --secondary-dark: #0e6a06;
  --secondary-light: #1aa60a;
  --tertiary: #000080;       /* navy */
  --tertiary-light: #1a1a9e;

  --bg-body: #ffffff;
  --bg-section: #fff7ed;     /* warm saffron tint */
  --bg-dark: #1a1040;        /* deep indigo/navy */
  --bg-dark-2: #241659;
  --text: #1a1040;
  --text-soft: #4b4568;
  --text-muted: #6b6588;
  --line: #eadfce;
  --line-strong: #d9cbb2;
  --white: #ffffff;

  --gold: #f5b301;
  --danger: #c0392b;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(26, 16, 64, .08);
  --shadow: 0 10px 30px rgba(26, 16, 64, .10);
  --shadow-lg: 0 24px 60px rgba(26, 16, 64, .18);
  --ring: 0 0 0 3px rgba(255, 107, 0, .30);

  --maxw: 1180px;
  --font-head: 'Teko', 'Noto Sans', system-ui, sans-serif;
  --font-body: 'Noto Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --tricolor: linear-gradient(90deg, var(--primary) 0 33.33%, #ffffff 33.33% 66.66%, var(--secondary) 66.66% 100%);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-body);
  line-height: 1.7;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; height: auto; }
[hidden] { display: none !important; }
a { color: var(--primary-dark); text-decoration: none; transition: color .18s; }
a:hover { color: var(--primary); }
ul, ol { padding-left: 1.25rem; }
li { margin: .35rem 0; }
strong { font-weight: 700; color: var(--text); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: .3px;
  color: var(--tertiary);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h4 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
p { margin: 0 0 1.05rem; color: var(--text-soft); }
.lead { font-size: 1.18rem; color: var(--text-soft); }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--primary); border-radius: 2px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.container-narrow { max-width: 820px; }
.section { padding: clamp(52px, 8vw, 96px) 0; }
.section-tint { background: var(--bg-section); }
.section-dark { background: var(--bg-dark); color: #e9e5f5; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: #c7c0e0; }
.section-head { max-width: 720px; margin: 0 auto clamp(34px, 5vw, 56px); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head h2 { margin: .35rem 0 .6rem; }
.grid { display: grid; gap: 26px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

/* ---------- Tricolor bar ---------- */
.tricolor-bar { height: 5px; background: var(--tricolor); width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: .85rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .16s, box-shadow .16s, background .16s, color .16s;
  line-height: 1; text-align: center; white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(255,107,0,.32); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255,107,0,.42); }
.btn-green { background: var(--secondary); color: #fff; box-shadow: 0 8px 20px rgba(19,136,8,.30); }
.btn-green:hover { background: var(--secondary-dark); color: #fff; transform: translateY(-2px); }
.btn-navy { background: var(--tertiary); color: #fff; }
.btn-navy:hover { background: var(--tertiary-light); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--tertiary); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-dark); transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,.20); color: #fff; }
.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.1rem; }
.btn-block { display: flex; width: 100%; }
.btn-wa { background: #25d366; color: #06331b; }
.btn-wa:hover { background: #1fbe5a; color: #06331b; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topline { height: 4px; background: var(--tricolor); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 48px; height: 48px; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; line-height: .9; color: var(--tertiary); letter-spacing: .5px; }
.brand-name b { color: var(--primary); }
.brand-tag { display: block; font-family: var(--font-body); font-size: .62rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--secondary); }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-weight: 600; color: var(--text); padding: .55rem .9rem; border-radius: 999px; font-size: .98rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary-dark); background: var(--bg-section); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--tertiary); border-radius: 3px; margin: 5px 0; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(1200px 600px at 80% -10%, #2e1c73 0, transparent 60%), linear-gradient(160deg, #1a1040 0%, #241659 55%, #14213d 100%); color: #fff; overflow: hidden; }
.hero::before { /* Ashoka chakra watermark */
  content: ""; position: absolute; right: -120px; top: 50%; transform: translateY(-50%);
  width: 620px; height: 620px; opacity: .10;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><g fill='none' stroke='white' stroke-width='1.4'><circle cx='50' cy='50' r='46'/><circle cx='50' cy='50' r='8'/><line x1='58.00' y1='50.00' x2='96.00' y2='50.00'/><line x1='57.73' y1='52.07' x2='94.43' y2='61.91'/><line x1='56.93' y1='54.00' x2='89.84' y2='73.00'/><line x1='55.66' y1='55.66' x2='82.53' y2='82.53'/><line x1='54.00' y1='56.93' x2='73.00' y2='89.84'/><line x1='52.07' y1='57.73' x2='61.91' y2='94.43'/><line x1='50.00' y1='58.00' x2='50.00' y2='96.00'/><line x1='47.93' y1='57.73' x2='38.09' y2='94.43'/><line x1='46.00' y1='56.93' x2='27.00' y2='89.84'/><line x1='44.34' y1='55.66' x2='17.47' y2='82.53'/><line x1='43.07' y1='54.00' x2='10.16' y2='73.00'/><line x1='42.27' y1='52.07' x2='5.57' y2='61.91'/><line x1='42.00' y1='50.00' x2='4.00' y2='50.00'/><line x1='42.27' y1='47.93' x2='5.57' y2='38.09'/><line x1='43.07' y1='46.00' x2='10.16' y2='27.00'/><line x1='44.34' y1='44.34' x2='17.47' y2='17.47'/><line x1='46.00' y1='43.07' x2='27.00' y2='10.16'/><line x1='47.93' y1='42.27' x2='38.09' y2='5.57'/><line x1='50.00' y1='42.00' x2='50.00' y2='4.00'/><line x1='52.07' y1='42.27' x2='61.91' y2='5.57'/><line x1='54.00' y1='43.07' x2='73.00' y2='10.16'/><line x1='55.66' y1='44.34' x2='82.53' y2='17.47'/><line x1='56.93' y1='46.00' x2='89.84' y2='27.00'/><line x1='57.73' y1='47.93' x2='94.43' y2='38.09'/></g></svg>");
  background-size: contain; background-repeat: no-repeat;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: clamp(46px, 8vw, 92px) 0; }
.hero h1 { color: #fff; margin: .5rem 0 1rem; }
.hero h1 .accent { color: var(--primary); }
.hero p { color: #cdc6e8; font-size: 1.15rem; max-width: 40ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.7rem; }
.hero-stats { display: flex; gap: 30px; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat .num { display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--primary); line-height: 1; }
.hero-stat .lbl { display: block; font-size: .82rem; color: #b3abd4; letter-spacing: .5px; margin-top: 4px; max-width: 12ch; }
.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-lg); backdrop-filter: blur(6px);
}
.hero-card img { border-radius: var(--radius); }
.hero-card .cap { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .9rem; color: #d7d1ee; }

/* ---------- Badges / chips ---------- */
.badge { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .78rem; letter-spacing: .4px; padding: .3rem .7rem; border-radius: 999px; }
.badge-green { background: rgba(19,136,8,.12); color: var(--secondary-dark); border: 1px solid rgba(19,136,8,.25); }
.badge-saffron { background: rgba(255,107,0,.12); color: var(--primary-dark); border: 1px solid rgba(255,107,0,.28); }
.badge-navy { background: rgba(0,0,128,.10); color: var(--tertiary); border: 1px solid rgba(0,0,128,.22); }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--text-soft); }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s; height: 100%; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card .ic { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.ic-saffron { background: rgba(255,107,0,.12); color: var(--primary-dark); }
.ic-green { background: rgba(19,136,8,.12); color: var(--secondary-dark); }
.ic-navy { background: rgba(0,0,128,.10); color: var(--tertiary); }
.card h3 { color: var(--tertiary); margin-bottom: .4rem; }
.card h4 { color: var(--tertiary); margin-bottom: .4rem; }
.card p { font-size: .98rem; margin-bottom: 0; }

/* feature card with top accent */
.feature { position: relative; overflow: hidden; }
.feature::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--tricolor); }

/* Tool promo card */
.tool-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; height: 100%; }
.tool-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tool-card .thumb { aspect-ratio: 16/10; background: var(--bg-dark); display: grid; place-items: center; position: relative; overflow: hidden; }
.tool-card .thumb svg { width: 74px; height: 74px; }
.tool-card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tool-card .body h3 { margin: 0; color: var(--tertiary); }
.tool-card .body p { flex: 1; font-size: .96rem; }
/* tool cards keep a light body even inside dark sections */
.section-dark .tool-card .body h3 { color: var(--tertiary); }
.section-dark .tool-card .body p { color: var(--text-soft); }
.section-dark .tool-card .body .btn-outline { color: var(--tertiary); border-color: var(--line-strong); }

/* ---------- Content prose ---------- */
.prose h2 { margin: 2.2rem 0 .8rem; }
.prose h3 { margin: 1.8rem 0 .6rem; color: var(--primary-dark); }
.prose ul, .prose ol { margin: 0 0 1.1rem; }
.prose li { color: var(--text-soft); }
.prose p a, .prose li a { text-decoration: underline; text-underline-offset: 3px; }
.callout { border-left: 5px solid var(--primary); background: var(--bg-section); padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.5rem 0; }
.callout.green { border-color: var(--secondary); background: rgba(19,136,8,.06); }
.callout.navy { border-color: var(--tertiary); background: rgba(0,0,128,.05); }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { position: relative; padding-left: 66px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--tertiary); color: #fff; font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; display: grid; place-items: center; }
.step:nth-child(3n+1)::before { background: var(--primary); }
.step:nth-child(3n+2)::before { background: var(--secondary); }
.step h4 { margin-bottom: .25rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); background: #fff; }
table.data { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .96rem; }
table.data thead th { background: var(--tertiary); color: #fff; font-family: var(--font-body); font-weight: 700; text-align: left; padding: 13px 16px; font-size: .82rem; letter-spacing: .5px; text-transform: uppercase; white-space: nowrap; }
table.data tbody td { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--text-soft); vertical-align: middle; }
table.data tbody tr:nth-child(even) { background: #fcf8f1; }
table.data tbody tr:hover { background: var(--bg-section); }
.res-win { color: var(--secondary-dark); font-weight: 700; }
.res-loss { color: var(--danger); font-weight: 700; }
.res-draw, .res-nr { color: var(--text-muted); font-weight: 700; }
.fmt-tag { font-weight: 700; font-size: .72rem; padding: .2rem .5rem; border-radius: 6px; letter-spacing: .5px; }
.fmt-Test { background: rgba(0,0,128,.10); color: var(--tertiary); }
.fmt-ODI { background: rgba(255,107,0,.12); color: var(--primary-dark); }
.fmt-T20I { background: rgba(19,136,8,.12); color: var(--secondary-dark); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; color: var(--text); }
.field input, .field select {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; color: var(--text); background: #fff; transition: border-color .16s, box-shadow .16s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); }
.input-wrap { position: relative; }
.input-wrap .toggle-pass { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: 0; cursor: pointer; color: var(--text-muted); font-weight: 600; font-size: .85rem; }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 6px 0 14px; font-size: .92rem; }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: .9rem; color: var(--text-soft); }
.check input { width: auto; margin-top: 4px; accent-color: var(--primary); }
.form-note { font-size: .82rem; color: var(--text-muted); }
.form-alert { background: rgba(255,107,0,.08); border: 1px solid rgba(255,107,0,.25); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .88rem; color: var(--primary-dark); margin-bottom: 18px; display: flex; gap: 10px; align-items: flex-start; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow .18s, border-color .18s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; color: var(--tertiary); display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 26px; height: 26px; position: relative; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; background: var(--primary); border-radius: 2px; transition: transform .2s; }
.faq summary .plus::before { top: 12px; left: 3px; right: 3px; height: 3px; }
.faq summary .plus::after { left: 12px; top: 3px; bottom: 3px; width: 3px; }
.faq details[open] summary .plus::after { transform: scaleY(0); }
.faq .ans { padding: 0 22px 20px; }
.faq .ans p { margin-bottom: .7rem; font-size: .98rem; }
.faq .ans p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--primary) 0%, #ff8a33 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 54px); text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 52ch; margin-inline: auto; }
.cta-band .btn-primary { background: #fff; color: var(--primary-dark); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.cta-band .btn-primary:hover { background: #1a1040; color: #fff; }

/* ---------- Trust / disclaimer strip ---------- */
.trust-strip { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: center; align-items: center; }
.trust-strip .chip { background: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #c7c0e0; padding-top: 56px; }
.site-footer a { color: #cdc6e8; }
.site-footer a:hover { color: var(--primary-light); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.10); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 52px; height: 52px; }
.footer-brand .brand-name { color: #fff; }
.footer-col h4 { color: #fff; font-family: var(--font-head); font-size: 1.4rem; margin-bottom: 14px; letter-spacing: .5px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: .55rem 0; }
.footer-disc { font-size: .86rem; color: #9a92bf; max-width: 46ch; }
.age-badge { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--primary); color: var(--primary-light); border-radius: 50%; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; flex: none; }
.rg-line { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10); border-radius: var(--radius); padding: 14px 18px; margin: 26px 0; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding: 22px 0 30px; font-size: .85rem; color: #9a92bf; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; }

/* ---------- Breadcrumb ---------- */
.crumb { font-size: .85rem; color: var(--text-muted); padding: 16px 0 0; }
.crumb a { color: var(--text-muted); }
.crumb a:hover { color: var(--primary-dark); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(160deg, #1a1040 0%, #241659 100%); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 45%; background: var(--tricolor); opacity: .06; }
.page-hero .container { position: relative; z-index: 2; padding-top: clamp(30px, 5vw, 46px); padding-bottom: clamp(38px, 6vw, 60px); }
.page-hero h1 { color: #fff; margin: .4rem 0 .7rem; }
.page-hero p { color: #cdc6e8; max-width: 62ch; font-size: 1.12rem; }
.page-hero .crumb, .page-hero .crumb a { color: #a99fd0; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45); transition: transform .18s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

/* ---------- Author / E-E-A-T box ---------- */
.author-box { display: flex; gap: 18px; align-items: center; background: var(--bg-section); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.author-box .ava { width: 60px; height: 60px; border-radius: 50%; background: var(--tertiary); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.7rem; flex: none; }
.author-box .meta strong { display: block; color: var(--tertiary); font-size: 1.05rem; }
.author-box .meta span { font-size: .88rem; color: var(--text-muted); }

/* ==========================================================================
   TOOL STYLES
   ========================================================================== */
.tool-shell { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.tool-shell .tool-head { background: var(--bg-dark); color: #fff; padding: 20px 24px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tool-shell .tool-head h3 { color: #fff; margin: 0; }
.tool-body { padding: clamp(20px, 3vw, 30px); }

/* IPL Auction Calculator */
.purse-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.purse-stat { background: var(--bg-section); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center; }
.purse-stat .v { font-family: var(--font-head); font-size: 2.3rem; font-weight: 700; line-height: 1; }
.purse-stat .l { font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-top: 4px; }
.purse-stat.remain .v { color: var(--secondary-dark); }
.purse-stat.spent .v { color: var(--primary-dark); }
.purse-stat.squad .v { color: var(--tertiary); }
.purse-stat.over .v { color: var(--danger); }
.meter { height: 12px; border-radius: 999px; background: #eee3d2; overflow: hidden; margin-bottom: 24px; }
.meter > i { display: block; height: 100%; background: linear-gradient(90deg, var(--secondary), var(--secondary-light)); width: 0; transition: width .4s ease, background .3s; border-radius: 999px; }
.meter.warn > i { background: linear-gradient(90deg, var(--gold), var(--primary)); }
.meter.over > i { background: linear-gradient(90deg, var(--danger), #e74c3c); }
.pool-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pool-filter button { font-family: var(--font-body); font-weight: 600; font-size: .88rem; padding: .45rem .95rem; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--text-soft); cursor: pointer; transition: .16s; }
.pool-filter button:hover { border-color: var(--primary); color: var(--primary-dark); }
.pool-filter button.active { background: var(--tertiary); border-color: var(--tertiary); color: #fff; }
.player-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; max-height: 460px; overflow-y: auto; padding: 4px; }
.player { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; cursor: pointer; transition: .16s; background: #fff; position: relative; }
.player:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.player.picked { border-color: var(--secondary); background: rgba(19,136,8,.06); }
.player .pn { display: block; font-weight: 700; color: var(--tertiary); font-size: .98rem; line-height: 1.2; padding-right: 20px; }
.player .pr { display: block; font-size: .8rem; color: var(--text-muted); margin: 3px 0 8px; }
.player .pp { display: block; font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--primary-dark); line-height: 1; }
.player .tick { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--secondary); color: #fff; display: none; place-items: center; font-size: .8rem; }
.player.picked .tick { display: grid; }
.squad-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.squad-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--bg-section); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; font-size: .92rem; }
.squad-list .rm { background: none; border: 0; color: var(--danger); cursor: pointer; font-weight: 700; font-size: 1.1rem; line-height: 1; }
.tool-alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 600; margin-bottom: 16px; display: none; }
.tool-alert.show { display: block; }
.tool-alert.err { background: rgba(192,57,43,.10); color: var(--danger); border: 1px solid rgba(192,57,43,.3); }

/* India Match History */
.mh-controls { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; align-items: center; }
.mh-controls input[type="search"] { flex: 1; min-width: 220px; padding: .75rem 1rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); font-size: 1rem; font-family: var(--font-body); }
.mh-controls input:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); }
.mh-summary { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.mh-empty { text-align: center; padding: 40px; color: var(--text-muted); font-weight: 600; }

/* Desi Dice */
.dice-stage { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 20px 0; }
.dice-row { display: flex; gap: 26px; }
.die { width: 118px; height: 118px; border-radius: 20px; background: linear-gradient(150deg, #fff, #fff2df); border: 2px solid var(--line-strong); box-shadow: var(--shadow), inset 0 -6px 12px rgba(0,0,0,.05); display: grid; place-items: center; font-size: 3.6rem; transition: transform .1s; }
.die.rolling { animation: shake .5s ease; }
@keyframes shake { 0%,100%{transform:rotate(0) translateY(0);} 20%{transform:rotate(-12deg) translateY(-10px);} 40%{transform:rotate(10deg) translateY(6px);} 60%{transform:rotate(-8deg) translateY(-6px);} 80%{transform:rotate(6deg) translateY(3px);} }
.die .sym { font-size: 3.4rem; line-height: 1; }
.die .name { position: absolute; }
.dice-face { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.dice-face .lbl { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--text-muted); }
.dice-result { min-height: 40px; text-align: center; font-family: var(--font-head); font-size: 1.8rem; font-weight: 600; color: var(--tertiary); }
.dice-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 24px; }
.dice-legend .leg { display: flex; align-items: center; gap: 12px; background: var(--bg-section); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; }
.dice-legend .leg .e { font-size: 1.8rem; line-height: 1; }
.dice-legend .leg .t strong { display: block; color: var(--tertiary); font-size: .95rem; }
.dice-legend .leg .t span { font-size: .8rem; color: var(--text-muted); }
.dice-log { margin-top: 20px; max-height: 160px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.dice-log table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.dice-log th, .dice-log td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.dice-log th { background: var(--bg-section); color: var(--text); font-weight: 700; position: sticky; top: 0; }

/* ---------- Inline icon sizing (SVGs used directly in text/flex) ---------- */
.ic svg { width: 28px; height: 28px; }
.eyebrow svg { width: 1.15em; height: 1.15em; flex: none; }
.tool-head > svg { width: 30px; height: 30px; flex: none; }
.chip svg { width: 1.2em; height: 1.2em; flex: none; }
.badge svg { width: 1.05em; height: 1.05em; flex: none; }
.hero-card .cap svg { width: 1.3em; height: 1.3em; flex: none; }
.form-alert svg { width: 22px; height: 22px; flex: none; }
.author-box .meta + * svg, .author-box .badge svg { width: 1em; height: 1em; }

/* ---------- Utilities ---------- */
.stack-sm > * + * { margin-top: .6rem; }
.muted { color: var(--text-muted); }
.hidden { display: none !important; }
.divider { height: 1px; background: var(--line); margin: 30px 0; border: 0; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px);
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 90px 22px 30px; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .28s ease; z-index: 55;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: .9rem 1rem; border-radius: var(--radius-sm); font-size: 1.05rem; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-scrim { position: fixed; inset: 0; background: rgba(26,16,64,.5); opacity: 0; visibility: hidden; transition: .25s; z-index: 50; }
  .nav-open .nav-scrim { opacity: 1; visibility: visible; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .purse-bar { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .dice-row { gap: 16px; }
  .die { width: 96px; height: 96px; }
  .nav-cta .btn-outline { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
