/* =============================================
  Real TopUp Free Fire Gift Store — style.css
   ============================================= */

/* ——— Google Fonts already loaded in HTML ——— */

/* ——— CSS Variables ——— */
:root {
  --bg: #0b0e13;
  --bg2: #10151d;
  --panel: #161b24;
  --elevated: #1c2330;
  --input: #0f141c;
  --line: #2a3341;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #f97316;
  --accent-deep: #fb923c;
  --accent-hot: #fdba74;
  --price: #4ade80;
  --teal: #fbbf24;
  --soft: rgba(249, 115, 22, 0.14);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --font: 'Inter', 'Rajdhani', system-ui, sans-serif;
  --display: 'Oswald', 'Inter', system-ui, sans-serif;
  --border-ui: #3d4656;
  --glass: rgba(11, 14, 19, 0.88);
  --thumb: #1a2030;
  --hover-row: rgba(255, 255, 255, 0.05);
  --menu-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  --nav-h: 66px;
}

html[data-theme="light"] {
  --bg: #f0f4fc;
  --bg2: #e4eaf6;
  --panel: #ffffff;
  --elevated: #f8fafc;
  --input: #ffffff;
  --line: #dde4f0;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #ea580c;
  --accent-deep: #c2410c;
  --accent-hot: #f97316;
  --price: #047857;
  --teal: #b45309;
  --soft: rgba(234, 88, 12, 0.1);
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  --border-ui: #cbd5e1;
  --glass: rgba(255, 255, 255, 0.9);
  --thumb: #e8edf8;
  --hover-row: rgba(15, 23, 42, 0.05);
  --menu-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
}

/* ——— Reset & Base ——— */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg2);
}
html::-webkit-scrollbar { width: 8px; }
html::-webkit-scrollbar-track { background: var(--bg2); }
html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #fb923c, #c2410c);
  border-radius: 99px;
  border: 2px solid var(--bg2);
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
button { font-family: var(--font); cursor: pointer; }
img { max-width: 100%; display: block; }

/* ——— Container ——— */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   NAV
   ============================================ */
.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}

.nav-inner {
  max-width: 1280px; margin: 0 auto;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; gap: 24px;
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.brand-fire { font-size: 28px; line-height: 1; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--display); font-size: 20px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  background: linear-gradient(90deg, #f59e0b, #ea580c, #c2410c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-sub { font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }

.nav-links {
  display: flex; list-style: none; gap: 4px; align-items: center;
}
.nav-link {
  padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 600;
  color: var(--muted); transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--accent); background: var(--soft); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.cart-nav-btn {
  position: relative; width: 44px; height: 44px;
  background: var(--elevated); border: 1px solid var(--line);
  border-radius: 12px; display: grid; place-items: center;
  color: var(--price); transition: border-color 0.2s, background 0.2s;
}
.cart-nav-btn svg { width: 22px; height: 22px; }
.cart-nav-btn:hover { border-color: var(--price); background: rgba(74, 222, 128, 0.1); }
.cart-count {
  position: absolute; top: -5px; right: -5px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 800;
  display: grid; place-items: center; line-height: 1;
  border: 2px solid var(--bg);
}
.cart-count:empty, .cart-count[data-count="0"] { display: none; }

.theme-btn {
  width: 44px; height: 44px;
  background: var(--elevated); border: 1px solid var(--line);
  border-radius: 12px; display: grid; place-items: center;
  color: var(--muted); transition: color 0.2s, border-color 0.2s;
}
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn:hover { color: var(--accent); border-color: var(--accent); }
html[data-theme="dark"] .ico-sun { display: block; }
html[data-theme="dark"] .ico-moon { display: none; }
html[data-theme="light"] .ico-sun { display: none; }
html[data-theme="light"] .ico-moon { display: block; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: transparent; border: none; padding: 8px; color: var(--text);
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none; flex-direction: column;
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: var(--panel); border-bottom: 1px solid var(--line);
  padding: 16px; gap: 6px;
  animation: slideDown 0.25s ease;
}
.mobile-menu.open { display: flex; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: none; }
}
.m-link {
  display: block; padding: 14px 16px; border-radius: 12px;
  font-size: 15px; font-weight: 600; color: var(--text);
  transition: background 0.15s;
}
.m-link:hover { background: var(--soft); color: var(--accent); }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
  text-align: center;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.orb1 {
  width: 600px; height: 600px; top: -200px; left: -150px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.25) 0%, transparent 70%);
  animation: orbFloat1 8s ease-in-out infinite;
}
.orb2 {
  width: 500px; height: 500px; bottom: -100px; right: -100px;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.18) 0%, transparent 70%);
  animation: orbFloat2 10s ease-in-out infinite;
}
.orb3 {
  width: 400px; height: 400px; top: 50%; left: 60%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 70%);
  animation: orbFloat3 12s ease-in-out infinite;
}
@keyframes orbFloat1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(30px,-20px)} }
@keyframes orbFloat2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-20px,30px)} }
@keyframes orbFloat3 { 0%,100%{transform:translate(-50%,-50%)} 50%{transform:translate(-45%,-55%)} }

.hero-particles {
  position: absolute; inset: 0;
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 700px; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.35);
  font-size: 13px; font-weight: 600; color: var(--accent-hot);
  letter-spacing: 0.02em;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}
.accent-text {
  background: linear-gradient(90deg, #f59e0b, #ea580c, #c2410c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--muted); line-height: 1.65;
  max-width: 540px;
}
.hero-sub strong { color: var(--accent-hot); }

/* Hero UID Box */
.hero-uid-box {
  width: 100%; max-width: 580px;
  background: var(--panel);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(249, 115, 22, 0.12);
}
.uid-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.uid-row {
  display: flex; align-items: center; gap: 0;
  background: var(--elevated); border: 2px solid var(--accent);
  border-radius: 14px; padding: 6px 6px 6px 12px; gap: 8px;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
  transition: box-shadow 0.2s;
}
.uid-row:focus-within { box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.22); }
.uid-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--soft); border-radius: 10px;
  display: grid; place-items: center; color: var(--accent);
}
.uid-icon svg { width: 18px; height: 18px; }
.uid-row input {
  flex: 1; border: none; background: transparent; outline: none;
  font-family: var(--font); font-size: 16px; font-weight: 600; color: var(--text);
  letter-spacing: 0.04em;
}
.uid-row input::placeholder { color: var(--muted); font-weight: 400; }
.uid-btn {
  background: linear-gradient(120deg, var(--accent), #fb923c);
  border: none; border-radius: 10px;
  padding: 12px 22px; color: #fff;
  font-family: var(--font); font-size: 14px; font-weight: 700;
  white-space: nowrap; flex-shrink: 0;
  transition: filter 0.2s, transform 0.15s;
}
.uid-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.uid-btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

.uid-status {
  margin-top: 10px; font-size: 13px; font-weight: 600;
  min-height: 18px; text-align: left;
}
.uid-status.ok { color: #4ade80; }
.uid-status.err { color: #f87171; }

.hero-stats {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; justify-content: center;
}
.stat-pill {
  display: flex; flex-direction: column; align-items: center;
}
.stat-num { font-size: 22px; font-weight: 800; color: var(--text); }
.stat-lbl { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-sep { font-size: 20px; color: var(--line); }

.hero-scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.1em;
  text-transform: uppercase; z-index: 1;
  animation: fadeInUp 1s ease 1s both;
}
@keyframes fadeInUp { from{opacity:0;transform:translateX(-50%) translateY(10px)} to{opacity:1;transform:translateX(-50%) translateY(0)} }
.scroll-arrow {
  width: 24px; height: 24px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  animation: scrollBounce 1.5s ease-in-out infinite;
}
@keyframes scrollBounce { 0%,100%{transform:rotate(45deg) translate(-3px,-3px)} 50%{transform:rotate(45deg) translate(3px,3px)} }

/* ============================================
   TRUST STRIP
   ============================================ */
.trust-strip {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.trust-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: center; gap: 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 28px;
}
.trust-ico { font-size: 26px; flex-shrink: 0; }
.trust-title { font-size: 14px; font-weight: 700; color: var(--text); }
.trust-desc { font-size: 12px; color: var(--muted); }
.trust-div { width: 1px; height: 40px; background: var(--line); flex-shrink: 0; }

/* ============================================
   SECTION COMMON
   ============================================ */
.sec-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 28px; flex-wrap: wrap;
}
.sec-header.center { flex-direction: column; align-items: center; text-align: center; }
.sec-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 6px;
}
.sec-title {
  font-family: var(--display);
  font-size: clamp(26px, 3.5vw, 40px); font-weight: 700;
  letter-spacing: -0.02em; color: var(--text); line-height: 1.1;
}
.sec-sub { font-size: 15px; color: var(--muted); margin-top: 10px; }
.see-all-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: 12px;
  background: var(--soft); border: 1px solid rgba(249,115,22,0.3);
  color: var(--accent); font-size: 14px; font-weight: 700;
  white-space: nowrap; flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.see-all-btn:hover { background: rgba(249,115,22,0.22); border-color: var(--accent); }

/* ============================================
   FEATURED SECTION
   ============================================ */
.featured {
  padding: 80px 0;
  background: var(--bg);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}

/* ============================================
   PRODUCT CARD
   ============================================ */
.prod-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  display: flex; flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.prod-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249,115,22,0.45);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(249,115,22,0.15);
}

.card-thumb {
  aspect-ratio: 1;
  position: relative;
  background: var(--thumb);
  overflow: hidden;
}
.card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  transform-origin: center;
  transition: transform 0.4s ease;
}
.prod-card:hover .card-thumb img { transform: scale(1.1); }
.card-thumb .thumb-fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 48px; background: var(--thumb);
}

.card-cat-badge {
  position: absolute; top: 8px; left: 8px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px; border-radius: 6px;
  background: rgba(11,14,19,0.82);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--accent-hot);
  backdrop-filter: blur(4px);
}
.card-dia {
  position: absolute; bottom: 8px; left: 8px;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700;
  padding: 4px 8px; border-radius: 999px;
  background: rgba(11,14,19,0.82);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff; backdrop-filter: blur(4px);
}
.card-dia .gem { font-size: 11px; }

.sold-out-stamp {
  position: absolute; inset: 0; z-index: 5;
  display: grid; place-items: center;
  pointer-events: none;
}
.sold-out-stamp span {
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fecaca; background: rgba(127,29,29,0.82);
  border: 1px solid rgba(248,113,113,0.4);
  padding: 8px 16px; border-radius: 999px;
}

.card-body {
  padding: 12px 12px 14px;
  display: flex; flex-direction: column; gap: 4px; flex: 1;
}
.card-name {
  font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--text);
  overflow-wrap: anywhere;
}
.card-sub { font-size: 11px; color: var(--muted); font-weight: 500; }
.card-price-row {
  margin-top: auto; padding-top: 8px;
  display: flex; align-items: center; justify-content: space-between;
}
.card-price {
  font-size: 18px; font-weight: 800; color: var(--price);
  display: flex; align-items: baseline; gap: 3px;
}
.card-price .currency { font-size: 13px; font-weight: 600; }
.card-add-btn {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(120deg, var(--accent), #fb923c);
  border: none; color: #fff; font-size: 18px; font-weight: 700;
  display: grid; place-items: center; flex-shrink: 0;
  transition: filter 0.2s, transform 0.15s;
}
.card-add-btn:hover { filter: brightness(1.12); transform: scale(1.08); }
.card-add-btn.added {
  background: linear-gradient(120deg, #15803d, #22c55e);
}

/* Hot badge */
.hot-badge {
  position: absolute; top: 8px; right: 8px;
  font-size: 8px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  background: linear-gradient(120deg, #dc2626, #ef4444);
  color: #fff; padding: 3px 7px; border-radius: 6px;
  box-shadow: 0 4px 12px rgba(220,38,38,0.4);
}

/* ============================================
   STORE SECTION
   ============================================ */
.store-section {
  padding: 48px 0 80px;
  background: var(--bg2);
}
.prime-store-section {
  padding: calc(var(--nav-h) + 20px) 0 32px;
  background: var(--bg);
}
.prime-store-section .sec-sub { margin-top: 8px; }
.store-order-hint {
  margin: 0 0 18px; padding: 11px 14px; border-radius: 12px;
  background: var(--soft); border: 1px solid var(--line);
  color: var(--muted); font-size: 13px; line-height: 1.5;
}

/* Store UID lookup */
.store-uid-wrap {
  margin-bottom: 24px;
}
.store-uid-inner {
  background: var(--panel);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  max-width: 600px;
}
.suid-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--muted);
  margin-bottom: 12px;
}
.suid-label svg { flex-shrink: 0; }
.suid-row {
  display: flex; gap: 8px;
}
.suid-row input {
  flex: 1; background: var(--elevated); border: 1.5px solid var(--border-ui);
  border-radius: 12px; padding: 12px 14px;
  font-family: var(--font); font-size: 15px; font-weight: 600; color: var(--text);
  outline: none; min-width: 0; letter-spacing: 0.04em;
  transition: border-color 0.2s;
}
.suid-row input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(249,115,22,0.15); }
.suid-row input::placeholder { font-weight: 400; color: var(--muted); }
.suid-btn {
  background: linear-gradient(120deg, var(--accent), #fb923c);
  border: none; border-radius: 12px; padding: 12px 22px;
  color: #fff; font-family: var(--font); font-size: 14px; font-weight: 700;
  flex-shrink: 0; transition: filter 0.2s;
}
.suid-btn:hover { filter: brightness(1.1); }
.suid-btn:disabled { opacity: 0.6; cursor: wait; }
.suid-status { margin-top: 8px; font-size: 12px; font-weight: 600; }
.suid-status.ok { color: #4ade80; }
.suid-status.err { color: #f87171; }

/* Player Card */
.player-card {
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 16px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px; padding: 16px 20px;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }
.pc-avatar {
  width: 68px; height: 68px; border-radius: 14px;
  background: var(--thumb); flex-shrink: 0;
  display: grid; place-items: center; font-size: 32px;
  overflow: hidden; position: relative;
}
.pc-avatar img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.pc-name { font-size: 17px; font-weight: 800; }
.pc-uid { font-size: 13px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.pc-badges { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.pc-badge {
  font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  background: var(--elevated); border: 1px solid var(--line); color: var(--muted);
}
.pc-logout {
  margin-left: auto; padding: 8px 16px; border-radius: 10px;
  background: transparent; border: 1px solid var(--line);
  color: var(--muted); font-family: var(--font); font-size: 13px; font-weight: 700;
  transition: color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.pc-logout:hover { color: #f87171; border-color: rgba(248,113,113,0.4); }

/* Store Filters */
.store-filters { margin-bottom: 24px; display: flex; flex-direction: column; gap: 12px; }
.filter-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.search-wrap {
  display: flex; align-items: center; gap: 10px;
  background: var(--panel); border: 1.5px solid var(--border-ui);
  border-radius: 12px; padding: 0 14px; height: 44px;
  min-width: 260px; flex: 1; max-width: 380px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}
.search-wrap svg { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; }
.search-wrap input {
  flex: 1; border: none; background: transparent; outline: none;
  font-family: var(--font); font-size: 14px; color: var(--text);
  min-width: 0;
}
.search-wrap input::placeholder { color: var(--muted); }
.filter-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill {
  padding: 8px 16px; border-radius: 999px;
  background: var(--panel); border: 1.5px solid var(--border-ui);
  font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--muted);
  transition: all 0.2s;
}
.pill:hover { border-color: var(--accent); color: var(--accent); }
.pill.active {
  background: var(--soft); border-color: rgba(249,115,22,0.45);
  color: var(--accent);
}
.sort-row { display: flex; align-items: center; gap: 10px; }
.sort-label { font-size: 12px; font-weight: 700; color: var(--muted); flex-shrink: 0; }
.sort-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.sort-pill {
  padding: 6px 14px; border-radius: 999px;
  background: transparent; border: 1.5px solid var(--border-ui);
  font-family: var(--font); font-size: 12px; font-weight: 600; color: var(--muted);
  transition: all 0.2s;
}
.sort-pill:hover { border-color: var(--muted); color: var(--text); }
.sort-pill.active { border-color: var(--accent); color: var(--accent); background: var(--soft); }

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 16px;
}
.grid-empty {
  text-align: center; padding: 60px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.empty-ico { font-size: 48px; }
.empty-msg { font-size: 16px; font-weight: 600; color: var(--muted); }
.empty-reset {
  padding: 10px 24px; border-radius: 12px;
  background: var(--soft); border: 1px solid rgba(249,115,22,0.3);
  color: var(--accent); font-family: var(--font); font-size: 14px; font-weight: 700;
  transition: background 0.2s;
}
.empty-reset:hover { background: rgba(249,115,22,0.22); }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  padding: 80px 0;
  background: var(--bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.about-desc {
  font-size: 16px; color: var(--muted); line-height: 1.8; margin: 20px 0 28px;
}
.about-features { display: flex; flex-direction: column; gap: 16px; }
.af-item { display: flex; align-items: flex-start; gap: 14px; }
.af-ico {
  font-size: 24px; width: 46px; height: 46px; flex-shrink: 0;
  background: var(--soft); border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid rgba(249,115,22,0.2);
}
.af-title { font-size: 15px; font-weight: 700; color: var(--text); }
.af-desc { font-size: 13px; color: var(--muted); }

.about-visual { display: flex; flex-direction: column; gap: 20px; }
.payment-showcase {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 20px; padding: 24px;
}
.ps-title { font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.08em; }
.pay-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.pay-card {
  border-radius: 14px; padding: 16px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  border: 1.5px solid var(--line);
  transition: transform 0.2s, border-color 0.2s;
}
.pay-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.pay-logo-wrap { font-size: 28px; }
.pay-name { font-size: 13px; font-weight: 700; }
.pay-tag {
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em;
  color: var(--muted); text-transform: uppercase;
}
.bkash { background: rgba(220, 38, 38, 0.08); border-color: rgba(220,38,38,0.2); }
.bkash .pay-name { color: #f87171; }
.nagad { background: rgba(249, 115, 22, 0.08); border-color: rgba(249,115,22,0.2); }
.nagad .pay-name { color: var(--accent-hot); }
.binance { background: rgba(251, 191, 36, 0.08); border-color: rgba(251,191,36,0.2); }
.binance .pay-name { color: #fbbf24; }
.ps-note { font-size: 11px; color: var(--muted); margin-top: 14px; text-align: center; }

.review-cards { display: flex; flex-direction: column; gap: 12px; }
.rev-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 18px;
}
.rev-stars { font-size: 14px; color: #fbbf24; margin-bottom: 8px; }
.rev-text { font-size: 14px; color: var(--text); line-height: 1.6; font-style: italic; }
.rev-author { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 8px; }

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  padding: 80px 0;
  background: var(--bg2);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px; align-items: start;
}
.contact-channels { display: flex; flex-direction: column; gap: 14px; }
.channel-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--panel); border: 1.5px solid var(--line);
  border-radius: 16px; padding: 16px 18px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.channel-card:hover {
  transform: translateY(-2px); border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.ch-ico {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
}
.ch-ico svg { width: 24px; height: 24px; }
.telegram .ch-ico { background: rgba(41,182,246,0.15); color: #29b6f6; }
.whatsapp .ch-ico { background: rgba(37,211,102,0.15); color: #25d366; }
.ch-name { font-size: 15px; font-weight: 700; }
.ch-handle { font-size: 13px; color: var(--muted); }
.ch-arrow { margin-left: auto; font-size: 18px; color: var(--muted); transition: color 0.2s, transform 0.2s; }
.channel-card:hover .ch-arrow { color: var(--accent); transform: translateX(3px); }

.contact-form {
  background: var(--panel); border: 1.5px solid var(--line);
  border-radius: 20px; padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.cf-title { font-size: 18px; font-weight: 800; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.form-group input,
.form-group textarea {
  background: var(--elevated); border: 1.5px solid var(--border-ui);
  border-radius: 12px; padding: 12px 14px;
  font-family: var(--font); font-size: 14px; color: var(--text);
  outline: none; resize: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.cf-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 14px;
  background: linear-gradient(120deg, var(--accent), #fb923c);
  border: none; color: #fff; font-family: var(--font); font-size: 15px; font-weight: 700;
  transition: filter 0.2s, transform 0.15s;
}
.cf-submit:hover { filter: brightness(1.08); transform: translateY(-1px); }
.cf-submit svg { width: 18px; height: 18px; }
.cf-success {
  color: #4ade80; font-size: 14px; font-weight: 700; text-align: center;
  padding: 12px; border-radius: 12px;
  background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74,222,128,0.25);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--panel); border-top: 1px solid var(--line);
  padding: 48px 0 0;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px 40px;
  display: grid; grid-template-columns: 280px 1fr; gap: 60px;
}
.fb-name { font-family: var(--display); font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.fb-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.fl-col { display: flex; flex-direction: column; gap: 10px; }
.fl-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 4px; }
.fl-col a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.fl-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 18px 24px;
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--muted);
}
.footer-pay-icons { font-weight: 600; }

/* ============================================
   CART DRAWER
   ============================================ */
.cart-scrim {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 110;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
  backdrop-filter: blur(3px);
}
.cart-scrim.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--panel); border-left: 1px solid var(--line);
  z-index: 111; transform: translateX(110%); transition: transform 0.3s ease;
  display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0,0,0,0.3);
}
.cart-drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.drawer-head h3 { font-size: 18px; font-weight: 800; }
.drawer-close {
  width: 36px; height: 36px; border: 1px solid var(--line);
  background: var(--elevated); border-radius: 10px;
  font-size: 18px; color: var(--muted);
  display: grid; place-items: center;
  transition: color 0.2s, border-color 0.2s;
}
.drawer-close:hover { color: #f87171; border-color: rgba(248,113,113,0.4); }
.drawer-uid {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-bottom: 1px solid var(--line);
  background: var(--elevated);
}
.duid-label { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.duid-val { font-size: 14px; font-weight: 700; color: var(--text); flex: 1; }
.duid-change {
  background: transparent; border: none; font-family: var(--font); font-size: 12px; font-weight: 700;
  color: var(--accent); text-decoration: underline;
}
.drawer-items { flex: 1; overflow-y: auto; padding: 14px 16px; }
.drawer-empty {
  text-align: center; padding: 60px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 36px;
}
.drawer-empty div:nth-child(2) { font-size: 16px; font-weight: 700; color: var(--text); }
.de-sub { font-size: 13px; color: var(--muted); font-size: 14px; }
.cart-item-row {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 10px;
  align-items: center; padding: 10px; border: 1px solid var(--line);
  border-radius: 14px; margin-bottom: 10px; background: var(--elevated);
  animation: fadeIn 0.2s ease;
}
.ci-img {
  width: 56px; height: 56px; border-radius: 10px; background: var(--thumb);
  object-fit: cover; font-size: 24px;
  display: grid; place-items: center;
}
.ci-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.ci-name { font-size: 13px; font-weight: 700; line-height: 1.3; }
.ci-price { font-size: 15px; font-weight: 800; color: var(--price); margin-top: 3px; }
.ci-remove {
  background: transparent; border: none; color: var(--muted); font-size: 18px;
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.ci-remove:hover { color: #f87171; background: rgba(248,113,113,0.1); }
.drawer-footer {
  border-top: 1px solid var(--line); padding: 16px 18px 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.df-total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-weight: 700; font-size: 15px;
}
.df-sum { font-size: 26px; font-weight: 800; color: var(--price); }
.df-pay-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.df-pay-methods { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.df-pay-btn {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 8px; border-radius: 12px;
  background: var(--elevated); border: 1.5px solid var(--border-ui);
  font-family: var(--font); color: var(--text);
  transition: all 0.2s;
}
.df-pay-btn:hover { border-color: var(--accent); background: var(--soft); }
.df-pay-btn.active { border-color: var(--accent); background: var(--soft); box-shadow: 0 0 0 2px rgba(249,115,22,0.18); }
.dfp-ico { font-size: 22px; }
.dfp-name { font-size: 12px; font-weight: 700; }
.checkout-btn {
  width: 100%; padding: 14px; border-radius: 14px;
  background: linear-gradient(120deg, var(--accent), #fb923c);
  border: none; color: #fff; font-family: var(--font); font-size: 15px; font-weight: 700;
  transition: filter 0.2s, transform 0.15s;
}
.checkout-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.checkout-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.df-secure { font-size: 11px; color: var(--muted); text-align: center; }

/* ============================================
   GIFT MODAL
   ============================================ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(0,0,0,0.65); backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal {
  width: min(540px, 100%); background: var(--panel);
  border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  overflow: hidden; animation: modalIn 0.2s ease;
}
@keyframes modalIn { from{opacity:0;transform:translateY(12px) scale(.97)} to{opacity:1;transform:none} }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--line);
}
.modal-head h3 { font-size: 17px; font-weight: 700; }
.modal-close {
  width: 36px; height: 36px; border: 1px solid var(--line);
  background: var(--elevated); border-radius: 10px;
  font-size: 18px; color: var(--muted); display: grid; place-items: center;
  transition: color 0.2s, border-color 0.2s;
}
.modal-close:hover { color: #f87171; border-color: rgba(248,113,113,0.4); }
.modal-content { padding: 22px; }
.modal-preview {
  display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: center;
  margin-bottom: 18px;
}
.modal-img-wrap {
  aspect-ratio: 1; border-radius: 14px; background: var(--thumb);
  overflow: hidden; position: relative;
}
.modal-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.modal-cat-badge {
  position: absolute; bottom: 8px; left: 8px;
  font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 8px; border-radius: 6px;
  background: rgba(11,14,19,0.82); color: var(--accent-hot);
  backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.1);
}
.modal-item-name { font-size: 20px; font-weight: 800; line-height: 1.25; margin-bottom: 6px; }
.modal-item-sub { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.modal-item-diamonds {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--teal); margin-bottom: 8px;
}
.gem { font-size: 16px; }
.modal-item-price { font-size: 32px; font-weight: 800; color: var(--price); }

.modal-uid-section { padding-top: 16px; border-top: 1px solid var(--line); }
.muid-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 8px; }
.muid-row { display: flex; gap: 8px; }
.muid-row input {
  flex: 1; background: var(--elevated); border: 1.5px solid var(--border-ui);
  border-radius: 12px; padding: 10px 12px; font-family: var(--font);
  font-size: 14px; font-weight: 600; color: var(--text); outline: none;
  transition: border-color 0.2s;
}
.muid-row input:focus { border-color: var(--accent); }
.muid-verify {
  background: var(--elevated); border: 1.5px solid var(--border-ui);
  border-radius: 12px; padding: 10px 16px; font-family: var(--font);
  font-size: 13px; font-weight: 700; color: var(--text);
  transition: border-color 0.2s, color 0.2s;
}
.muid-verify:hover { border-color: var(--accent); color: var(--accent); }
.muid-status { margin-top: 8px; font-size: 12px; font-weight: 600; }
.muid-status.ok { color: #4ade80; }
.muid-status.err { color: #f87171; }
.modal-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 14px 22px 20px;
}
.ma-buy {
  padding: 13px; border-radius: 14px; font-family: var(--font); font-size: 14px; font-weight: 700;
  background: var(--soft); border: 1px solid rgba(249,115,22,0.3); color: var(--accent);
  transition: background 0.2s;
}
.ma-buy:hover { background: rgba(249,115,22,0.22); }
.ma-cart {
  padding: 13px; border-radius: 14px; font-family: var(--font); font-size: 14px; font-weight: 700;
  background: linear-gradient(120deg, var(--accent), #fb923c); border: none; color: #fff;
  transition: filter 0.2s;
}
.ma-cart:hover { filter: brightness(1.08); }

/* ============================================
   CHECKOUT MODAL
   ============================================ */
.checkout-backdrop {
  position: fixed; inset: 0; z-index: 125;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.checkout-backdrop.open { opacity: 1; pointer-events: auto; }
.checkout-modal {
  width: min(480px, 100%); background: var(--panel);
  border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  overflow: hidden; animation: modalIn 0.2s ease;
}
.checkout-body { padding: 22px; }
.co-uid-entry input {
  width: 100%; background: var(--elevated); border: 1.5px solid var(--border-ui);
  border-radius: 10px; padding: 11px 12px; font-family: var(--font);
  font-size: 14px; font-weight: 600; color: var(--text); outline: none;
}
.co-uid-entry input:focus { border-color: var(--accent); }
.payment-instructions h4 { margin: 0 0 8px; font-size: 20px; }
.payment-instructions > p { margin: 0 0 16px; color: var(--muted); line-height: 1.5; }
.payment-instructions dl { margin: 0 0 18px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--elevated); }
.payment-instructions dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.payment-instructions dt { color: var(--muted); }
.payment-instructions dd { margin: 0; text-align: right; overflow-wrap: anywhere; font-weight: 700; }
.payment-instructions .pay-exact { color: var(--price); font-size: 20px; }
.payment-instructions > label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; }
.payment-instructions > input { width: 100%; margin-bottom: 12px; background: var(--elevated); border: 1.5px solid var(--border-ui); border-radius: 10px; padding: 12px; color: var(--text); font: 600 14px var(--font); outline: none; }
.payment-instructions > input:focus { border-color: var(--accent); }
.payment-status { min-height: 18px; margin-bottom: 10px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.payment-status.error { color: #f87171; }
.co-uid-row {
  background: var(--elevated); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.co-uid-row .co-lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.co-uid-row .co-val { font-size: 14px; font-weight: 700; }
.co-items { margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.co-item-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--line);
}
.co-item-name { font-weight: 600; }
.co-item-price { font-weight: 800; color: var(--price); }
.co-total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 16px; font-weight: 700; margin-bottom: 20px;
  padding-top: 12px;
}
.co-total-sum { font-size: 28px; font-weight: 800; color: var(--price); }
.co-pay-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 10px; }
.co-pay-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin-bottom: 20px; }
.co-pay-btn {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 8px; border-radius: 12px;
  background: var(--elevated); border: 1.5px solid var(--border-ui);
  font-family: var(--font); color: var(--text);
  transition: all 0.2s;
}
.co-pay-btn:hover, .co-pay-btn.active {
  border-color: var(--accent); background: var(--soft);
  box-shadow: 0 0 0 2px rgba(249,115,22,0.18);
}
.co-pay-ico { font-size: 22px; }
.co-pay-name { font-size: 12px; font-weight: 700; }
.co-confirm {
  width: 100%; padding: 14px; border-radius: 14px;
  background: linear-gradient(120deg, var(--accent), #fb923c);
  border: none; color: #fff; font-family: var(--font); font-size: 15px; font-weight: 700;
  transition: filter 0.2s; margin-bottom: 10px;
}
.co-confirm:hover { filter: brightness(1.08); }
.co-confirm:disabled { opacity: 0.45; cursor: not-allowed; }
.co-secure { font-size: 11px; color: var(--muted); text-align: center; }
.co-success {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center; padding: 36px 22px;
}
.co-success-ico { font-size: 64px; animation: successPop 0.4s ease; }
@keyframes successPop { 0%{transform:scale(0)} 70%{transform:scale(1.15)} 100%{transform:scale(1)} }
.co-success-title { font-family: var(--display); font-size: 26px; font-weight: 700; }
.co-success-sub { font-size: 15px; color: var(--muted); line-height: 1.6; }
.co-success-close {
  padding: 12px 32px; border-radius: 14px;
  background: linear-gradient(120deg, var(--accent), #fb923c);
  border: none; color: #fff; font-family: var(--font); font-size: 15px; font-weight: 700;
  margin-top: 8px;
}

/* ============================================
   TOAST
   ============================================ */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  padding: 12px 24px; border-radius: 14px; font-size: 14px; font-weight: 700;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4); z-index: 999;
  opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s;
  max-width: min(94vw, 400px); text-align: center; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.ok { border-color: rgba(74,222,128,0.4); background: color-mix(in srgb, var(--panel) 88%, #22c55e); color: #4ade80; }
.toast.err { border-color: rgba(248,113,113,0.4); background: color-mix(in srgb, var(--panel) 88%, #ef4444); color: #fca5a5; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .theme-btn { display: none; }
  .trust-inner { flex-direction: column; gap: 0; }
  .trust-div { width: 80%; height: 1px; margin: 0 auto; }
  .trust-item { justify-content: center; }
  .featured-grid { grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(145px,1fr)); }
  .filter-row { flex-direction: column; align-items: flex-start; }
  .search-wrap { max-width: 100%; }
  .modal-preview { grid-template-columns: 1fr; }
  .modal-img-wrap { max-width: 200px; margin: 0 auto; }
  .modal-actions { grid-template-columns: 1fr; }
  .about-grid { gap: 32px; }
  .footer-links { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-uid-box { padding: 16px; }
  .uid-row { flex-direction: column; gap: 10px; }
  .uid-btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 10px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-modal { border-radius: 20px 20px 0 0; position: fixed; bottom: 0; left: 0; right: 0; width: 100%; max-height: 90vh; overflow-y: auto; }
  .checkout-backdrop { align-items: flex-end; padding: 0; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .pay-cards { gap: 8px; }
}
