/* ════════════════════════════════════════════════════
   GRINGO STORE — Dark gaming/streaming marketplace theme
   ════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Backgrounds */
  --bg-void: #0A0A0F;
  --bg-surface: #13131A;
  --bg-card: #16161F;
  --bg-elevated: #1C1C28;
  --border: #232330;
  --border-light: #2D2D3D;

  /* Brand */
  --violet: #7C3AED;
  --violet-d: #6428D9;
  --violet-glow: rgba(124,58,237,.35);
  --mint: #00E5A0;
  --mint-d: #00C589;
  --mint-glow: rgba(0,229,160,.3);

  /* Text */
  --text: #F5F5FA;
  --text-dim: #A1A1B5;
  --text-mute: #6B6B82;

  /* Status */
  --danger: #FF4D6A;
  --warning: #FFB13C;
  --success: #00E5A0;
  --blue: #3B9CFF;

  --radius: 14px;
  --radius-sm: 8px;
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-glow: 0 0 40px rgba(124,58,237,.15);
  --shadow-card: 0 4px 24px rgba(0,0,0,.4);
  --ease: cubic-bezier(.16,1,.3,1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-void);
  color: var(--text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }
hr { border: none; border-top: 1px solid var(--border); margin: 1rem 0; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }

/* Noise texture overlay for depth */
.noise-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.main { min-height: 60vh; }
.page-pad { padding-top: 2rem; padding-bottom: 3rem; }
.narrow { max-width: 800px; }
.center-content { text-align: center; }

/* ════════ HEADER ════════ */
.header {
  background: rgba(10,10,15,.85); backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; height: 72px;
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.logo { display: flex; align-items: center; gap: .55rem; flex-shrink: 0; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--violet), #A855F7); color: #fff; font-family: var(--font-display);
  font-weight: 800; font-size: 1.1rem; box-shadow: 0 0 16px var(--violet-glow);
}
.logo-mark.sm { width: 26px; height: 26px; font-size: .85rem; border-radius: 7px; }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.5px; color: var(--text); }
.logo-accent { color: var(--mint); }

.header-search { flex: 1; max-width: 440px; display: flex; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.header-search input { flex: 1; background: none; border: none; padding: .6rem .9rem; color: var(--text); font-size: .88rem; outline: none; }
.header-search input::placeholder { color: var(--text-mute); }
.header-search button { background: none; border: none; color: var(--text-dim); padding: .6rem .9rem; }

.nav-links { display: flex; align-items: center; gap: 1.1rem; margin-left: auto; flex-shrink: 0; }
.nav-links a { font-size: .87rem; font-weight: 500; color: var(--text-dim); transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-area { color: var(--mint) !important; font-weight: 600 !important; }
.cart-btn { position: relative; font-size: 1.05rem; }
.badge { background: var(--violet); color: #fff; border-radius: 999px; font-size: .62rem; font-weight: 700; padding: 1px 5px; position: absolute; top: -8px; right: -10px; min-width: 16px; text-align: center; }
.btn-sm { background: var(--bg-elevated); color: var(--text); padding: .4rem .9rem; border-radius: var(--radius-sm); font-size: .82rem; font-weight: 600; border: 1px solid var(--border-light); transition: all .15s; }
.btn-sm:hover { background: var(--border-light); }
.btn-sm.danger { color: var(--danger); border-color: rgba(255,77,106,.3); }
.btn-sm.danger:hover { background: rgba(255,77,106,.1); }
.btn-primary-sm { background: var(--violet); color: #fff; padding: .4rem .9rem; border-radius: var(--radius-sm); font-size: .82rem; font-weight: 600; border: none; transition: all .15s; box-shadow: 0 0 0 rgba(124,58,237,0); }
.btn-primary-sm:hover { background: var(--violet-d); box-shadow: 0 0 20px var(--violet-glow); }
.hamburger { display: none; background: none; border: none; font-size: 1.3rem; color: var(--text); margin-left: auto; }

/* ════════ HERO ════════ */
.hero { position: relative; padding: 5rem 0 3.5rem; overflow: hidden; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: .5; }
.hero-glow-1 { width: 500px; height: 500px; background: var(--violet); top: -200px; left: -150px; animation: float1 12s ease-in-out infinite; }
.hero-glow-2 { width: 400px; height: 400px; background: var(--mint); bottom: -200px; right: -100px; opacity: .25; animation: float2 14s ease-in-out infinite; }
@keyframes float1 { 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(40px,30px); } }
@keyframes float2 { 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(-30px,-40px); } }

.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; position: relative; z-index: 2; }
.hero-tag {
  display: inline-flex; align-items: center; gap: .5rem; background: rgba(124,58,237,.12); border: 1px solid rgba(124,58,237,.3);
  color: #C4A8FF; border-radius: 999px; padding: .4rem .9rem; font-size: .8rem; font-weight: 600; margin-bottom: 1.25rem;
  animation: fadeUp .6s var(--ease) backwards;
}
.pulse-dot { width: 7px; height: 7px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 0 var(--mint-glow); animation: pulse 2s infinite; }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 rgba(0,229,160,.6); } 70%{ box-shadow: 0 0 0 8px rgba(0,229,160,0); } 100%{ box-shadow: 0 0 0 0 rgba(0,229,160,0); } }

.hero-text h1 { font-family: var(--font-display); font-size: 3rem; font-weight: 800; line-height: 1.08; letter-spacing: -1.5px; margin-bottom: 1.1rem; animation: fadeUp .7s var(--ease) backwards; animation-delay: .05s; }
.text-gradient { background: linear-gradient(110deg, var(--violet), var(--mint)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-text p { color: var(--text-dim); font-size: 1.08rem; max-width: 480px; margin-bottom: 1.75rem; animation: fadeUp .7s var(--ease) backwards; animation-delay: .1s; }
.hero-btns { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; animation: fadeUp .7s var(--ease) backwards; animation-delay: .15s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.btn-hero {
  background: linear-gradient(135deg, var(--violet), #9333EA); color: #fff; padding: .85rem 1.85rem; border-radius: 12px;
  font-size: .95rem; font-weight: 700; border: none; cursor: pointer; transition: all .2s var(--ease); display: inline-block;
  box-shadow: 0 4px 20px rgba(124,58,237,.3);
}
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(124,58,237,.45); }
.btn-hero.full { width: 100%; text-align: center; margin-top: .5rem; }
.btn-hero-outline {
  background: transparent; color: var(--text); padding: .85rem 1.85rem; border-radius: 12px; font-size: .95rem; font-weight: 700;
  border: 1px solid var(--border-light); cursor: pointer; transition: all .2s; display: inline-block;
}
.btn-hero-outline:hover { border-color: var(--violet); background: rgba(124,58,237,.08); }
.btn-hero-outline.full { width: 100%; text-align: center; display: block; }

.hero-stats { display: flex; gap: 2rem; animation: fadeUp .7s var(--ease) backwards; animation-delay: .2s; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--mint); }
.hero-stats span { font-size: .78rem; color: var(--text-mute); }

.hero-visual { position: relative; height: 380px; display: flex; align-items: center; justify-content: center; }
.hero-orb {
  width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #9333EA, #4C1D95);
  box-shadow: 0 0 80px var(--violet-glow), inset 0 0 60px rgba(255,255,255,.1); animation: spin 20s linear infinite, breathe 4s ease-in-out infinite;
}
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.floating-card {
  position: absolute; width: 64px; height: 64px; background: var(--bg-elevated); border: 1px solid var(--border-light);
  border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
  box-shadow: var(--shadow-card); animation: floatCard 6s ease-in-out infinite;
}
.fc-1 { top: 10%; left: 5%; animation-delay: 0s; }
.fc-2 { top: 60%; right: 0%; animation-delay: 1.5s; }
.fc-3 { bottom: 5%; left: 30%; animation-delay: 3s; }
@keyframes floatCard { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(5deg); } }

/* ════════ TICKER ════════ */
.ticker-bar { background: var(--bg-surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: .7rem 0; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 2.5rem; animation: ticker 40s linear infinite; }
.ticker-item { font-size: .82rem; color: var(--text-dim); }
.ticker-item strong { color: var(--text); }
.ticker-item em { color: var(--mint); font-style: normal; font-weight: 600; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ════════ SECTIONS ════════ */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--bg-surface); }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.section-title { font-family: var(--font-display); font-size: 1.65rem; font-weight: 800; letter-spacing: -.5px; margin-bottom: 0; }
.see-all { color: var(--mint); font-size: .88rem; font-weight: 600; transition: opacity .15s; }
.see-all:hover { opacity: .8; }

/* ════════ CATEGORY PILLS ════════ */
.cat-pills { display: flex; gap: .9rem; flex-wrap: wrap; }
.cat-pill {
  display: flex; align-items: center; gap: .6rem; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 999px; padding: .7rem 1.3rem; font-weight: 600; font-size: .9rem; color: var(--text);
  transition: all .2s var(--ease); position: relative; overflow: hidden;
}
.cat-pill::before { content: ''; position: absolute; inset: 0; background: var(--cat-color); opacity: 0; transition: opacity .2s; }
.cat-pill:hover { border-color: var(--cat-color); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.cat-pill:hover::before { opacity: .08; }
.cat-pill-icon { font-size: 1.2rem; position: relative; z-index: 1; }
.cat-pill span:last-child { position: relative; z-index: 1; }

/* ════════ GAME CARDS (product cards) ════════ */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; }
.game-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  position: relative; transition: all .25s var(--ease);
}
.game-card:hover { transform: translateY(-5px); border-color: var(--glow, var(--violet)); box-shadow: 0 12px 32px -8px var(--glow, var(--violet-glow)), 0 0 0 1px var(--glow, var(--violet)) inset; }
.badge-disc { position: absolute; top: .7rem; left: .7rem; background: var(--danger); color: #fff; border-radius: 6px; padding: .2rem .55rem; font-size: .72rem; font-weight: 700; z-index: 2; box-shadow: 0 2px 8px rgba(255,77,106,.4); }
.platform-badge {
  position: absolute; top: .7rem; right: .7rem; background: rgba(10,10,15,.75); backdrop-filter: blur(6px);
  color: var(--text); border-radius: 6px; padding: .2rem .55rem; font-size: .68rem; font-weight: 700; z-index: 2;
  text-transform: uppercase; letter-spacing: .4px; border: 1px solid var(--border-light);
}
.platform-badge.big { position: absolute; top: 1rem; right: 1rem; font-size: .78rem; padding: .35rem .8rem; }
.game-card-img-link { display: block; }
.game-card-img { width: 100%; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--bg-elevated), var(--bg-surface)); overflow: hidden; }
.game-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.game-card:hover .game-card-img img { transform: scale(1.06); }
.game-card-body { padding: 1rem; }
.game-card-name { font-weight: 600; font-size: .92rem; margin-bottom: .35rem; line-height: 1.3; }
.game-card-name a { color: var(--text); }
.game-card-rating { font-size: .76rem; color: var(--text-mute); margin-bottom: .6rem; }
.sold-count { color: var(--text-mute); }
.price-row { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.prod-old { color: var(--text-mute); font-size: .8rem; text-decoration: line-through; }
.prod-old.big { font-size: .95rem; display: block; margin-bottom: .2rem; }
.prod-price { font-family: var(--font-mono); color: var(--mint); font-weight: 700; font-size: 1.15rem; }
.prod-price.big { font-size: 2.1rem; }
.prod-actions { display: flex; gap: .5rem; margin-top: .75rem; }
.btn-view { background: var(--violet); color: #fff; padding: .45rem .9rem; border-radius: var(--radius-sm); font-size: .82rem; font-weight: 600; flex: 1; text-align: center; border: none; cursor: pointer; transition: all .15s; }
.btn-view:hover { background: var(--violet-d); }
.btn-cart-icon { background: var(--bg-elevated); border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: .45rem .7rem; font-size: .95rem; transition: all .15s; color: var(--text); }
.btn-cart-icon:hover { background: var(--border-light); border-color: var(--mint); }

/* ════════ TRUST SECTION ════════ */
.trust-section { background: var(--bg-surface); padding: 3.5rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
.trust-item { text-align: center; }
.trust-icon { font-size: 2.2rem; display: block; margin-bottom: .75rem; }
.trust-item strong { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: .4rem; }
.trust-item p { color: var(--text-mute); font-size: .85rem; line-height: 1.5; }

/* ════════ FILTERS ════════ */
.filter-bar { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.25rem; background: var(--bg-card); padding: 1rem; border-radius: var(--radius); border: 1px solid var(--border); }
.filter-input { flex: 1; min-width: 200px; padding: .6rem .9rem; border: 1px solid var(--border-light); border-radius: var(--radius-sm); font-size: .9rem; outline: none; background: var(--bg-surface); color: var(--text); }
.filter-input::placeholder { color: var(--text-mute); }
.filter-input:focus { border-color: var(--violet); }
.filter-select { padding: .6rem .9rem; border: 1px solid var(--border-light); border-radius: var(--radius-sm); font-size: .9rem; outline: none; background: var(--bg-surface); color: var(--text); }
.filter-select.sm { padding: .3rem .6rem; font-size: .8rem; }
.filter-select:focus { border-color: var(--violet); }
.btn-filter { background: var(--violet); color: #fff; padding: .6rem 1.25rem; border: none; border-radius: var(--radius-sm); font-weight: 600; font-size: .88rem; cursor: pointer; transition: background .15s; }
.btn-filter:hover { background: var(--violet-d); }
.btn-clear { color: var(--text-mute); font-size: .88rem; padding: .6rem; }
.result-count { color: var(--text-mute); font-size: .85rem; margin-bottom: .75rem; }
.page-title { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; margin-bottom: 1.5rem; letter-spacing: -.5px; }
.search-tag { color: var(--mint); font-weight: 500; font-size: 1.1rem; }

/* ════════ PRODUCT DETAIL ════════ */
.prod-detail { padding: 2rem 0 3rem; }
.breadcrumb { font-size: .82rem; color: var(--text-mute); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--mint); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.detail-img { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--bg-card); }
.detail-img-glow { position: absolute; inset: -40%; background: radial-gradient(circle, var(--glow, var(--violet)), transparent 70%); opacity: .25; filter: blur(40px); z-index: 0; }
.detail-img img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.detail-info h1 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; margin: .5rem 0; line-height: 1.2; }
.detail-rating { font-size: .85rem; color: var(--text-dim); margin-bottom: .75rem; }
.badge-disc.big { font-size: .82rem; padding: .3rem .8rem; display: inline-block; margin-bottom: .6rem; }
.installment { color: var(--text-mute); font-size: .88rem; margin: .3rem 0 1rem; }
.prod-desc { color: var(--text-dim); font-size: .93rem; line-height: 1.7; margin: 1rem 0 1.25rem; }
.qty-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.qty-ctrl { display: flex; align-items: center; gap: .5rem; }
.qty-ctrl button { width: 32px; height: 32px; border: 1px solid var(--border-light); background: var(--bg-elevated); color: var(--text); border-radius: var(--radius-sm); font-size: 1.1rem; font-weight: 600; cursor: pointer; }
.qty-ctrl button:hover { background: var(--border-light); }
.qty-ctrl input { width: 56px; height: 32px; border: 1px solid var(--border-light); background: var(--bg-surface); color: var(--text); border-radius: var(--radius-sm); text-align: center; font-size: .95rem; font-weight: 600; }
.qty-ctrl.sm button { width: 24px; height: 24px; font-size: .85rem; }
.qty-ctrl.sm span { width: 28px; text-align: center; font-weight: 600; font-size: .88rem; }
.guarantee-row { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: .8rem; color: var(--text-mute); }
.btn-secondary { background: var(--bg-elevated); color: var(--text); padding: .75rem 1.75rem; border-radius: 12px; font-weight: 700; border: 1px solid var(--border-light); font-size: .95rem; cursor: pointer; transition: all .15s; }
.btn-secondary:hover { background: var(--border-light); }

/* ════════ CART ════════ */
.cart-list { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; }
.cart-row { display: grid; grid-template-columns: 64px 1fr auto auto auto; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); border-left: 3px solid var(--glow, transparent); transition: background .15s; }
.cart-row:hover { background: var(--bg-elevated); }
.cart-row:last-child { border-bottom: none; }
.cart-row img { border-radius: 8px; object-fit: cover; height: 64px; width: 64px; }
.cart-pname { font-weight: 600; font-size: .9rem; }
.cart-price { color: var(--text-mute); font-size: .8rem; margin-top: .2rem; }
.cart-sub { font-family: var(--font-mono); font-weight: 700; color: var(--mint); white-space: nowrap; }
.btn-remove { background: none; border: none; color: var(--text-mute); font-size: 1rem; padding: .25rem .5rem; border-radius: 6px; }
.btn-remove:hover { background: rgba(255,77,106,.12); color: var(--danger); }
.cart-summary { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; font-size: .9rem; border-bottom: 1px solid var(--border); }
.summary-row:last-of-type { border: none; }
.summary-row.total { font-size: 1.2rem; font-weight: 800; margin-top: .5rem; font-family: var(--font-mono); color: var(--mint); }
.free-tag { color: var(--mint); font-weight: 600; }

/* ════════ CHECKOUT ════════ */
.checkout-grid { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.form-stack { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group.sm { min-width: 100px; }
.form-group label { font-size: .83rem; font-weight: 600; color: var(--text-dim); }
.form-group input, .form-group select, .form-group textarea {
  padding: .65rem .9rem; border: 1px solid var(--border-light); border-radius: var(--radius-sm); font-size: .92rem;
  outline: none; background: var(--bg-surface); color: var(--text); transition: border .15s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-mute); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--violet); }
.form-row { display: grid; grid-template-columns: 1fr auto; gap: .75rem; }
.checkbox-row { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--text-dim); }
.hint-text { font-size: .8rem; color: var(--text-mute); }
.hint-text.center { text-align: center; margin-top: .75rem; }
.checkout-form h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin: 1rem 0 .5rem; }
.pay-opts { display: flex; flex-direction: column; gap: .6rem; }
.pay-opt { display: flex; align-items: center; gap: .6rem; font-size: .9rem; cursor: pointer; padding: .85rem 1rem; border: 1px solid var(--border-light); border-radius: var(--radius-sm); background: var(--bg-surface); transition: all .15s; }
.pay-opt em { color: var(--mint); font-style: normal; font-weight: 600; margin-left: auto; font-size: .78rem; }
.pay-opt.active { border-color: var(--violet); background: rgba(124,58,237,.08); }
.order-summary { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.order-summary h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 1rem; }
.sum-item { display: flex; justify-content: space-between; align-items: center; padding: .4rem 0; font-size: .88rem; border-bottom: 1px solid var(--border); }
.sum-item:last-child { border: none; }
.sum-item.total { font-weight: 800; font-size: 1.05rem; margin-top: .5rem; font-family: var(--font-mono); color: var(--mint); }

/* ════════ ORDER DETAIL ════════ */
.success-banner { display: flex; align-items: center; gap: 1rem; background: rgba(0,229,160,.1); border: 1px solid rgba(0,229,160,.3); color: var(--mint); border-radius: var(--radius); padding: 1.1rem 1.4rem; margin-bottom: 1.5rem; text-align: left; }
.success-icon { font-size: 1.8rem; }
.success-banner strong { display: block; color: var(--text); font-size: 1rem; }
.success-banner p { font-size: .85rem; color: var(--text-dim); margin-top: .15rem; }
.order-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; text-align: left; }
.order-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.order-card h2 { font-family: var(--font-display); font-size: 1.2rem; }
.order-actions { display: flex; gap: .75rem; margin-top: 1.25rem; flex-wrap: wrap; }
.status-pending { color: var(--warning); }
.status-processing { color: var(--blue); }
.status-delivered { color: var(--success); }
.status-cancelled { color: var(--danger); }

/* ════════ ACCOUNT ════════ */
.account-grid { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
.account-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; text-align: center; }
.avatar-big { font-size: 3rem; margin-bottom: .75rem; }
.account-card h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: .25rem; }
.account-main { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.account-main h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 1rem; }

/* ════════ DATA TABLE ════════ */
.data-table { width: 100%; border-collapse: collapse; font-size: .87rem; }
.data-table th { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--border); font-weight: 600; color: var(--text-mute); white-space: nowrap; text-transform: uppercase; font-size: .72rem; letter-spacing: .4px; }
.data-table td { padding: .7rem 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; color: var(--text-dim); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-elevated); }
.data-table .empty, .empty { text-align: center; color: var(--text-mute); padding: 2rem; }
.low { color: var(--danger) !important; font-weight: 600; }
.mono { font-family: var(--font-mono); color: var(--mint); }
.actions-cell { display: flex; gap: .4rem; flex-wrap: wrap; }
.color-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: middle; margin-right: 4px; }

/* ════════ STATUS / ROLE PILLS ════════ */
.status-pill { display: inline-block; padding: .22rem .65rem; border-radius: 999px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.status-pill.status-pending { background: rgba(255,177,60,.15); color: var(--warning); }
.status-pill.status-processing { background: rgba(59,156,255,.15); color: var(--blue); }
.status-pill.status-delivered { background: rgba(0,229,160,.15); color: var(--mint); }
.status-pill.status-cancelled { background: rgba(255,77,106,.15); color: var(--danger); }
.role-pill { display: inline-block; padding: .22rem .65rem; border-radius: 999px; font-size: .7rem; font-weight: 700; }
.role-pill.role-admin { background: rgba(168,85,247,.18); color: #C4A8FF; }
.role-pill.role-seller { background: rgba(255,177,60,.15); color: var(--warning); }
.role-pill.role-client { background: rgba(59,156,255,.15); color: var(--blue); }

/* ════════ AUTH ════════ */
.auth-body { background: radial-gradient(ellipse at top, #1a1530 0%, var(--bg-void) 60%); }
.auth-wrap { min-height: 90vh; display: flex; align-items: center; justify-content: center; padding: 2rem; position: relative; }
.auth-bg-glow { position: absolute; width: 500px; height: 500px; background: var(--violet); opacity: .15; filter: blur(100px); border-radius: 50%; top: 10%; left: 50%; transform: translateX(-50%); pointer-events: none; }
.auth-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; width: 100%; max-width: 420px; box-shadow: var(--shadow-card); position: relative; z-index: 1; animation: fadeUp .5s var(--ease) backwards; }
.auth-logo { display: flex; justify-content: center; margin-bottom: 1.25rem; }
.auth-logo .logo-mark { width: 48px; height: 48px; font-size: 1.4rem; border-radius: 13px; }
.auth-card h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; text-align: center; margin-bottom: .35rem; }
.auth-sub { text-align: center; color: var(--text-mute); font-size: .88rem; margin-bottom: 1.5rem; }
.auth-link { text-align: center; color: var(--text-mute); font-size: .88rem; margin-top: 1.25rem; }
.auth-link a { color: var(--mint); font-weight: 600; }
.demo-accounts { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; margin-top: 1.5rem; font-size: .78rem; color: var(--text-dim); }
.demo-title { color: var(--text); font-weight: 600; margin-bottom: .4rem; }
.demo-accounts p { margin: .25rem 0; font-family: var(--font-mono); font-size: .74rem; }
.alert { padding: .75rem 1rem; border-radius: var(--radius-sm); font-size: .85rem; margin-bottom: 1rem; }
.alert-err { background: rgba(255,77,106,.12); color: #FF8FA3; border: 1px solid rgba(255,77,106,.25); }
.alert-ok { background: rgba(0,229,160,.12); color: var(--mint); border: 1px solid rgba(0,229,160,.25); }

/* ════════ TOAST ════════ */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; background: var(--bg-elevated); border: 1px solid var(--violet);
  color: #fff; padding: .9rem 1.5rem; border-radius: 12px; font-size: .88rem; font-weight: 600; z-index: 999;
  animation: slideIn .3s var(--ease), fadeOut .3s ease 2.5s forwards; box-shadow: 0 8px 30px rgba(124,58,237,.3);
}
@keyframes slideIn { from { transform: translateY(20px) scale(.95); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; transform: translateY(10px); } }

/* ════════ EMPTY STATE ════════ */
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--text-mute); }
.empty-state span { font-size: 3rem; display: block; margin-bottom: 1rem; opacity: .5; }
.empty-state p { margin-bottom: 1.25rem; font-size: .95rem; }

/* ════════ MODAL ════════ */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 999; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-content { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; max-width: 440px; width: 90%; box-shadow: var(--shadow-card); animation: fadeUp .25s var(--ease); }
.modal-content h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }

/* ════════ FOOTER ════════ */
.footer { background: var(--bg-surface); border-top: 1px solid var(--border); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand p { color: var(--text-mute); font-size: .88rem; margin: .75rem 0 1rem; max-width: 280px; }
.footer-badges { display: flex; flex-direction: column; gap: .5rem; }
.trust-badge { font-size: .78rem; color: var(--text-dim); background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 999px; padding: .3rem .8rem; display: inline-block; width: fit-content; }
.footer-grid h4 { font-family: var(--font-display); color: var(--text); font-weight: 700; margin-bottom: .85rem; font-size: .92rem; }
.footer-grid a { display: block; color: var(--text-mute); font-size: .87rem; margin: .4rem 0; transition: color .15s; }
.footer-grid a:hover { color: var(--mint); }
.footer-grid p { font-size: .87rem; margin: .4rem 0; color: var(--text-mute); }
.footer-copy { text-align: center; font-size: .8rem; color: var(--text-mute); border-top: 1px solid var(--border); padding-top: 1.5rem; }

/* ════════ RESPONSIVE ════════ */
@media (max-width: 900px) {
  .header-search { display: none; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin: 0 auto 1.75rem; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .detail-grid { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .account-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero-text h1 { font-size: 2.1rem; }
  .nav-links { display: none; flex-direction: column; align-items: stretch; position: absolute; top: 72px; left: 0; right: 0; background: var(--bg-surface); border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; gap: .75rem; z-index: 99; }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .cart-row { grid-template-columns: 56px 1fr auto; }
  .cart-sub, .btn-remove { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: .85rem; }
}

/* ════════ CATEGORIES PAGE ════════ */
.cat-big-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; }
.cat-big-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.25rem; text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: .6rem; transition: all .25s var(--ease); position: relative; overflow: hidden;
}
.cat-big-card::before { content: ''; position: absolute; inset: 0; background: var(--cat-color); opacity: 0; transition: opacity .2s; }
.cat-big-card:hover { border-color: var(--cat-color,var(--violet)); transform: translateY(-4px); box-shadow: 0 12px 32px -8px rgba(0,0,0,.5); }
.cat-big-card:hover::before { opacity: .06; }
.cat-big-icon { font-size: 2.8rem; position: relative; z-index: 1; }
.cat-big-card strong { font-family: var(--font-display); font-size: 1rem; position: relative; z-index: 1; }
.cat-big-card small { color: var(--text-mute); font-size: .8rem; position: relative; z-index: 1; }

/* ════════ PROD STOCK ════════ */
.prod-stock { font-size: .8rem; color: var(--mint); margin-bottom: .5rem; font-weight: 500; }
.prod-stock.low { color: var(--danger); }
.prod-cat-label { font-size: .72rem; color: var(--violet); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: .35rem; }
.max600 { max-width: 600px; }
