/* ============================================================
   TopUpWorld — white / black / orange theme
   ============================================================ */
:root {
  --orange: #ff6a00;
  --orange-dark: #e85d00;
  --orange-soft: rgba(255,106,0,.14);
  --black: #000000;
  --ink: #f3f4f6;            /* primary text (light on dark) */
  --muted: #9aa1ad;
  --muted-2: #6b7280;
  --line: #262626;           /* borders on dark surfaces */
  --line-2: #1e1e1e;
  --bg: #0a0a0a;             /* page background */
  --bg-soft: #141414;        /* slightly raised background */
  --surface: #151515;        /* cards / panels */
  --ok: #34d27b;
  --shadow: 0 16px 40px rgba(0, 0, 0, .55);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, .4);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1440px;
  --gutter: clamp(16px, 3.5vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--ink);
  background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
/* Ensure headings/titles use light theme text on the dark background */
h1, h2, h3, h4, h5, h6 { color: var(--ink); }
img, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }
/* All text inputs render white text on the dark theme */
input, textarea, select { color: #ffffff; background-color: #2a2a2a; }
input::placeholder, textarea::placeholder { color: var(--muted-2); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }

/* Homepage goes fully edge-to-edge (no side gutter) */
.home-page { --gutter: 0px; }
.home-page .topbar .container,
.home-page .site-header .header-inner,
.home-page .subnav .container { padding-inline: 0; }

/* Shift the top sections (topbar, header, category nav) slightly to the left */
.topbar .container,
.site-header .header-inner,
.subnav .container { padding-left: calc(var(--gutter) * 0.45); }

/* ===== Buttons ===== */
.btn { font-weight: 600; font-size: .92rem; border: none; border-radius: 10px; cursor: pointer;
  padding: .62rem 1.2rem; transition: .18s ease; display: inline-flex; align-items: center;
  justify-content: center; gap: .5rem; line-height: 1; }
.btn-lg { padding: .9rem 1.7rem; font-size: 1rem; }
.btn-sm { padding: .45rem .8rem; font-size: .82rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(255,106,0,.26); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-primary:disabled { background: #f1c9ad; box-shadow: none; cursor: not-allowed; transform: none; }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-outline { background: transparent; color: var(--orange); border: 1.5px solid var(--orange); }
.btn-outline:hover { background: var(--orange-soft); }

/* ===== Topbar ===== */
.topbar { background: var(--black); color: #cfcfcf; font-size: .8rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar-right { display: flex; align-items: center; }
.topbar-right a { color: #cfcfcf; transition: .2s; }
.topbar-right a:hover { color: var(--orange); }
.topbar-right .dot { margin: 0 .55rem; color: #555; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10,10,10,.85);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.5); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 76px; }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 900; flex-shrink: 0; }
.brand-mark svg { transition: transform .3s; }
.brand:hover .brand-mark svg { transform: rotate(-8deg) scale(1.06); }
.brand-name { font-size: 1.32rem; letter-spacing: -.5px; }
.brand-name span { color: var(--orange); }

/* primary nav links inside the main header row */
.header-nav { display: flex; align-items: center; gap: .25rem; }
.header-nav a { padding: .55rem .85rem; border-radius: 9px; font-weight: 600; font-size: .92rem;
  color: var(--ink); transition: .18s; display: inline-flex; align-items: center; gap: .4rem; }
.header-nav a:hover { background: var(--orange-soft); color: var(--orange-dark); }
.header-nav a.active { color: var(--orange); }

.header-search { flex: 1; max-width: 440px; display: flex; align-items: center; background: #1f1f1f;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: .2s; position: relative; }
.header-search:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); background: var(--surface); }
.header-search input { flex: 1; border: none; background: transparent !important; padding: .72rem .4rem .72rem .9rem;
  font-family: inherit; font-size: .95rem; outline: none; }
.header-search > button { border: none; background: transparent; padding: 0 .85rem; cursor: pointer;
  color: var(--muted); display: grid; place-items: center; }
.header-search:focus-within > button { color: var(--orange); }
.search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; display: none; z-index: 60; }
.search-results.open { display: block; }
.search-results a { display: flex; align-items: center; gap: .7rem; padding: .65rem .85rem; transition: .15s; }
.search-results a:hover { background: var(--bg-soft); }
.search-results img { width: 34px; height: 45px; border-radius: 6px; object-fit: cover; }
.search-results .sr-name { font-weight: 600; font-size: .9rem; }
.search-results .sr-pub { font-size: .78rem; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: .55rem; margin-left: auto; flex-shrink: 0; }
.lang-btn { background: transparent; border: 1px solid var(--line); border-radius: 10px;
  padding: .55rem .7rem; font-size: .85rem; cursor: pointer; color: var(--muted); transition: .2s; }
.lang-btn:hover { border-color: var(--orange); color: var(--orange); }
.cart-link { position: relative; width: 46px; height: 46px; border-radius: 11px; border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 1.25rem; transition: .2s; }
.cart-link:hover { border-color: var(--orange); background: var(--orange-soft); }
.cart-count { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--orange); color: #fff; font-size: .72rem; font-weight: 700; border-radius: 999px;
  display: grid; place-items: center; box-shadow: 0 2px 6px rgba(255,106,0,.4); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--ink); }

/* ===== Subnav (category strip) ===== */
.subnav { border-bottom: 1px solid var(--line); background: var(--surface); }
.subnav-inner { display: flex; gap: .2rem; height: 52px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav-inner a { color: var(--muted); font-weight: 600; font-size: .9rem; white-space: nowrap;
  padding: 0 .9rem; height: 100%; display: flex; align-items: center; gap: .4rem; position: relative; transition: .2s; }
.subnav-inner a::after { content: ''; position: absolute; left: .9rem; right: .9rem; bottom: 0; height: 3px;
  background: var(--orange); border-radius: 3px 3px 0 0; transform: scaleX(0); transition: transform .2s; }
.subnav-inner a:hover { color: var(--ink); }
.subnav-inner a.active { color: var(--orange); }
.subnav-inner a.active::after { transform: scaleX(1); }

/* ===== Breadcrumb ===== */
.crumbs { padding: 1rem 0; font-size: .85rem; color: var(--muted); display: flex; gap: .4rem; align-items: center; }
.crumbs a:hover { color: var(--orange); }
.crumbs .sep { color: var(--muted-2); }

/* ===== Hero ===== */
.hero { padding: 1.8rem 0 0; }
.hero-slider { position: relative; border-radius: 20px; overflow: hidden; min-height: 290px; box-shadow: var(--shadow); }
.slide { position: absolute; inset: 0; background: var(--g); display: flex; align-items: center;
  justify-content: space-between; padding: 2.5rem 3rem; opacity: 0; transition: opacity .6s ease; }
.slide.active { opacity: 1; position: relative; }
.slide-copy { max-width: 60%; color: #fff; z-index: 2; }
.eyebrow { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: 1.5px;
  background: rgba(255,255,255,.18); color: #fff; padding: .35rem .8rem; border-radius: 999px; margin-bottom: .9rem; }
.slide-copy h1 { font-size: clamp(1.6rem, 3.6vw, 2.7rem); line-height: 1.12; letter-spacing: -1px; margin-bottom: .7rem; }
.slide-copy p { font-size: 1.02rem; opacity: .92; margin-bottom: 1.3rem; }
.slide-art { font-size: clamp(4rem, 9vw, 8rem); filter: drop-shadow(0 10px 20px rgba(0,0,0,.3)); }
.hero-dots { display: flex; gap: .5rem; justify-content: center; margin-top: 1rem; }
.hero-dots button { width: 10px; height: 10px; border-radius: 999px; border: none; background: #d9d9d9; cursor: pointer; transition: .2s; }
.hero-dots button.active { background: var(--orange); width: 26px; }

/* ===== Stats strip ===== */
.stats-strip { padding: 1.6rem 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { display: flex; align-items: center; gap: .9rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.05rem 1.2rem; box-shadow: var(--shadow-sm); transition: .2s; }
.stat:hover { border-color: #ffd2ad; transform: translateY(-2px); }
.stat-ic { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--orange-soft);
  background-repeat: no-repeat; background-position: center; background-size: 22px 22px; }
.stat-ic[data-ic="bolt"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }
.stat-ic[data-ic="shield"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 5 6v6c0 5 3.5 7.5 7 9 3.5-1.5 7-4 7-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.stat-ic[data-ic="card"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E"); }
.stat-ic[data-ic="support"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14v-3a8 8 0 0 1 16 0v3'/%3E%3Crect x='2' y='14' width='5' height='6' rx='1.5'/%3E%3Crect x='17' y='14' width='5' height='6' rx='1.5'/%3E%3C/svg%3E"); }
.stat strong { display: block; font-size: 1rem; }
.stat small { color: var(--muted); font-size: .82rem; }

/* ===== Sections ===== */
.section { padding: 3.2rem 0; }
/* Tighter gap between the offers and trending sections */
#offers { padding-bottom: 1rem; }
#trending { padding-top: 1rem; }
.section-dark { background: #111; color: var(--ink); border-block: 1px solid var(--line); }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.section-head.center { justify-content: center; text-align: center; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); letter-spacing: -.5px; }
.section-head p { color: var(--muted); margin-top: .3rem; }
.section-dark .section-head p { color: #a9a9a9; }

/* ===== Category chips ===== */
.cat-filters { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 999px;
  padding: .5rem 1.1rem; font-weight: 600; font-size: .85rem; cursor: pointer; transition: .2s; }
.chip:hover { border-color: var(--orange); color: var(--orange); }
.chip.active { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ===== Game cards (horizontal carousel, larger) ===== */
.games-carousel { position: relative; }
.games-grid { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .3rem .2rem 1rem; scrollbar-width: none; }
.games-grid::-webkit-scrollbar { display: none; }
.game-card { flex: 0 0 232px; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: .22s ease; box-shadow: var(--shadow-sm); }
.game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #ffae6b; }
.game-thumb { aspect-ratio: 3/4; position: relative; overflow: hidden; background: var(--bg-soft); }
.game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.game-badge { position: absolute; top: .6rem; left: .6rem; background: var(--orange); color: #fff;
  font-size: .68rem; font-weight: 800; padding: .25rem .55rem; border-radius: 999px; letter-spacing: .5px; }
.game-thumb .quick { position: absolute; inset: auto 0 0 0; background: rgba(0,0,0,.82); color: #fff;
  text-align: center; padding: .6rem; font-size: .86rem; font-weight: 600; transform: translateY(100%); transition: .25s; }
.game-card:hover .quick { transform: translateY(0); }
.game-meta { padding: .85rem 1rem 1.1rem; }
.game-meta h3 { font-size: 1.05rem; line-height: 1.2; }
.game-meta p { color: var(--muted); font-size: .82rem; margin-top: .2rem; }

/* Rail prev/next buttons */
.rail-nav { position: absolute; top: 38%; transform: translateY(-50%); z-index: 5; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--line); background: rgba(20,20,20,.85); color: #fff;
  font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow); transition: .2s; }
.rail-nav:hover { background: var(--orange); border-color: var(--orange); }
.rail-prev { left: -10px; }
.rail-next { right: -10px; }

/* ===== Vouchers ===== */
.vouchers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.2rem; }
.voucher-card { border-radius: var(--radius); padding: 1.3rem; color: #fff; position: relative; overflow: hidden;
  min-height: 160px; display: flex; flex-direction: column; justify-content: space-between; transition: .2s;
  border: none; text-align: left; }
.voucher-card:hover { transform: translateY(-5px); }
.voucher-card::after { content: ''; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px;
  background: rgba(255,255,255,.12); border-radius: 50%; }
.voucher-card .vc-top { position: relative; z-index: 2; }
.voucher-card h3 { font-size: 1.12rem; }
.voucher-card .vc-amt { font-size: 1.5rem; font-weight: 800; position: relative; z-index: 2; }
.voucher-card .vc-tag { font-size: .76rem; opacity: .9; display: block; margin-bottom: .2rem; }
.voucher-card .vc-foot { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.voucher-card .vc-price { font-weight: 800; font-size: 1.05rem; }
.btn-light { background: #fff; color: #141414; }
.btn-light:hover { background: #ffe1c6; }

/* ===== Steps / features ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; text-align: center; box-shadow: var(--shadow-sm); }
.step-num { width: 46px; height: 46px; border-radius: 14px; background: var(--orange-soft); color: var(--orange);
  font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; margin: 0 auto 1rem; }
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .92rem; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.3rem; box-shadow: var(--shadow-sm); }
.feature-ic { width: 48px; height: 48px; margin-bottom: .9rem; border-radius: 12px; background: var(--orange-soft);
  background-repeat: no-repeat; background-position: center; background-size: 24px 24px; }
.feature-ic[data-ic="bolt"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }
.feature-ic[data-ic="shield"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 5 6v6c0 5 3.5 7.5 7 9 3.5-1.5 7-4 7-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.feature-ic[data-ic="card"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E"); }
.feature-ic[data-ic="support"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14v-3a8 8 0 0 1 16 0v3'/%3E%3Crect x='2' y='14' width='5' height='6' rx='1.5'/%3E%3Crect x='17' y='14' width='5' height='6' rx='1.5'/%3E%3C/svg%3E"); }
.feature h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.feature p { color: var(--muted); font-size: .9rem; }

/* Footer social icons — real brand colors */
.socials a { background-repeat: no-repeat; background-position: center; background-size: 20px 20px; transition: .2s; }
.socials a:hover { transform: translateY(-3px); filter: brightness(1.1); }
.socials a[data-soc="fb"] { background-color: #1877f2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M14 9h3V6h-3c-2 0-3 1-3 3v2H9v3h2v6h3v-6h2.5l.5-3H14V9.5c0-.3.2-.5.5-.5z'/%3E%3C/svg%3E"); }
.socials a[data-soc="ig"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3CradialGradient id='ig' cx='30%25' cy='105%25' r='130%25'%3E%3Cstop offset='0' stop-color='%23fdf497'/%3E%3Cstop offset='.45' stop-color='%23fd5949'/%3E%3Cstop offset='.6' stop-color='%23d6249f'/%3E%3Cstop offset='.9' stop-color='%23285AEB'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='24' height='24' rx='6' fill='url(%23ig)'/%3E%3Crect x='6' y='6' width='12' height='12' rx='4' fill='none' stroke='%23fff' stroke-width='1.7'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='%23fff' stroke-width='1.7'/%3E%3Ccircle cx='16.4' cy='7.6' r='1' fill='%23fff'/%3E%3C/svg%3E"); background-size: cover; }
.socials a[data-soc="x"] { background-color: #000000; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17 3h3l-7 8 8 10h-6l-5-6-5 6H3l8-9L3 3h6l4 5z'/%3E%3C/svg%3E"); }
.socials a[data-soc="yt"] { background-color: #ff0000; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M10 9.2v5.6l5-2.8z'/%3E%3C/svg%3E"); }
.socials a[data-soc="dc"] { background-color: #5865f2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M19 5.5A16 16 0 0 0 15 4l-.3.5c1.6.4 2.6 1 3.6 1.7a13 13 0 0 0-12.6 0C6.7 5.5 7.7 4.9 9.3 4.5L9 4a16 16 0 0 0-4 1.5C2.5 9 2 12.5 2.2 16a16 16 0 0 0 4.9 2.5l.6-1c-.6-.2-1.2-.5-1.8-.9l.4-.3a11 11 0 0 0 9.4 0l.4.3c-.6.4-1.2.7-1.8.9l.6 1A16 16 0 0 0 21.8 16c.3-4-.5-7.5-2.8-10.5zM9 14c-.8 0-1.4-.7-1.4-1.6S8.2 10.8 9 10.8s1.4.7 1.4 1.6S9.8 14 9 14zm6 0c-.8 0-1.4-.7-1.4-1.6s.6-1.6 1.4-1.6 1.4.7 1.4 1.6S15.8 14 15 14z'/%3E%3C/svg%3E"); }
.socials a[data-soc="tg"] { background-color: #229ed9; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M21.9 4.4 18.6 20c-.2 1-.9 1.3-1.8.8l-5-3.7-2.4 2.3c-.3.3-.5.5-1 .5l.4-5 9.2-8.3c.4-.4-.1-.6-.6-.2L6 13.2l-4.9-1.5c-1-.3-1-1 .2-1.5l19.2-7.4c.9-.3 1.7.2 1.4 1.6z'/%3E%3C/svg%3E"); }
.socials a[data-soc="wa"] { background-color: #25d366; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 2a10 10 0 0 0-8.5 15.2L2 22l4.9-1.3A10 10 0 1 0 12 2zm0 18a8 8 0 0 1-4.1-1.1l-.3-.2-2.9.8.8-2.8-.2-.3A8 8 0 1 1 12 20zm4.4-6c-.2-.1-1.4-.7-1.6-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.5 6.5 0 0 1-3.2-2.8c-.2-.4.2-.4.6-1.2l-.1-.5-.8-1.9c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3c-.8.8-1 1.9-.6 3.1a11 11 0 0 0 4.6 4.6c1.6.7 2.6.6 3.5.5.5-.1 1.4-.6 1.6-1.1.2-.6.2-1 .1-1.1l-.5-.2z'/%3E%3C/svg%3E"); }

/* ===== CTA band ===== */
.cta-band { background: linear-gradient(135deg,#1c1407,#2a1605); border: 1px solid var(--line);
  color: var(--ink); border-radius: 20px; padding: 2.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h2 { font-size: 1.7rem; }
.cta-band p { color: var(--muted); margin-top: .3rem; }

/* ===== Footer ===== */
.site-footer { background: #0c0c0c; color: #b9b9b9; padding: 3rem 0 1.5rem; margin-top: 1rem; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1.6fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid #1f1f1f; }
.footer-brand .brand-name { color: #fff; font-size: 1.3rem; font-weight: 900; }
.footer-brand .brand-name span { color: var(--orange); }
.footer-brand p { margin-top: .6rem; font-size: .9rem; max-width: 24rem; color: #8f8f8f; }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { width: 36px; height: 36px; border-radius: 10px; background: #1c1c1c; display: grid; place-items: center; transition: .2s; }
.socials a:hover { background: var(--orange); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-cols h4, .footer-pay h4 { color: #fff; font-size: .95rem; margin-bottom: .8rem; }
.footer-cols a { display: block; color: #8f8f8f; font-size: .9rem; padding: .2rem 0; transition: .2s; }
.footer-cols a:hover { color: var(--orange); }
.pay-logos { display: flex; flex-wrap: wrap; gap: .5rem; }
.pay-logos span { background: #1c1c1c; color: #ddd; font-size: .72rem; font-weight: 700; padding: .4rem .6rem; border-radius: 6px; }
.footer-bottom { padding-top: 1.3rem; font-size: .85rem; color: #6f6f6f; text-align: center; }

/* ===== Game detail page ===== */
.gd { padding: 1rem 0 3rem; }
.gd-grid { display: grid; grid-template-columns: 320px 1fr; gap: 2rem; align-items: start; }
.gd-cover { position: sticky; top: 92px; }
.gd-cover img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.gd-cover .gd-tags { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }
.gd-tag { font-size: .78rem; background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted);
  padding: .35rem .7rem; border-radius: 999px; }
.gd-main h1 { font-size: 1.9rem; letter-spacing: -.5px; }
.gd-pub { color: var(--muted); margin-bottom: 1.4rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; margin-bottom: 1.3rem; box-shadow: var(--shadow-sm); }
.panel-title { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.05rem; margin-bottom: 1rem; }
.step-badge { width: 26px; height: 26px; border-radius: 8px; background: var(--orange); color: #fff;
  display: grid; place-items: center; font-size: .85rem; }
.id-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: .7rem; }
.field label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: .35rem; font-weight: 600; }
.field input { width: 100%; padding: .8rem .95rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; background: #2a2a2a; color: #ffffff; transition: .2s; }
.field input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.field input::placeholder { color: var(--muted-2); }
.field-hint { font-size: .78rem; color: var(--muted-2); margin-top: .35rem; }

/* ID verification */
.verify-row { display: flex; align-items: center; gap: .8rem; margin-top: .9rem; flex-wrap: wrap; }
.verify-result { font-size: .88rem; }
.verify-result.ok { color: var(--ok); }
.verify-result.ok strong { color: var(--ink); }
.verify-result .vr-region { color: var(--muted); font-weight: 600; }
.verify-result.err { color: #d11; }
.verify-result.warn { color: #ffc04d; }
.verify-result.loading { color: var(--muted); }

/* Manual confirmation (fallback when live verification isn't available) */
.confirm-row { display: flex; align-items: flex-start; gap: .6rem; margin-top: .9rem;
  padding: .8rem 1rem; background: var(--orange-soft); border: 1px solid #ffd2ad;
  border-radius: var(--radius-sm); font-size: .86rem; color: var(--ink); cursor: pointer; }
.confirm-row input { margin-top: .15rem; width: 18px; height: 18px; accent-color: var(--orange); flex-shrink: 0; }

/* Player ID warning note */
.id-warning { margin-top: .9rem; padding: .75rem .95rem; background: rgba(255,106,0,.08); border: 1px solid rgba(255,106,0,.3);
  border-radius: var(--radius-sm); font-size: .84rem; color: #ffb877; line-height: 1.5; }
.id-warning strong { color: #ffd089; }
.denoms { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.denom { border: 1.5px solid var(--line); background: #1b1b1b; border-radius: 14px;
  padding: 1.1rem .9rem .9rem; cursor: pointer; text-align: center; transition: .18s; position: relative; overflow: hidden; }
.denom:hover { border-color: #ff9248; transform: translateY(-2px); }
.denom.is-active { border-color: var(--orange); background: linear-gradient(180deg, rgba(255,106,0,.12), rgba(255,106,0,.04)); box-shadow: 0 0 0 1px var(--orange) inset; }
.denom-flag { position: absolute; top: 0; right: 0; background: var(--orange); color: #fff; font-size: .62rem;
  font-weight: 800; padding: .2rem .5rem; border-bottom-left-radius: 10px; letter-spacing: .3px; }
.denom-amt { display: flex; align-items: center; justify-content: center; gap: .3rem; font-weight: 700; font-size: 1rem; margin-bottom: .5rem; color: #ffffff; }
.denom-amt .cur-ic { width: 20px; height: 20px; margin: 0; vertical-align: middle; }
.denom-price { display: inline-block; color: var(--orange); font-size: 1.05rem; font-weight: 800; }
.denom.is-active::after { content: '✓'; position: absolute; bottom: .5rem; right: .6rem; color: var(--orange); font-weight: 800; font-size: .8rem; }
.pay-methods { display: flex; flex-wrap: wrap; gap: .5rem; }
.pay-method { border: 1.5px solid var(--line); background: #1b1b1b; border-radius: 999px;
  padding: .6rem 1.2rem; cursor: pointer; font-size: .9rem; transition: .2s; color: var(--ink); }
.pay-method:hover { border-color: #ff9248; }
.pay-method.is-active { border-color: var(--orange); background: var(--orange-soft); color: var(--orange); font-weight: 700; }

/* ===== Game top-up — professional redesign (gd2) ===== */
.gd2 { padding-bottom: 3rem; }
.gd2-banner { position: relative; border-radius: 20px; overflow: hidden; margin-bottom: 1.8rem;
  border: 1px solid var(--line); min-height: 220px; display: flex; align-items: flex-end; }
.gd2-banner-bg { position: absolute; inset: 0; }
.gd2-banner-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(26px) brightness(.4); transform: scale(1.15); }
.gd2-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.2), rgba(10,10,10,.92)); }
.gd2-banner-inner { position: relative; z-index: 2; display: flex; gap: 1.5rem; align-items: flex-end; padding: 1.8rem; width: 100%; }
.gd2-cover { flex-shrink: 0; width: 130px; aspect-ratio: 3/4; border-radius: 14px; overflow: hidden;
  box-shadow: 0 14px 36px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.12); }
.gd2-cover img { width: 100%; height: 100%; object-fit: cover; }
.gd2-eyebrow { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: #ffd089; background: rgba(255,106,0,.18); border: 1px solid rgba(255,106,0,.35); padding: .25rem .65rem; border-radius: 999px; margin-bottom: .5rem; }
.gd2-headline h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -.5px; line-height: 1.1; }
.gd2-pub { color: #cfcfcf; font-size: .95rem; margin-top: .2rem; }
.gd2-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.gd2-pill { font-size: .78rem; font-weight: 600; color: #f3f4f6; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16); padding: .3rem .7rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .35rem; }
.gd2-pill .cur-ic { width: 15px; height: 15px; margin: 0; }

.gd2-layout { display: grid; grid-template-columns: 1fr 350px; gap: 1.6rem; align-items: start; }
.gd2-main { display: flex; flex-direction: column; gap: 1.3rem; }
.gd2-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; box-shadow: var(--shadow-sm); }
.gd2-step { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; }
.gd2-step-no { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: var(--orange); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1rem; box-shadow: 0 6px 16px rgba(255,106,0,.3); }
.gd2-step h3 { font-size: 1.1rem; }
.gd2-step p { color: var(--muted); font-size: .85rem; margin-top: .1rem; }
.field .opt { color: var(--muted-2); font-weight: 400; }

/* Sticky order summary */
.gd2-summary { position: -webkit-sticky; position: sticky; top: 80px; align-self: start; }
.gd2-sum-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; box-shadow: var(--shadow); }
.gd2-sum-head { display: flex; gap: .8rem; align-items: center; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.gd2-sum-cover { width: 52px; aspect-ratio: 3/4; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.gd2-sum-cover img { width: 100%; height: 100%; object-fit: cover; }
.gd2-sum-head h3 { font-size: 1rem; }
.gd2-sum-head span { color: var(--muted); font-size: .82rem; }
.gd2-sum-line { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .9rem; color: var(--muted); padding: .4rem 0; }
.gd2-sum-line strong { color: var(--ink); text-align: right; word-break: break-all; }
.gd2-sum-total { border-top: 1px dashed var(--line); margin-top: .4rem; padding-top: .8rem; font-size: 1.05rem; }
.gd2-sum-total strong { color: var(--orange); font-size: 1.3rem; }
.gd2-sum-card .btn { margin-top: .7rem; }
.gd2-trust { display: flex; justify-content: space-between; gap: .4rem; margin-top: 1rem; font-size: .72rem; color: var(--muted); }

@media (max-width: 900px) {
  .gd2-layout { grid-template-columns: 1fr; }
  .gd2-summary { position: static; }
  .denoms { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .gd2-banner-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .gd2-cover { width: 92px; }
}

/* sticky purchase bar */
.buy-bar { position: sticky; bottom: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.3rem; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; box-shadow: 0 -8px 30px rgba(0,0,0,.4); flex-wrap: wrap; }
.buy-bar .bb-info { font-size: .9rem; color: var(--muted); }
.buy-bar .bb-info strong { display: block; color: var(--ink); font-size: 1.3rem; }
.buy-bar .bb-actions { display: flex; gap: .6rem; }

/* ===== Cart / checkout layout ===== */
.page-wrap { padding: 1.4rem 0 3rem; }
.page-title { font-size: 1.8rem; letter-spacing: -.5px; margin-bottom: 1.4rem; }
.cart-grid { display: grid; grid-template-columns: 1fr 360px; gap: 1.6rem; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 1rem; }
.cart-row { display: grid; grid-template-columns: 84px 1fr auto; gap: 1rem; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow-sm); }
.cart-row img { width: 84px; height: 110px; border-radius: var(--radius-sm); object-fit: cover; }
.cr-info h3 { font-size: 1.02rem; }
.cr-info .cr-sub { color: var(--muted); font-size: .85rem; margin-top: .1rem; }
.cr-info .cr-acct { font-size: .82rem; color: var(--muted-2); margin-top: .4rem; }
.cr-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.cr-price { font-weight: 800; color: var(--ink); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.qty button { width: 32px; height: 32px; border: none; background: #2f2f2f; color: #ffffff; cursor: pointer; font-size: 1.1rem; font-weight: 700; line-height: 1; transition: .15s; }
.qty button:hover { background: var(--orange); color: #fff; }
.qty span { width: 36px; text-align: center; font-weight: 700; font-size: .92rem; color: #ffffff; background: #1f1f1f; align-self: stretch; display: grid; place-items: center; }
.cr-remove { background: none; border: none; color: var(--muted-2); cursor: pointer; font-size: .8rem; }
.cr-remove:hover { color: #d11; }

.summary-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm); position: sticky; top: 92px; }
.summary-card h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.summary-line { display: flex; justify-content: space-between; font-size: .92rem; padding: .35rem 0; color: var(--muted); }
.summary-line strong { color: var(--ink); }
.summary-line.total { border-top: 1px dashed var(--line); margin-top: .5rem; padding-top: .7rem; font-size: 1.15rem; }
.summary-line.total strong { color: var(--orange); }
.promo { display: flex; gap: .5rem; margin: 1rem 0; }
.promo input { flex: 1; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; }
.secure-note { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--muted); margin-top: .9rem; justify-content: center; }

.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-state .es-emoji { font-size: 3.5rem; }
.empty-state h2 { margin: .6rem 0 .3rem; }
.empty-state p { color: var(--muted); margin-bottom: 1.2rem; }

/* checkout */
.checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 1.6rem; align-items: start; }
.co-section { margin-bottom: 1.3rem; }
.co-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.co-fields .full { grid-column: 1 / -1; }
.pay-option { display: flex; align-items: center; gap: .8rem; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: .9rem 1rem; cursor: pointer; margin-bottom: .6rem; transition: .2s; }
.pay-option:hover { border-color: #ffc89e; }
.pay-option.is-active { border-color: var(--orange); background: var(--orange-soft); }
.pay-option .po-ic { font-size: 1.4rem; }
.pay-option .po-name { font-weight: 600; }
.pay-option .po-desc { font-size: .8rem; color: var(--muted); }
.pay-option input { margin-left: auto; accent-color: var(--orange); width: 18px; height: 18px; }
.mini-items { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1rem; }
.mini-item { display: flex; gap: .7rem; align-items: center; }
.mini-item img { width: 40px; height: 52px; border-radius: 6px; object-fit: cover; }
.mini-item .mi-name { font-size: .88rem; font-weight: 600; }
.mini-item .mi-sub { font-size: .78rem; color: var(--muted); }
.mini-item .mi-price { margin-left: auto; font-weight: 700; font-size: .9rem; }

/* ===== Toast ===== */
.toast { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--black); color: #fff; padding: .9rem 1.4rem; border-radius: 12px; font-weight: 500;
  box-shadow: 0 12px 30px rgba(0,0,0,.3); z-index: 200; transition: transform .35s ease; max-width: 90%;
  border-left: 4px solid var(--orange); }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast-ok { border-left-color: var(--ok); }
.toast-err { border-left-color: #e23; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cart-grid, .checkout-grid { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .gd-grid { grid-template-columns: 240px 1fr; }
}
@media (max-width: 1080px) {
  .header-nav { display: none; }
}
@media (max-width: 820px) {
  .header-search { max-width: none; }
  .nav-toggle { display: block; }
  .header-actions .btn-ghost, .header-actions .lang-btn { display: none; }
  .slide-copy { max-width: 100%; }
  .slide-art { position: absolute; right: 1rem; bottom: -.5rem; opacity: .35; }
  .steps, .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .stats-inner, .footer-inner, .footer-cols { grid-template-columns: 1fr; }
  .steps, .features { grid-template-columns: 1fr; }
  .denoms { grid-template-columns: 1fr 1fr; }
  .id-row, .co-fields { grid-template-columns: 1fr; }
  .gd-grid { grid-template-columns: 1fr; }
  .gd-cover { position: static; max-width: 220px; margin: 0 auto; }
  .cart-row { grid-template-columns: 64px 1fr; }
  .cart-row img { width: 64px; height: 85px; }
  .cr-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .cta-band { text-align: center; justify-content: center; }
}

/* ============================================================
   v2 additions: full-width hero, trending, reviews, FAQ, login
   ============================================================ */

/* ----- Bigger buttons ----- */
.btn-xl { padding: 1.05rem 2.1rem; font-size: 1.08rem; border-radius: 12px; }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.35); }
.btn-glass:hover { background: rgba(255,255,255,.24); }

/* ----- Full-width hero (uploaded images) ----- */
.hero-full { position: relative; width: 100%; overflow: hidden; background: #120a06;
  aspect-ratio: 1440 / 460; max-height: 520px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.hero-slide.active { opacity: 1; position: relative; width: 100%; height: 100%; }
.hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-full .hero-dots { position: absolute; bottom: 1.1rem; left: 0; right: 0; z-index: 3; }
.hero-full .hero-dots button { background: rgba(255,255,255,.5); }
.hero-full .hero-dots button.active { background: #fff; }
.hero-loading { width: 100%; aspect-ratio: 1440 / 460; max-height: 520px; background:
  radial-gradient(1200px 600px at 80% -10%, #ff6a00 0%, #b03d00 35%, #160d08 80%); }

/* ----- Trending rail ----- */
.trending-rail { display: flex; gap: 1.1rem; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none; }
.trending-rail::-webkit-scrollbar { display: none; height: 0; }
.trend-card { flex: 0 0 200px; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; position: relative; transition: .2s; box-shadow: var(--shadow-sm); }
.trend-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #ffd2ad; }
.trend-rank { position: absolute; top: .5rem; left: .5rem; z-index: 2; background: var(--black); color: #fff;
  font-weight: 800; font-size: .8rem; padding: .25rem .55rem; border-radius: 8px; }
.trend-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.trend-meta { padding: .7rem .85rem .9rem; }
.trend-meta h3 { font-size: .95rem; }
.trend-meta p { font-size: .82rem; color: var(--orange); font-weight: 700; margin-top: .15rem; }

/* ----- Reviews ----- */
.reviews-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.review-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .7rem; }
.review-stars { color: #ffb300; font-size: 1.05rem; letter-spacing: 2px; }
.review-text { color: var(--ink); font-size: .92rem; flex: 1; }
.review-by { display: flex; align-items: center; gap: .6rem; }
.review-av { width: 38px; height: 38px; border-radius: 50%; background: var(--orange-soft); color: var(--orange);
  display: grid; place-items: center; font-weight: 800; }
.review-by strong { display: block; font-size: .9rem; }
.review-by small { color: var(--muted); font-size: .8rem; }

/* ----- FAQ ----- */
.faq-wrap { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: .7rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 1.1rem 1.2rem; font-family: inherit;
  font-weight: 600; font-size: 1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--ink); }
.faq-ic { font-size: 1.4rem; color: var(--orange); transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 260px; }
.faq-a p { padding: 0 1.2rem 1.1rem; color: var(--muted); font-size: .92rem; }

/* ----- Checkout: delivery rows + pay badges ----- */
.deliver-rows { display: flex; flex-direction: column; gap: .8rem; }
.deliver-row { display: grid; grid-template-columns: 44px 1fr auto; gap: .8rem; align-items: center;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .9rem; }
.deliver-row img { width: 44px; height: 58px; border-radius: 6px; object-fit: cover; }
.deliver-id { text-align: right; font-size: .82rem; }
.deliver-id span { color: var(--muted); display: block; font-size: .74rem; }
.deliver-id strong { color: var(--ink); }
.deliver-id em { display: block; color: var(--ok); font-style: normal; font-size: .78rem; }
.pay-badges { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 1rem; }
.pay-badges span { background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted);
  font-size: .72rem; font-weight: 700; padding: .35rem .6rem; border-radius: 6px; }

/* ----- Cart: clear button + remove styling ----- */
.btn-clear { width: 100%; background: none; border: none; color: var(--muted-2); cursor: pointer;
  font-family: inherit; font-size: .85rem; margin-top: .8rem; padding: .5rem; }
.btn-clear:hover { color: #d11; }
.cr-remove { background: none; border: 1px solid var(--line); border-radius: 8px; color: var(--muted);
  cursor: pointer; font-size: .78rem; font-family: inherit; padding: .35rem .6rem; transition: .2s; }
.cr-remove:hover { color: #fff; background: #d11; border-color: #d11; }

/* ----- Login modal ----- */
.login-card { position: relative; background: var(--surface); width: min(440px, 94%); margin: 7vh auto 0;
  border: 1px solid var(--line);
  border-radius: 20px; padding: 2.2rem 2rem; box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: pop .25s ease; }
.login-head { text-align: center; margin-bottom: 1.4rem; }
.login-head .brand-mark { display: inline-flex; margin-bottom: .6rem; }
.login-head h2 { font-size: 1.4rem; }
.login-head p { color: var(--muted); font-size: .9rem; margin-top: .3rem; }
.oauth-list { display: flex; flex-direction: column; gap: .6rem; }
.oauth-btn { display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%;
  padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-soft); color: var(--ink); cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: .95rem; transition: .2s; }
.oauth-btn:hover { border-color: var(--orange); background: var(--orange-soft); }
.oauth-ic { font-weight: 900; font-size: 1.1rem; }
.login-or { text-align: center; position: relative; margin: 1.2rem 0; color: var(--muted-2); font-size: .82rem; }
.login-or::before, .login-or::after { content: ''; position: absolute; top: 50%; width: 42%; height: 1px; background: var(--line); }
.login-or::before { left: 0; } .login-or::after { right: 0; }
.login-note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 1rem; line-height: 1.5; }

/* ----- Responsive for v2 ----- */
@media (max-width: 980px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero-full, .hero-loading { aspect-ratio: 16 / 10; max-height: none; }
}
@media (max-width: 560px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .hero-trust strong { font-size: 1.3rem; }
  .hero-chip { font-size: .78rem; padding: .4rem .7rem; }
}

/* ============================================================
   Auth modal + account page
   ============================================================ */
.auth-tabs { display: flex; gap: .4rem; background: var(--bg-soft); border-radius: 10px; padding: .3rem; margin-bottom: 1.2rem; }
.auth-tab { flex: 1; border: none; background: none; padding: .6rem; border-radius: 8px; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: .9rem; color: var(--muted); transition: .2s; }
.auth-tab.is-active { background: #fff; color: var(--orange); box-shadow: var(--shadow-sm); }

/* Account page */
.account-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.account-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--orange-soft); color: var(--orange);
  display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; }
.account-head h1 { font-size: 1.5rem; }
.account-head .btn-ghost { margin-left: auto; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: start; }

.saved-row { display: grid; grid-template-columns: 44px 1fr auto; gap: .8rem; align-items: center;
  padding: .8rem 0; border-bottom: 1px solid var(--line-2); }
.saved-row:last-child { border-bottom: none; }
.saved-row img { width: 44px; height: 58px; border-radius: 6px; object-fit: cover; }
.saved-info { display: flex; flex-direction: column; gap: .1rem; }
.saved-info strong { font-size: .95rem; }
.saved-info span { font-size: .82rem; color: var(--muted); }
.saved-info em { font-size: .8rem; color: var(--ok); font-style: normal; }
.saved-actions { display: flex; flex-direction: column; gap: .4rem; align-items: flex-end; }

.order-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  padding: .9rem 0; border-bottom: 1px solid var(--line-2); }
.order-row:last-child { border-bottom: none; }
.order-main { display: flex; flex-direction: column; gap: .15rem; }
.order-main strong { font-size: .9rem; }
.order-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; }
.order-amt { font-weight: 800; }
.status-pill { font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; }
.st-ok { background: rgba(52,210,123,.15); color: var(--ok); }
.st-pending { background: rgba(255,176,0,.15); color: #ffc04d; }
.st-fail { background: rgba(221,51,51,.15); color: #ff6b6b; }

@media (max-width: 820px) {
  .account-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Modal + login/auth (restored)
   ============================================================ */
.btn-xl { padding: 1rem 2rem; font-size: 1.05rem; border-radius: 12px; }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.35); }
.btn-glass:hover { background: rgba(255,255,255,.24); }

.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(3px); }
.modal-close { position: absolute; top: .7rem; right: 1rem; background: none; border: none; font-size: 1.9rem;
  line-height: 1; cursor: pointer; color: var(--muted); z-index: 2; }
@keyframes pop { from { transform: translateY(20px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }

.login-note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 1rem; line-height: 1.5; }

.field { margin-bottom: .2rem; }
.field + .field { margin-top: .8rem; }
.auth-tabs { display: flex; gap: .4rem; background: var(--bg-soft); border-radius: 10px; padding: .3rem; margin-bottom: 1.2rem; }
.auth-tab { flex: 1; border: none; background: none; padding: .6rem; border-radius: 8px; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: .9rem; color: var(--muted); transition: .2s; }
.auth-tab.is-active { background: var(--orange-soft); color: var(--orange); }

/* ===== Legal pages ===== */
.legal-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 2.5rem; padding: 2rem 0 4rem; align-items: start; }
.legal-nav { position: sticky; top: 92px; display: flex; flex-direction: column; gap: .3rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem; }
.legal-nav a { padding: .6rem .8rem; border-radius: 8px; color: var(--muted); font-weight: 600; font-size: .9rem; transition: .15s; }
.legal-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.legal-nav a.active { background: var(--orange-soft); color: var(--orange); }
.legal-body { max-width: 760px; }
.legal-updated { color: var(--muted-2); font-size: .85rem; margin-bottom: 1.5rem; }
.legal-body section { margin-bottom: 2.6rem; scroll-margin-top: 90px; }
.legal-body h1 { font-size: 1.9rem; margin-bottom: .8rem; letter-spacing: -.5px; }
.legal-body h2 { font-size: 1.5rem; margin-bottom: .8rem; letter-spacing: -.3px; }
.legal-body h3 { font-size: 1.05rem; margin: 1.2rem 0 .4rem; color: var(--ink); }
.legal-body p { color: var(--muted); margin-bottom: .8rem; line-height: 1.7; }
@media (max-width: 820px) {
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; }
}

/* ===== Exclusive offers ===== */
.offers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.3rem; }
.offer-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .22s ease; box-shadow: var(--shadow-sm); }
.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #ffae6b; }
.offer-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.offer-thumb img { width: 100%; height: 100%; object-fit: cover; }
.offer-badge { position: absolute; top: .6rem; left: .6rem; z-index: 2; background: #e11; color: #fff;
  font-size: .8rem; font-weight: 800; padding: .25rem .6rem; border-radius: 8px; box-shadow: 0 4px 12px rgba(225,17,17,.4); }
.offer-tag { position: absolute; top: .6rem; right: .6rem; z-index: 2; background: rgba(0,0,0,.7); color: #ffd089;
  font-size: .66rem; font-weight: 800; letter-spacing: .5px; padding: .25rem .55rem; border-radius: 999px; }
.offer-meta { padding: .85rem 1rem 1.1rem; }
.offer-meta h3 { font-size: 1.02rem; line-height: 1.2; }
.offer-meta p { color: var(--muted); font-size: .8rem; margin-top: .15rem; }
.offer-price { display: flex; align-items: baseline; gap: .55rem; margin-top: .6rem; }
.op-deal { color: var(--orange); font-weight: 800; font-size: 1.15rem; }
.op-base { color: var(--muted-2); font-size: .9rem; text-decoration: line-through; }

/* Currency icon shown next to the amount in cart/checkout */
.cur-ic { display: inline-block; width: 16px; height: 16px; object-fit: contain;
  vertical-align: -3px; margin-right: 5px; }

/* ===== Standalone legal pages ===== */
.legal-page { max-width: 800px; padding: 2.5rem 0 4rem; }
.legal-back { display: inline-block; color: var(--orange); font-weight: 600; font-size: .9rem; margin-bottom: 1.2rem; }
.legal-page h1 { font-size: 2rem; letter-spacing: -.5px; margin-bottom: .5rem; }
.legal-page h2 { font-size: 1.25rem; margin: 1.8rem 0 .5rem; }
.legal-page p { color: var(--muted); line-height: 1.75; margin-bottom: .8rem; }
.legal-page .legal-updated { color: var(--muted-2); font-size: .85rem; margin-bottom: 1.6rem; }
