/* Ratin Special — "Aurora" theme. Loaded AFTER the page CSS on every page.
   Only looks change here; all features/JS/IDs are untouched.
   Recolour: edit --g1/--g2/--g3. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");
:root {
  /* palette taken from the Ratin Special extension panel */
  --bg: #0a0a0c; --surface: #151517; --surface-2: #1a1a1c; --field: #1e1e21;
  --line: #2a2a2e; --line-strong: #3a3a40;
  --text: #f0efe9; --muted: #87858c;
  --g1: #efe36a; --g2: #d8c84a; --g3: #b3a42e;
  --accent: #d8c84a; --accent-rgb: 216,200,74; --accent-dim: #5a5420; --accent-ink: #1a1900;
  --teal: #5fd6c4; --danger: #ff6b6b;
  --grad: linear-gradient(100deg, var(--g1), var(--g2) 55%, var(--g3));
  --font-display: "Inter", system-ui, sans-serif; --font-body: "Inter", system-ui, sans-serif;
}
body { background: var(--bg); font-family: var(--font-body); }
h1, h2, h3, .price, .brand { letter-spacing: -.02em; }

/* glow orbs behind everything */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .28; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 520px; height: 520px; background: var(--g1); top: -140px; left: -120px; }
.aurora i:nth-child(2) { width: 460px; height: 460px; background: var(--g2); top: 30%; right: -160px; animation-delay: -6s; opacity: .35; }
.aurora i:nth-child(3) { width: 420px; height: 420px; background: #5a5420; bottom: -160px; left: 25%; animation-delay: -11s; opacity: .28; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }

/* buttons: gradient pill */
.btn { border-radius: 999px; font-weight: 600; }
.btn-primary, .co-btn { background: var(--grad); color: var(--accent-ink); box-shadow: 0 8px 28px rgba(216,200,74,.28); }
.btn-primary:hover:not(:disabled) { filter: brightness(1.1); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line-strong); }
.co-btn:hover { background: var(--grad); filter: brightness(1.1); }

/* gradient text */
.grad, .price, .hero h1 em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; font-style: normal; }

/* nav: floating glass pill */
.nav { top: 12px; margin: 12px auto 0; max-width: 1120px; width: calc(100% - 24px); border: 1px solid var(--line); border-radius: 999px; background: rgba(21,21,23,.7); }
.nav-in { height: 60px; padding: 0 10px 0 16px; }
.brand img { border-radius: 50%; width: 36px; height: 36px; }
.nav-links a { border-radius: 999px; }

/* hero */
.hero { padding: 72px 0 24px; position: relative; }
.hero h1 { font-weight: 800; font-size: clamp(44px, 6.6vw, 88px); line-height: 1; }
.cover { position: relative; border: 0; background: none; overflow: visible; }
.cover::before { content: ""; position: absolute; inset: -8% -14% -8% 10%; z-index: -1; background:
  radial-gradient(60% 50% at 70% 40%, rgba(216,200,74,.4), transparent 70%),
  radial-gradient(60% 55% at 40% 60%, rgba(90,84,32,.5), transparent 70%),
  radial-gradient(50% 40% at 80% 75%, rgba(216,200,74,.5), transparent 70%); filter: blur(30px); animation: drift 12s ease-in-out infinite alternate; }
.cover img { border-radius: 22px; border: 1px solid var(--line-strong); box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-.6deg); } }
.checks svg, .feat-ico, .co-n, .co-saved, .co-link { color: var(--accent); }

/* marquee ticker */
.ticker { margin-top: 56px; overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker-track { display: flex; gap: 44px; width: max-content; animation: slide 30s linear infinite; font-weight: 700; font-size: 18px; color: var(--muted); white-space: nowrap; }
.ticker-track b { font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes slide { to { transform: translateX(-50%); } }

/* cards: glass */
.feat, .review, .collab, .community, .faq details, .reviews-empty, .buy, .buy-side, .checkout-box, .co-panel {
  background: var(--surface); border-color: var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 20px; }
.feat { transition: transform .25s, border-color .25s; }
.feat:hover, .review:hover { transform: translateY(-6px); border-color: rgba(216,200,74,.5); }
.feat-ico { background: rgba(216,200,74,.12); border-color: rgba(216,200,74,.35); border-radius: 14px; }
.review-stars { color: #d8c84a; }
.buy { border-color: rgba(216,200,74,.4); box-shadow: 0 0 80px rgba(216,200,74,.10); }
.section-head h2 { font-weight: 800; font-size: clamp(32px, 4.2vw, 52px); }
.promo { color: #d8c84a; }
.co-field:focus-within, .co-coupon input:focus { border-color: var(--accent); }
.co-field, .co-coupon input, .co-ico { background: var(--field); }

/* scroll reveal (JS adds .in; without JS everything stays visible) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* login / dashboard: same glass + gradient via shared vars */
.auth-shell, .auth-card, .card, .panel, .key-box { backdrop-filter: blur(14px); }
input:focus, textarea:focus { border-color: var(--accent) !important; box-shadow: 0 0 0 3px rgba(216,200,74,.18); }

@media (max-width: 760px) { .nav { border-radius: 22px; } .ticker-track { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .aurora i, .cover::before, .cover img, .ticker-track { animation: none; } .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== v2: iOS-style animated deep-blue, 3D scroll, mouse effects ===== */
html, body { background: #0a0a0c; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: radial-gradient(120% 70% at 50% -10%, #1a1a1c 0%, #101012 45%, #0a0a0c 100%); }
.aurora { transform: translate3d(calc(var(--px,0) * 26px), calc(var(--sy,0) * -.12px), 0); transition: transform .4s ease-out; }
.aurora i { filter: blur(110px); opacity: .28; mix-blend-mode: screen; }
.aurora i:nth-child(1) { background: #d8c84a; animation: blob1 16s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { background: #5a5420; opacity: .5; animation: blob2 20s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { background: #3a3a40; opacity: .4; animation: blob3 24s ease-in-out infinite alternate; }
.aurora::before, .aurora::after { content: ""; position: absolute; border-radius: 50%; filter: blur(110px); mix-blend-mode: screen; }
.aurora::before { width: 380px; height: 380px; background: #d8c84a; opacity: .12; bottom: 8%; right: 12%; animation: blob2 22s ease-in-out infinite alternate-reverse; }
.aurora::after { width: 460px; height: 460px; background: #5a5420; opacity: .3; top: 45%; left: -8%; animation: blob1 26s ease-in-out infinite alternate-reverse; }
@keyframes blob1 { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(14vw,12vh) scale(1.2); } 100% { transform: translate(4vw,28vh) scale(.9); } }
@keyframes blob2 { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(-16vw,10vh) scale(1.15); } 100% { transform: translate(-6vw,-14vh) scale(1.3); } }
@keyframes blob3 { 0% { transform: translate(0,0) scale(1.1); } 100% { transform: translate(18vw,-18vh) scale(.85); } }
.cover::before { background: radial-gradient(60% 50% at 70% 40%, rgba(216,200,74,.35), transparent 70%), radial-gradient(60% 55% at 40% 60%, rgba(90,84,32,.5), transparent 70%), radial-gradient(50% 40% at 80% 75%, rgba(95,214,196,.18), transparent 70%); }
.btn-primary, .co-btn { background: var(--grad); color: var(--accent-ink); }
.btn { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); transform: translateX(-120%); transition: transform .7s; }
.btn-primary:hover::after { transform: translateX(120%); }

/* page-load entrance */
.hero h1, .hero-lead, .hero-cta, .checks, .cover { opacity: 0; animation: rise .9s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-lead { animation-delay: .15s; } .hero-cta { animation-delay: .3s; } .checks { animation-delay: .45s; } .cover { animation-delay: .25s; }
@keyframes rise { from { opacity: 0; transform: translateY(40px) rotateX(18deg); } to { opacity: 1; transform: none; } }

/* 3D scroll reveal */
.hero-grid, .section .wrap { perspective: 1200px; }
.js .reveal { opacity: 0; transform: perspective(1000px) translateY(80px) translateZ(-120px) rotateX(26deg) scale(.94); transform-origin: 50% 100%; transition: opacity .9s ease, transform 1s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: perspective(2200px) translate3d(0, var(--sy,0px), var(--sz,0px)) rotateX(calc(var(--rx,0deg) + var(--srx,0deg))) rotateY(var(--ry,0deg)); will-change: transform; }
/* tab cards fly in from the sides with a Y-axis swing */
.js .tab-grid .reveal:nth-child(odd):not(.in) { transform: perspective(1000px) translate3d(-70px, 70px, -140px) rotateY(22deg) rotateX(14deg) scale(.92); transform-origin: 100% 50%; }
.js .tab-grid .reveal:nth-child(even):not(.in) { transform: perspective(1000px) translate3d(70px, 70px, -140px) rotateY(-22deg) rotateX(14deg) scale(.92); transform-origin: 0% 50%; }
.js .reveal.in.done { transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .25s, box-shadow .25s; }
.cover { transform: translateY(var(--py,0px)) perspective(1000px) rotateX(var(--crx,0deg)) rotateY(var(--cry,0deg)); }
.cover.run { animation: none; opacity: 1; transition: transform .2s ease-out; }
.glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s; background: radial-gradient(260px circle at var(--gx,50%) var(--gy,50%), rgba(255,255,255,.14), transparent 60%); }
.reveal:hover > .glare, .cover:hover .glare { opacity: 1; }
.feat, .review, .buy, .community { position: relative; }

/* mouse effects */
.cursor-glow { position: fixed; left: 0; top: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(circle, rgba(216,200,74,.14), transparent 62%); mix-blend-mode: screen; will-change: transform; }
.cursor-ring { position: fixed; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1.5px solid rgba(216,200,74,.7); border-radius: 50%; pointer-events: none; z-index: 100000; transition: width .2s, height .2s, margin .2s, background .2s, border-color .2s; will-change: transform; }
.cursor-ring.hot { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(216,200,74,.14); border-color: #efe36a; }
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 100001; transform-origin: 0 50%; transform: scaleX(var(--p,0)); background: linear-gradient(90deg, #b3a42e, #d8c84a, #efe36a); }
.nav.scrolled { background: rgba(21,21,23,.88); box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.ticker-track b { background: linear-gradient(100deg, #efe36a, #d8c84a); -webkit-background-clip: text; background-clip: text; }
@media (pointer: coarse) { .cursor-glow, .cursor-ring { display: none; } }
@media (prefers-reduced-motion: reduce) { .aurora i, .aurora::before, .aurora::after { animation: none; } .hero h1, .hero-lead, .hero-cta, .checks, .cover { opacity: 1; animation: none; } .cursor-glow, .cursor-ring { display: none; } }

.usd-line { margin-top: 10px; font-weight: 600; color: #efe36a; font-size: 15px; }

/* ---- stop the page from auto-zooming / drifting on mobile (horizontal overflow containment) ---- */
html { overflow-x: clip; max-width: 100%; }
body { overflow-x: clip; max-width: 100%; position: relative; }
main, .section, .hero, .ticker { overflow-x: clip; }
.ticker { contain: paint; }
.ticker-track { will-change: transform; }
.cursor-glow, .cursor-ring { max-width: 100vw; }

/* ---- desktop: shrink everything ~20% (change .8 to taste: .75 smaller, .85 bigger) ---- */
@media (min-width: 900px) {
  .nav, main, .foot, .checkout-box { zoom: .8; }
}

/* ===== Product cards: each product wears its own app colours (like the bKash / Nagad cards) ===== */
.prod-badge { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; flex: none; border-radius: 12px; background: #1a1900; border: 2px solid var(--pb, var(--accent)); color: var(--pb, var(--accent)); font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; line-height: 1; box-shadow: 0 0 22px -4px var(--pb, var(--accent)); }
.prod-badge--ae { --pb: var(--accent); }
.prod-badge--pr { --pb: var(--accent); }
.prod-badge--sm { width: 26px; height: 26px; border-radius: 7px; border-width: 1.5px; font-size: 13px; margin-right: 8px; vertical-align: middle; box-shadow: none; }
.prod-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.prod-tag { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pb); line-height: 1.3; }
.prod-tag small { display: block; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: none; color: rgba(255,255,255,.62); }

.buy.buy--ae, .buy.buy--pr { color: #fff; }
.buy.buy--ae { --pb: var(--accent); background: linear-gradient(135deg, #121214 0%, #17171a 55%, #1d1c14 100%); border-color: rgba(216,200,74,.45); box-shadow: 0 0 80px rgba(216,200,74,.10); }
.buy.buy--pr { --pb: var(--accent); background: linear-gradient(135deg, #121214 0%, #17171a 55%, #1d1c14 100%); border-color: rgba(216,200,74,.45); box-shadow: 0 0 80px rgba(216,200,74,.10); }
.buy--ae .buy-main > p, .buy--pr .buy-main > p { color: rgba(255,255,255,.72); }
.buy--ae .price, .buy--pr .price { background: none !important; -webkit-text-fill-color: var(--pb) !important; color: var(--pb) !important; }
.buy--ae .promo, .buy--pr .promo, .buy--ae .usd-line, .buy--pr .usd-line { color: #fff; opacity: .92; }
.buy--ae .buy-side, .buy--pr .buy-side { background: rgba(0,0,0,.28); border-left-color: rgba(255,255,255,.14); }
.buy--ae .buy-side li small, .buy--pr .buy-side li small { color: rgba(255,255,255,.6); }
.buy--ae .buy-side svg, .buy--pr .buy-side svg { color: var(--pb); }
.buy--ae .btn-primary, .buy--pr .btn-primary { background: var(--pb) !important; background-image: none !important; color: var(--accent-ink); box-shadow: 0 8px 26px -8px var(--pb); }
.buy--ae .btn-primary:disabled, .buy--pr .btn-primary:disabled { opacity: .55; cursor: not-allowed; }
.buy--ae .btn-ghost, .buy--pr .btn-ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.co-sub .prod-badge--sm { margin-right: 8px; }

/* Main pointer: green 3D arrow (assets/cursor-arrow.png) */
@media (pointer: fine) {
  html, html * { cursor: url("../assets/cursor-arrow.png") 1 1, default !important; }
  html input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=button]):not([type=submit]), html textarea { cursor: text !important; }
}

/* Hand pointer on anything clickable */
@media (pointer: fine) {
  html a, html a *, html button, html button *, html summary, html summary *, html label, html select, html [role="button"], html .btn, html .co-chip, html .dp-p, html .dp-trc, html .dp-sw, html .dp-ck2,
  html input[type=checkbox], html input[type=radio], html input[type=button], html input[type=submit], html input[type=range] { cursor: url("../assets/cursor-hand.png") 6 1, pointer !important; }
}

/* Combo card (AE + PR) - same look as the product cards */
.buy.buy--combo { --pb: var(--accent); color: #fff; background: linear-gradient(135deg, #121214 0%, #17171a 55%, #1d1c14 100%); border-color: rgba(216,200,74,.6); box-shadow: 0 0 80px rgba(216,200,74,.14); }
.buy--combo .buy-main > p { color: rgba(255,255,255,.72); }
.buy--combo .price { background: none !important; -webkit-text-fill-color: var(--pb) !important; color: var(--pb) !important; }
.buy--combo .usd-line { color: #fff; opacity: .92; }
.buy--combo .btn-primary { background: var(--pb) !important; background-image: none !important; color: var(--accent-ink); box-shadow: 0 8px 26px -8px var(--pb); }
.buy--combo .prod-head .prod-badge + .prod-badge { margin-left: -6px; }
.combo-save { display: inline-block; margin-top: 12px; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #1a1900; background: var(--accent); }
