/* ═══════════════════════════════════════════════════════
   KRATE — Main Stylesheet
   styles.css
   ═══════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ────────────────────────────────────── */
:root {
  --neon-cyan:    #00f5ff;
  --neon-magenta: #ff006e;
  --neon-gold:    #ffd60a;
  --neon-green:   #39ff14;
  --bg-dark:      #030609;
  --glass:        rgba(0, 245, 255, 0.05);
  --glass-border: rgba(0, 245, 255, 0.15);
  --text-primary: #e8f4ff;
  --text-dim:     rgba(232, 244, 255, 0.5);
}

/* ── RESET ────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  {
  background: var(--bg-dark);
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ── CRT SCANLINES ────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent, transparent 2px,
    rgba(0, 0, 0, 0.03) 2px, rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 9990;
}

/* ── FILM GRAIN ───────────────────────────────────────── */
body::after {
  content: '';
  position: fixed; inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9989;
}

/* ── CUSTOM CURSOR ────────────────────────────────────── */
#cursor {
  width: 12px; height: 12px;
  background: var(--neon-cyan);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
  transition: transform .08s ease, width .2s, height .2s;
  box-shadow: 0 0 20px var(--neon-cyan), 0 0 40px var(--neon-cyan);
}
#cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(0, 245, 255, 0.5);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform .18s ease, width .2s, height .2s, border-color .2s;
}
body:has(a:hover) #cursor      { transform: translate(-50%,-50%) scale(3); }
body:has(a:hover) #cursor-ring { border-color: var(--neon-magenta); transform: translate(-50%,-50%) scale(1.5); }

/* ── NAVIGATION ───────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 60px;
  background: linear-gradient(180deg, rgba(3,6,9,.95) 0%, transparent 100%);
  backdrop-filter: blur(10px);
  animation: navSlide .8s ease forwards;
}
@keyframes navSlide {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

/* Logo */
.logo {
  font-family: 'Orbitron', monospace;
  font-size: 28px; font-weight: 900;
  letter-spacing: 6px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  user-select: none;
}
.logo::after {
  content: 'KRATE';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(8px);
  opacity: .5;
}

/* Nav links */
nav ul { list-style: none; display: flex; gap: 40px; }
nav ul a {
  text-decoration: none;
  color: var(--text-dim);
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  position: relative; transition: color .3s;
}
nav ul a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--neon-cyan);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
nav ul a:hover              { color: var(--neon-cyan); }
nav ul a:hover::after       { transform: scaleX(1); }

/* Nav buttons */
.nav-actions { display: flex; gap: 16px; align-items: center; }
.btn-nav {
  font-family: 'Orbitron', monospace;
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; padding: 10px 24px;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan); background: transparent;
  cursor: pointer; text-transform: uppercase;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: all .3s; position: relative; overflow: hidden;
}
.btn-nav::before {
  content: ''; position: absolute; inset: 0;
  background: var(--neon-cyan); opacity: 0; transition: opacity .3s;
}
.btn-nav:hover::before { opacity: .1; }
.btn-nav:hover         { box-shadow: 0 0 20px rgba(0,245,255,.3); }
.btn-nav.primary {
  background: linear-gradient(135deg, var(--neon-cyan), rgba(0,200,255,.7));
  color: #000; border-color: transparent;
  box-shadow: 0 0 30px rgba(0,245,255,.4);
}
.btn-nav.primary:hover { box-shadow: 0 0 50px rgba(0,245,255,.7); transform: scale(1.02); }

/* Cart icon */
.cart-wrapper {
  font-size: 20px; cursor: pointer; position: relative;
}
#cartCount {
  position: absolute; top: -8px; right: -8px;
  width: 18px; height: 18px;
  background: var(--neon-magenta);
  border-radius: 50%;
  font-size: 9px; font-family: 'Orbitron', monospace;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; transition: transform .2s;
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  position: relative; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: flex-start;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(255,0,110,.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 30% 70%, rgba(0,245,255,.08) 0%, transparent 60%),
    linear-gradient(135deg, #030609 0%, #060d18 50%, #030609 100%);
  will-change: transform;
}

/* Parallax layers */
.parallax-layer { position: absolute; inset: 0; will-change: transform; }
.pl-grid {
  background-image:
    linear-gradient(rgba(0,245,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,255,.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(135deg, transparent 20%, black 50%, transparent 80%);
}
.pl-glow1 { background: radial-gradient(circle at 70% 50%, rgba(255,0,110,.2) 0%, transparent 50%); }
.pl-glow2 { background: radial-gradient(circle at 30% 60%, rgba(0,245,255,.12) 0%, transparent 40%); }

/* Particles */
.particles { position: absolute; inset: 0; overflow: hidden; }
.particle {
  position: absolute; border-radius: 50%;
  background: var(--neon-cyan);
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0%   { transform: translateY(100vh) translateX(0) scale(0); opacity: 0; }
  10%  { opacity: 1; transform: scale(1); }
  90%  { opacity: .5; }
  100% { transform: translateY(-20vh) translateX(var(--dx, 40px)) scale(.5); opacity: 0; }
}

/* GTA VI right-panel */
.hero-visual {
  position: absolute; right: 0; top: 0; bottom: 0; width: 62%;
  overflow: hidden;
}
.gta-bg {
  position: absolute; inset: -20px;
  background-image: url('images/gta6.jpg');
  background-size: cover; background-position: center top;
  background-color: #1a0020; /* fallback */
  will-change: transform;
  filter: saturate(1.3) contrast(1.1);
}
.gta-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #030609 0%, rgba(3,6,9,.4) 30%, rgba(3,6,9,.2) 60%, rgba(3,6,9,.5) 100%),
    linear-gradient(0deg, #030609 0%, transparent 30%);
}

/* Metacritic HUD badge */
.metacritic-badge {
  position: absolute; top: 20%; right: 8%;
  background: rgba(0,0,0,.6);
  border: 1px solid var(--glass-border);
  padding: 12px 18px;
  backdrop-filter: blur(10px);
  animation: floatCard 4s 1s ease-in-out infinite;
  z-index: 2;
}
.metacritic-badge .mc-label { font-family: 'Share Tech Mono', monospace; font-size: 9px; color: var(--text-dim); letter-spacing: 3px; }
.metacritic-badge .mc-score { font-family: 'Orbitron', monospace; font-size: 28px; font-weight: 900; color: var(--neon-green); }
.metacritic-badge .mc-stars { font-size: 9px; color: var(--text-dim); }

/* Hero content */
.hero-content {
  position: relative; z-index: 10;
  padding: 0 80px; max-width: 55%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,214,10,.4);
  background: rgba(255,214,10,.06);
  padding: 6px 16px;
  font-family: 'Share Tech Mono', monospace; font-size: 11px;
  color: var(--neon-gold); letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 24px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  animation: fadeSlideIn .8s .3s both;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--neon-gold);
  box-shadow: 0 0 10px var(--neon-gold);
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}
.hero-label {
  font-family: 'Share Tech Mono', monospace; font-size: 11px;
  color: var(--neon-magenta); letter-spacing: 5px; text-transform: uppercase;
  margin-bottom: 12px;
  animation: fadeSlideIn .8s .5s both;
}
.hero-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(48px, 6vw, 88px); font-weight: 900;
  line-height: .9; text-transform: uppercase;
  animation: fadeSlideIn .8s .6s both;
}
.hero-title .line1 { display: block; color: #fff; letter-spacing: -2px; }
.hero-title .line2 {
  display: block;
  background: linear-gradient(90deg, var(--neon-magenta), var(--neon-gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(255,0,110,.6));
  letter-spacing: -2px;
}
.hero-title .line3 {
  display: block; font-size: .55em; letter-spacing: 12px;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.15);
}
.hero-meta {
  display: flex; gap: 30px; margin: 28px 0;
  animation: fadeSlideIn .8s .8s both;
}
.meta-item    { display: flex; flex-direction: column; }
.meta-label   { font-size: 10px; letter-spacing: 3px; color: var(--text-dim); text-transform: uppercase; }
.meta-value   { font-family: 'Orbitron', monospace; font-size: 14px; color: var(--neon-cyan); font-weight: 700; }
.hero-desc    { font-size: 15px; line-height: 1.7; color: var(--text-dim); max-width: 500px; margin-bottom: 36px; animation: fadeSlideIn .8s .9s both; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeSlideIn .8s 1s both; }

/* CTA buttons */
.btn-primary {
  font-family: 'Orbitron', monospace; font-size: 11px; font-weight: 700;
  letter-spacing: 2px; padding: 16px 40px;
  background: linear-gradient(135deg, var(--neon-magenta), #c800a0);
  color: #fff; border: none; cursor: pointer; text-transform: uppercase;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  position: relative; overflow: hidden;
  box-shadow: 0 0 40px rgba(255,0,110,.5);
  transition: all .3s;
  animation: glowPulse 2s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(255,0,110,.5); }
  50%       { box-shadow: 0 0 80px rgba(255,0,110,.8), 0 0 120px rgba(255,0,110,.3); }
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.2), transparent);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform .5s;
}
.btn-primary:hover::before { transform: translateX(200%) skewX(-15deg); }
.btn-primary:hover          { transform: scale(1.05); }

.btn-secondary {
  font-family: 'Orbitron', monospace; font-size: 11px; font-weight: 700;
  letter-spacing: 2px; padding: 16px 32px;
  background: transparent; color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan); cursor: pointer; text-transform: uppercase;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: all .3s; position: relative; overflow: hidden;
}
.btn-secondary::before { content: ''; position: absolute; inset: 0; background: var(--neon-cyan); opacity: 0; transition: opacity .3s; }
.btn-secondary:hover::before { opacity: .1; }
.btn-secondary:hover         { box-shadow: 0 0 30px rgba(0,245,255,.3); transform: scale(1.02); }

/* Price tag floating card */
.hero-price-tag {
  position: absolute; right: 5%; bottom: 15%;
  background: rgba(0,0,0,.7); border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px); padding: 20px 28px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  animation: floatCard 3s ease-in-out infinite; z-index: 10;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.price-label    { font-size: 10px; letter-spacing: 3px; color: var(--text-dim); text-transform: uppercase; }
.price-val      { font-family: 'Orbitron', monospace; font-size: 32px; font-weight: 900; color: var(--neon-gold); }
.price-platform { display: flex; gap: 8px; margin-top: 8px; }
.platform-chip  { font-size: 9px; letter-spacing: 2px; padding: 3px 10px; border: 1px solid var(--glass-border); color: var(--text-dim); text-transform: uppercase; background: rgba(255,255,255,.03); }

/* Scroll indicator */
.scroll-hint {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: fadeSlideIn 1s 1.5s both; z-index: 10;
}
.scroll-hint span { font-size: 9px; letter-spacing: 4px; color: var(--text-dim); text-transform: uppercase; }
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(180deg, var(--neon-cyan), transparent);
  animation: scrollPulse 1.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(.5); opacity: .3; }
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SCROLLING TICKER ─────────────────────────────────── */
.ticker-wrap {
  overflow: hidden; padding: 14px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255,0,110,.03);
  position: relative;
}
.ticker-wrap::before,
.ticker-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
}
.ticker-wrap::before { left:  0; background: linear-gradient(90deg,  #030609, transparent); }
.ticker-wrap::after  { right: 0; background: linear-gradient(270deg, #030609, transparent); }
.ticker       { display: flex; animation: tickerScroll 25s linear infinite; width: max-content; }
.ticker-item  { padding: 0 40px; font-family: 'Share Tech Mono', monospace; font-size: 11px; color: var(--text-dim); letter-spacing: 3px; text-transform: uppercase; display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.ticker-item span { color: var(--neon-magenta); }
.ticker-sep   { color: var(--neon-cyan); font-size: 16px; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── PLATFORM STRIP ───────────────────────────────────── */
.platforms-section {
  padding: 40px 80px;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(0,245,255,.02);
}
.platforms-label { font-size: 10px; letter-spacing: 4px; color: var(--text-dim); text-transform: uppercase; margin-bottom: 24px; font-family: 'Share Tech Mono', monospace; }
.platforms-row   { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.platform-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 24px;
  border: 1px solid var(--glass-border); background: var(--glass);
  backdrop-filter: blur(10px); cursor: pointer;
  transition: all .3s; position: relative; overflow: hidden;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  animation: slideFromLeft .5s both;
}
.platform-item:nth-child(2) { animation-delay: .1s; }
.platform-item:nth-child(3) { animation-delay: .2s; }
.platform-item:nth-child(4) { animation-delay: .3s; }
.platform-item:nth-child(5) { animation-delay: .4s; }
.platform-item:nth-child(6) { animation-delay: .5s; }
@keyframes slideFromLeft { from { transform: translateX(-30px); opacity: 0; } to { transform: none; opacity: 1; } }
.platform-item::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--neon-cyan); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.platform-item:hover { border-color: var(--neon-cyan); background: rgba(0,245,255,.08); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,245,255,.2); }
.platform-item:hover::before { transform: scaleX(1); }
.platform-icon { font-size: 22px; }
.platform-name { font-family: 'Orbitron', monospace; font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.platform-sub  { font-size: 10px; color: var(--text-dim); letter-spacing: 1px; }

/* ── STATS BAR ────────────────────────────────────────── */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--glass-border); background: rgba(0,245,255,.02);
  margin: 0 -80px; padding: 0 80px;
}
.stat-item { padding: 40px 20px; border-right: 1px solid var(--glass-border); text-align: center; transition: all .3s; }
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(0,245,255,.04); }
.stat-num {
  font-family: 'Orbitron', monospace; font-size: clamp(28px,3vw,44px); font-weight: 900;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 11px; letter-spacing: 3px; color: var(--text-dim); text-transform: uppercase; margin-top: 6px; }

/* ── SECTION COMMON ───────────────────────────────────── */
section { padding: 100px 80px; position: relative; }
.section-header { margin-bottom: 60px; }
.section-tag {
  font-family: 'Share Tech Mono', monospace; font-size: 10px;
  letter-spacing: 4px; color: var(--neon-cyan); text-transform: uppercase;
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.section-tag::before { content: ''; width: 30px; height: 1px; background: var(--neon-cyan); }
.section-title { font-family: 'Orbitron', monospace; font-size: clamp(28px, 4vw, 48px); font-weight: 900; text-transform: uppercase; letter-spacing: -1px; }

/* ── FEATURED GAMES GRID ──────────────────────────────── */
.games-section { background: #030609; }
.games-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
  border: 1px solid var(--glass-border);
}
.game-card { position: relative; overflow: hidden; cursor: pointer; min-height: 300px; }
.game-card:first-child { grid-row: span 2; min-height: 600px; }

.game-card-bg { position: absolute; inset: 0; background-color: #0d0820; }
.game-card-bg img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.game-card:hover .game-card-bg img { transform: scale(1.08); }

.card-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(3,6,9,.95) 0%, rgba(3,6,9,.4) 40%, transparent 100%); }
.card-info     { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; transform: translateY(10px); transition: transform .3s; }
.game-card:hover .card-info { transform: translateY(0); }

.card-genre    { font-size: 9px; letter-spacing: 3px; color: var(--neon-cyan); text-transform: uppercase; font-family: 'Share Tech Mono', monospace; margin-bottom: 6px; }
.card-title    { font-family: 'Orbitron', monospace; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
.card-title-lg { font-size: 28px; }
.card-title-sm { font-size: 15px; }

.card-rating   { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.stars         { color: var(--neon-gold); font-size: 11px; letter-spacing: 2px; }
.rating-num    { font-size: 11px; color: var(--text-dim); font-family: 'Share Tech Mono', monospace; }

.card-price-row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.card-price     { font-family: 'Orbitron', monospace; font-weight: 700; color: var(--neon-gold); font-size: 18px; }
.card-badge     { font-size: 9px; letter-spacing: 2px; padding: 4px 12px; background: rgba(255,214,10,.15); border: 1px solid rgba(255,214,10,.3); color: var(--neon-gold); text-transform: uppercase; clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }
.card-badge.hot { background: rgba(255,0,110,.15); border-color: rgba(255,0,110,.3); color: var(--neon-magenta); }
.card-badge.new { background: rgba(57,255,20,.1);  border-color: rgba(57,255,20,.3);  color: var(--neon-green);   }

.card-actions  { display: flex; gap: 8px; margin-top: 14px; opacity: 0; transform: translateY(10px); transition: all .3s .1s; }
.game-card:hover .card-actions { opacity: 1; transform: translateY(0); }

.btn-add {
  font-family: 'Orbitron', monospace; font-size: 9px; font-weight: 700;
  padding: 8px 18px; letter-spacing: 2px; text-transform: uppercase;
  background: var(--neon-magenta); color: #fff; border: none; cursor: pointer;
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
  transition: all .2s; box-shadow: 0 0 20px rgba(255,0,110,.4);
}
.btn-add:hover { box-shadow: 0 0 40px rgba(255,0,110,.8); transform: scale(1.05); }
.btn-wishlist {
  font-family: 'Orbitron', monospace; font-size: 9px; font-weight: 700;
  padding: 8px 14px; letter-spacing: 2px; text-transform: uppercase;
  background: transparent; color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan); cursor: pointer;
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
  transition: all .2s;
}
.btn-wishlist:hover { background: rgba(0,245,255,.1); }

.featured-stamp {
  position: absolute; top: 20px; left: 20px;
  background: var(--neon-magenta); color: #fff;
  font-family: 'Orbitron', monospace; font-size: 9px; font-weight: 700;
  padding: 5px 14px; letter-spacing: 2px;
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
  box-shadow: 0 0 20px rgba(255,0,110,.6);
}

/* ── FLASH DEALS ──────────────────────────────────────── */
.deals-section  { background: linear-gradient(180deg, #030609 0%, #04080f 100%); }
.deals-grid     { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.deal-card {
  border: 1px solid var(--glass-border); background: var(--glass);
  backdrop-filter: blur(10px);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  position: relative; overflow: hidden; transition: all .3s; cursor: pointer;
}
.deal-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,245,255,.05) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s; z-index: 1;
}
.deal-card:hover::before { opacity: 1; }
.deal-card:hover { border-color: rgba(0,245,255,.3); transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,245,255,.1); }

.deal-cover { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #0a0a14; position: relative; }
.deal-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.deal-card:hover .deal-cover img { transform: scale(1.07); }
.deal-cover-fallback { position: absolute; inset: 0; }

.deal-body      { padding: 16px; }
.deal-name      { font-family: 'Orbitron', monospace; font-size: 12px; font-weight: 700; letter-spacing: 1px; margin-bottom: 10px; }
.deal-prices    { display: flex; align-items: center; gap: 10px; }
.deal-original  { font-size: 12px; color: var(--text-dim); text-decoration: line-through; }
.deal-sale      { font-family: 'Orbitron', monospace; font-size: 18px; color: var(--neon-green); font-weight: 700; }
.deal-pct       { font-size: 10px; padding: 2px 8px; letter-spacing: 1px; background: rgba(57,255,20,.15); border: 1px solid rgba(57,255,20,.3); color: var(--neon-green); margin-left: auto; font-family: 'Share Tech Mono', monospace; }

/* ── NEW RELEASES STRIP ───────────────────────────────── */
.releases-section { background: #030609; padding: 80px 80px; }
.new-releases {
  display: flex; gap: 16px;
  overflow-x: auto; padding-bottom: 16px;
}
.new-releases::-webkit-scrollbar        { height: 2px; }
.new-releases::-webkit-scrollbar-thumb  { background: var(--neon-cyan); }

.release-card {
  min-width: 200px;
  border: 1px solid var(--glass-border); background: var(--glass);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: all .3s; cursor: pointer; overflow: hidden;
}
.release-card:hover { border-color: var(--neon-cyan); transform: scale(1.05); box-shadow: 0 0 30px rgba(0,245,255,.15); }
.release-cover { width: 100%; height: 140px; overflow: hidden; background: #0a0a14; position: relative; }
.release-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.release-card:hover .release-cover img { transform: scale(1.1); }
.release-cover-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.release-info  { padding: 14px; }
.release-name  { font-family: 'Orbitron', monospace; font-size: 11px; font-weight: 700; letter-spacing: 1px; margin-bottom: 6px; }
.release-price { font-family: 'Orbitron', monospace; font-size: 14px; color: var(--neon-cyan); font-weight: 700; }

/* ── LIBRARY ──────────────────────────────────────────── */
.library-section { background: linear-gradient(180deg, #030609 0%, #03080e 100%); padding: 100px 80px; }

.lib-controls { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; align-items: center; }
.lib-filter {
  font-family: 'Orbitron', monospace; font-size: 9px; font-weight: 700;
  letter-spacing: 2px; padding: 8px 20px;
  background: transparent; color: var(--text-dim);
  border: 1px solid var(--glass-border); cursor: pointer; text-transform: uppercase;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  transition: all .3s;
}
.lib-filter.active,
.lib-filter:hover { color: var(--neon-cyan); border-color: var(--neon-cyan); background: rgba(0,245,255,.07); box-shadow: 0 0 15px rgba(0,245,255,.15); }
.lib-sort {
  font-family: 'Orbitron', monospace; font-size: 9px; font-weight: 700;
  letter-spacing: 2px; padding: 8px 20px;
  background: var(--bg-dark); color: var(--text-dim);
  border: 1px solid var(--glass-border); cursor: pointer;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  margin-left: auto;
}

/* Grid */
.lib-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

/* Card */
.lib-card {
  position: relative; overflow: hidden; cursor: pointer;
  border: 1px solid var(--glass-border); background: var(--glass);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: all .35s cubic-bezier(.25,.46,.45,.94);
  animation: libCardIn .4s both;
}
@keyframes libCardIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.lib-card:hover { border-color: rgba(0,245,255,.4); transform: translateY(-10px) scale(1.02); box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 30px rgba(0,245,255,.1); }

/* Cover area */
.lib-cover { width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: #08080f; position: relative; }
.lib-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.lib-card:hover .lib-cover img { transform: scale(1.1); }
.lib-cover-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
}
.fb-icon  { font-size: 28px; opacity: .4; }
.fb-label { font-family: 'Orbitron', monospace; font-size: 9px; font-weight: 700; letter-spacing: 2px; color: rgba(255,255,255,.3); text-transform: uppercase; text-align: center; padding: 0 12px; line-height: 1.4; }

/* Hover overlay */
.lib-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(3,6,9,.98) 0%, rgba(3,6,9,.3) 45%, transparent 100%);
  opacity: 0; transition: opacity .3s;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 16px;
}
.lib-card:hover .lib-card-overlay { opacity: 1; }
.lib-quick-buy {
  font-family: 'Orbitron', monospace; font-size: 9px; font-weight: 700;
  padding: 7px 0; width: 100%; text-align: center; letter-spacing: 2px;
  background: var(--neon-magenta); color: #fff; border: none; cursor: pointer;
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
  margin-bottom: 8px; transition: box-shadow .2s;
}
.lib-quick-buy:hover { box-shadow: 0 0 25px rgba(255,0,110,.7); }
.lib-score { font-size: 9px; font-family: 'Share Tech Mono', monospace; color: var(--text-dim); letter-spacing: 1px; text-align: center; }

/* Card info row */
.lib-card-info { padding: 12px 14px; }
.lib-title     { font-family: 'Orbitron', monospace; font-size: 10px; font-weight: 700; letter-spacing: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
.lib-meta-row  { display: flex; align-items: center; justify-content: space-between; }
.lib-price     { font-family: 'Orbitron', monospace; font-size: 13px; font-weight: 700; }
.lib-platform-dots { display: flex; gap: 4px; }
.lib-dot       { width: 6px; height: 6px; border-radius: 50%; background: var(--text-dim); }
.lib-dot.ps    { background: #0070cc; }
.lib-dot.xbox  { background: #107c10; }
.lib-dot.pc    { background: var(--neon-cyan); }
.lib-dot.deck  { background: #1a9fff; }

/* Badges */
.lib-badge-tiny { font-size: 8px; letter-spacing: 1px; padding: 2px 6px; background: rgba(255,0,110,.2); border: 1px solid rgba(255,0,110,.4); color: var(--neon-magenta); }
.lib-badge-tiny.sale { background: rgba(57,255,20,.15); border-color: rgba(57,255,20,.4); color: var(--neon-green); }
.lib-badge-tiny.free { background: rgba(0,245,255,.1);  border-color: rgba(0,245,255,.4);  color: var(--neon-cyan); }

/* Loader & end */
.lib-loader { text-align: center; padding: 50px 0; display: none; flex-direction: column; align-items: center; gap: 16px; }
.lib-loader-ring { width: 40px; height: 40px; border: 2px solid var(--glass-border); border-top-color: var(--neon-cyan); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.lib-loader-text { font-family: 'Share Tech Mono', monospace; font-size: 10px; letter-spacing: 4px; color: var(--text-dim); }
.lib-end-msg { text-align: center; padding: 40px; font-family: 'Share Tech Mono', monospace; font-size: 11px; letter-spacing: 3px; color: var(--text-dim); display: none; }
#lib-sentinel { height: 1px; }

/* ── SCROLL REVEAL ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── CART TOAST ───────────────────────────────────────── */
.cart-notif {
  position: fixed; bottom: 30px; right: 30px;
  background: rgba(0,0,0,.9); border: 1px solid var(--neon-green);
  padding: 16px 24px; z-index: 9000;
  display: flex; align-items: center; gap: 14px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transform: translateX(200%);
  transition: transform .4s cubic-bezier(.68,-.55,.265,1.55);
  backdrop-filter: blur(20px);
}
.cart-notif.show  { transform: translateX(0); }
.cart-notif-check { font-size: 20px; }
.cart-notif-text  { font-family: 'Orbitron', monospace; font-size: 11px; font-weight: 700; color: var(--neon-green); letter-spacing: 1px; }
.cart-notif-sub   { font-size: 10px; color: var(--text-dim); letter-spacing: 2px; margin-top: 2px; }

/* ── FOOTER ───────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 60px 80px 40px;
  background: linear-gradient(0deg, rgba(0,245,255,.03) 0%, transparent 100%);
}
.footer-top   { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand .logo { margin-bottom: 16px; display: block; font-size: 22px; }
.footer-desc  { font-size: 13px; color: var(--text-dim); line-height: 1.7; max-width: 260px; }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.social-btn   { width: 36px; height: 36px; border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; font-size: 14px; cursor: pointer; transition: all .2s; }
.social-btn:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); }
.footer-col h4 { font-family: 'Orbitron', monospace; font-size: 10px; font-weight: 700; letter-spacing: 3px; color: var(--neon-cyan); text-transform: uppercase; margin-bottom: 20px; }
.footer-col a  { display: block; text-decoration: none; color: var(--text-dim); font-size: 13px; margin-bottom: 10px; letter-spacing: 1px; transition: color .2s; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid var(--glass-border); }
.footer-copy   { font-size: 11px; color: var(--text-dim); letter-spacing: 2px; font-family: 'Share Tech Mono', monospace; }
.footer-status { font-family: 'Share Tech Mono', monospace; font-size: 10px; color: var(--text-dim); letter-spacing: 2px; }
.status-dot    { color: var(--neon-green); }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  nav ul { display: none; }
  section { padding: 60px 24px; }
  .hero-content { padding: 0 24px; max-width: 90%; }
  .games-grid { grid-template-columns: 1fr; }
  .games-grid .game-card:first-child { grid-row: span 1; min-height: 350px; }
  .deals-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; margin: 0 -24px; padding: 0 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .platforms-section { padding: 30px 24px; }
  .library-section { padding: 60px 24px; }
  .lib-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .releases-section { padding: 60px 24px; }
}
