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

:root {
  --bg: #050b18;
  --bg2: #09152c;
  --electric: #2e9bff;
  --electric-bright: #6ec8ff;
  --purple: #8b5cf6;
  --cyan: #00e5ff;
  --white: #f5fbff;
}

body { font-family: 'Vazirmatn', Tahoma, sans-serif; color: var(--white); background: var(--bg); overflow-x: hidden; }

body::before {
  content: ""; position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(46,155,255,0.20) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 50%, #143055 0%, #0a1a30 80%);
}

.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(46,155,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,155,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 75%);
}

#net { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* hexagon grid-e zarif */
.hex-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(46,155,255,0.06) 1px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 20%, transparent 78%);
}

/* moj-e energy ke aroom harekat mikone */
.energy-wave {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background:
    radial-gradient(circle 600px at 18% 25%, rgba(46,155,255,0.10), transparent 60%),
    radial-gradient(circle 520px at 82% 70%, rgba(139,92,246,0.10), transparent 60%),
    radial-gradient(circle 480px at 60% 90%, rgba(0,229,255,0.07), transparent 60%);
  animation: energyDrift 18s ease-in-out infinite alternate;
}
@keyframes energyDrift {
  0%   { background-position: 0% 0%, 0% 0%, 0% 0%; }
  100% { background-position: 6% 8%, -6% -5%, 4% -8%; }
}

.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 24px; transition: opacity 0.8s ease;
}
.loader.hide { opacity: 0; pointer-events: none; }
.loader-ring {
  width: 60px; height: 60px; border-radius: 50%;
  border: 2px solid rgba(46,155,255,0.2); border-top-color: var(--electric);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-text { font-size: 13px; letter-spacing: 6px; color: var(--electric); text-transform: uppercase; }

.header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 44px; position: fixed; top: 0; left: 0; right: 0;
  z-index: 20; transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent;
}
.header.solid { background: rgba(10,26,48,0.7); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(46,155,255,0.12); }
.logo { display: flex; align-items: center; gap: 12px; font-size: 30px; font-weight: 900; letter-spacing: 4px; color: var(--white); font-family: 'Orbitron', sans-serif; }
.logo-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--electric); box-shadow: 0 0 12px var(--electric), 0 0 26px var(--electric); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.35);opacity:.65} }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a { color: #aebfd4; text-decoration: none; font-size: 14px; letter-spacing: .5px; transition: color .2s; }
.menu a:hover { color: var(--electric-bright); }
.btn-login { border: 1px solid rgba(46,155,255,0.5); border-radius: 8px; padding: 8px 20px; color: var(--white) !important; transition: all .25s; }
.btn-login:hover { background: var(--electric); border-color: transparent; box-shadow: 0 0 22px rgba(46,155,255,0.6); color: #03060d !important; }
.btn-lang { background: transparent; border: 1px solid #2a4a66; color: var(--white); border-radius: 8px; padding: 8px 15px; font-family: inherit; font-size: 13px; cursor: pointer; transition: all .2s; }
.btn-lang:hover { border-color: var(--electric); color: var(--electric-bright); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-signup { background: linear-gradient(110deg, var(--electric), var(--electric-bright)); color: #03060d !important; border-radius: 8px; padding: 8px 20px; font-weight: 700; font-family: 'Rajdhani','Vazirmatn',sans-serif; transition: box-shadow .25s, transform .2s cubic-bezier(.3,1.6,.5,1); }
.btn-signup:hover { box-shadow: 0 0 22px rgba(46,155,255,0.6); transform: translateY(-2px) scale(1.04); }

.dropdown { position: relative; }
.drop-trigger { cursor: pointer; }
.drop-menu {
  position: absolute; top: 130%; right: 0; background: rgba(14,36,64,0.97);
  border: 1px solid rgba(46,155,255,0.2); border-radius: 12px; padding: 8px; min-width: 170px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all .2s; backdrop-filter: blur(14px); box-shadow: 0 14px 40px rgba(0,0,0,0.5); z-index: 30;
}
.dropdown:hover .drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.drop-menu a { padding: 10px 14px; border-radius: 8px; font-size: 14px; color: #cfe0f0; transition: all .15s; }
.drop-menu a:hover { background: rgba(46,155,255,0.12); color: var(--electric-bright); }

/* sahne-ye daste (vasat-e safhe, mesl-e model-e 3D-ye ghadimi) */
#controllerStage {
  position: fixed; top: 52%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(1300px, 98vw); height: min(900px, 88vw);
  z-index: 1; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .4s;
}
/* halqe-haye energy (biceyi-ye nazok-e ofoghi ke micharkhe) */
.ctrl-ring {
  position: absolute; top: 52%; left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(78deg);
}
.ctrl-ring1 {
  width: 70%; height: 70%;
  border: 1.5px solid rgba(46,155,255,0.5);
  box-shadow: 0 0 22px rgba(46,155,255,0.35);
  animation: ringSpin1 16s linear infinite;
}
.ctrl-ring2 {
  width: 82%; height: 82%;
  border: 1px solid rgba(139,92,246,0.35);
  box-shadow: 0 0 16px rgba(139,92,246,0.25);
  animation: ringSpin2 22s linear infinite;
}
@keyframes ringSpin1 { from { transform: translate(-50%,-50%) rotateX(78deg) rotateZ(0); } to { transform: translate(-50%,-50%) rotateX(78deg) rotateZ(360deg); } }
@keyframes ringSpin2 { from { transform: translate(-50%,-50%) rotateX(74deg) rotateZ(360deg); } to { transform: translate(-50%,-50%) rotateX(74deg) rotateZ(0); } }
/* hale-ye nourani-ye posht-e daste */
.ctrl-glow {
  position: absolute; top: 50%; left: 50%;
  width: 50%; height: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(46,155,255,0.3), transparent 65%);
  filter: blur(24px);
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100% { opacity: .55; } 50% { opacity: .9; } }

#controllerImg {
  position: relative; z-index: 2;
  width: 110%; height: auto;
  filter: drop-shadow(0 18px 45px rgba(46,155,255,0.5));
  animation: floatCtrl 5s ease-in-out infinite;
  opacity: 0; transition: opacity 1s ease;
}
#controllerImg.show { opacity: 1; }
@keyframes floatCtrl {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-16px) rotate(2deg); }
}
@media (max-width: 600px) {
  #controllerStage { width: 100vw; height: 64vw; top: 46%; }
  #controllerImg { width: 76%; }
  .ctrl-glow { width: 60%; height: 60%; }
}
@media (min-width: 601px) and (max-width: 900px) {
  #controllerStage { width: 92vw; height: 60vw; top: 46%; }
  #controllerImg { width: 74%; }
}

.scroll-wrap { position: relative; z-index: 2; }
.stage { height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 0 20px; will-change: opacity, transform; }
.kicker { font-size: 13px; letter-spacing: 7px; color: var(--electric); text-transform: uppercase; margin-bottom: 4px; font-family: 'Rajdhani', sans-serif; font-weight: 600; }
.big-title { font-size: 120px; font-weight: 900; letter-spacing: 10px; line-height: 1; color: var(--white); text-shadow: 0 0 40px rgba(46,155,255,0.55); font-family: 'Orbitron', sans-serif; }
.stage-title { font-size: 60px; font-weight: 900; color: var(--white); text-shadow: 0 0 36px rgba(46,155,255,0.5); }
.stage-title .hl { color: var(--electric-bright); }
.stage-sub { font-size: 18px; color: #c6d6e8; max-width: 520px; }
.scroll-cue { margin-top: 34px; font-size: 12px; letter-spacing: 3px; color: #7a92ad; animation: bounce 1.8s ease-in-out infinite; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(10px)} }

.section { padding: 90px 44px; position: relative; z-index: 3; max-width: 1200px; margin: 0 auto; background: linear-gradient(180deg, #0a1a30, #0b1d36); }

/* ===== Text Reveal (vorud be viewport) ===== */
.sec-title, .sec-sub {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1);
}
.reveal-in { opacity: 1 !important; transform: translateY(0) !important; }
.sec-sub { transition-delay: .12s; }

.sec-title { font-size: 38px; font-weight: 900; color: var(--white); margin-bottom: 6px; position: relative; display: inline-block; }
.sec-title::after {
  content: ''; display: block; height: 4px; border-radius: 4px; margin-top: 12px;
  width: 54px;
  background: linear-gradient(90deg, var(--electric), var(--purple), var(--cyan));
  box-shadow: 0 0 18px rgba(46,155,255,0.8);
  animation: titleLine 3s ease-in-out infinite;
}
@keyframes titleLine {
  0%,100% { width: 54px; opacity: 0.85; }
  50%     { width: 92px; opacity: 1; }
}
.sec-title .hl { color: var(--electric-bright); }
.sec-sub { color: #8aa0b8; font-size: 15px; margin-bottom: 36px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.pkg-card, .game-card {
  position: relative;
  background: linear-gradient(165deg, rgba(20,44,80,0.78), rgba(10,24,48,0.85));
  border: 1px solid rgba(46,155,255,0.18);
  border-radius: 16px; padding: 18px;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
  overflow: hidden;
}
/* khat-e noori bala (top accent) */
.pkg-card::before, .game-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--electric), var(--cyan), transparent);
  opacity: 0; transition: opacity .3s; z-index: 4;
}
/* energy sweep: noor ke az chap be rast rad mishe */
.pkg-card::after, .game-card::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 50%;
  background: linear-gradient(100deg, transparent, rgba(110,200,255,0.14), transparent);
  transform: skewX(-18deg); transition: none; pointer-events: none; z-index: 3;
}
.pkg-card:hover, .game-card:hover {
  border-color: rgba(46,155,255,0.65);
  box-shadow: 0 20px 50px rgba(46,155,255,0.30), 0 0 0 1px rgba(110,200,255,0.18) inset;
  transform: translateY(-9px) scale(1.018);
}
.pkg-card:hover::before, .game-card:hover::before { opacity: 1; }
.pkg-card:hover::after, .game-card:hover::after {
  animation: cardSweep .8s ease;
}
@keyframes cardSweep {
  0%   { left: -60%; }
  100% { left: 130%; }
}
/* gooshe-haye Sci-Fi (corner accents) */
.pkg-card, .game-card { }
.game-card .game-art, .pkg-card .pkg-art { position: relative; }
.game-card .game-art::before, .game-card .game-art::after,
.pkg-card .pkg-art::before, .pkg-card .pkg-art::after {
  content: ""; position: absolute; width: 16px; height: 16px; z-index: 2;
  border-color: var(--cyan); opacity: 0.0; transition: opacity .3s;
}
.game-card .game-art::before, .pkg-card .pkg-art::before {
  top: 8px; left: 8px; border-top: 2px solid var(--cyan); border-left: 2px solid var(--cyan);
}
.game-card .game-art::after, .pkg-card .pkg-art::after {
  bottom: 8px; right: 8px; border-bottom: 2px solid var(--cyan); border-right: 2px solid var(--cyan);
}
.game-card:hover .game-art::before, .game-card:hover .game-art::after,
.pkg-card:hover .pkg-art::before, .pkg-card:hover .pkg-art::after { opacity: 0.9; }
.pkg-art, .game-art {
  position: relative; width: 100%; height: 0; padding-bottom: 133%;
  border-radius: 13px; background: linear-gradient(135deg, #143055, #0e2440);
  border: 1px dashed rgba(46,155,255,0.28);
  color: #6a86a4; font-size: 14px; margin-bottom: 14px; background-size: cover; background-position: center top;
  overflow: hidden;
}
.pkg-art > *, .game-art > * { position: absolute; }
.pkg-art .cover-label, .game-art .cover-label {
  top: 50%; left: 50%; transform: translate(-50%,-50%); width: 100%;
}
.pkg-card h3, .game-card h3 { font-size: 18px; margin-bottom: 6px; }
.cover-label {
  font-size: 24px; font-weight: 900; color: #fff; text-align: center;
  padding: 0 14px; letter-spacing: 1px; line-height: 1.25;
  text-shadow: 0 2px 14px rgba(0,0,0,0.7), 0 0 30px rgba(0,0,0,0.5);
  font-family: Arial, sans-serif; text-transform: uppercase;
}
.muted { color: #8aa0b8; font-size: 13px; }

.opt-row { margin: 12px 0 6px; }
.opt-label { font-size: 12px; color: #9ab2cc; margin-bottom: 6px; display: block; }
.opt-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.opt-btn { background: transparent; border: 1px solid #2a4a66; color: #cfe0f0; border-radius: 8px; padding: 7px 14px; font-family: inherit; font-size: 13px; cursor: pointer; transition: all .15s; }
.opt-btn:hover { border-color: var(--electric); color: #fff; background: rgba(46,155,255,0.08); }
.opt-btn.active { background: var(--electric); color: #03060d; border-color: var(--electric); box-shadow: 0 0 14px rgba(46,155,255,0.5); }
.price-box { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(46,155,255,0.14); display: flex; align-items: center; justify-content: space-between; }
.price-val { font-size: 20px; font-weight: 900; color: var(--white); }
.price-val small { font-size: 12px; color: #8aa0b8; font-weight: 400; }
.price-hint { font-size: 12px; color: #8aa0b8; }
.btn-buy {
  position: relative; overflow: hidden;
  background: linear-gradient(110deg, var(--electric), var(--electric-bright));
  background-size: 180% 100%; background-position: 0 0;
  color: #03060d; border: none; border-radius: 9px; padding: 11px 24px;
  font-family: 'Rajdhani','Vazirmatn',sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .5px;
  cursor: pointer;
  transition: background-position .35s, box-shadow .25s, transform .2s cubic-bezier(.3,1.6,.5,1);
  margin-top: 12px;
}
/* shine ke rooye dokme rad mishe */
.btn-buy::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg); pointer-events: none;
}
.btn-buy:hover {
  background-position: 100% 0;
  box-shadow: 0 8px 26px rgba(46,155,255,0.6), 0 0 18px rgba(0,229,255,0.4);
  transform: translateY(-3px) scale(1.03);
}
.btn-buy:hover::after { animation: btnShine .7s ease; }
.btn-buy:active { transform: translateY(-1px) scale(0.99); }
@keyframes btnShine { 0% { left: -75%; } 100% { left: 130%; } }

/* ===== wobble animations ===== */
@keyframes plusWobble { 0%,100% { transform: rotate(-12deg) scale(1); } 50% { transform: rotate(12deg) scale(1.08); } }
@keyframes eaWobble { 0%,100% { transform: rotate(-10deg) scale(1); } 50% { transform: rotate(10deg) scale(1.08); } }
.ea-mark { color: #9333ea; text-shadow: 0 0 24px rgba(124,58,180,0.85), 0 0 52px rgba(124,58,180,0.45); display: inline-block; font-weight: 900; letter-spacing: 2px; animation: eaWobble 3s ease-in-out infinite; }

/* ===== Plus / EA tier cards ===== */
.plus-grid { align-items: stretch; }
.plus-card { border-radius: 20px; padding: 24px 22px; display: flex; flex-direction: column; border: 1px solid rgba(46,155,255,0.20); transition: all .25s; position: relative; overflow: hidden; }
.plus-card:hover { transform: translateY(-8px) scale(1.012); box-shadow: 0 22px 56px rgba(0,0,0,0.5); }

.tier-ess  { background: linear-gradient(160deg, #14365e, #0c2138); border-color: rgba(46,155,255,0.35); }
.tier-extra{ background: linear-gradient(160deg, #0e4a63, #0a2d3e); border-color: rgba(56,205,255,0.40); }
.tier-prem { background: linear-gradient(160deg, #2a2a6e, #161a44); border-color: rgba(140,120,255,0.45); }
.tier-ea   { background: linear-gradient(160deg, #2a1148, #160a2e); border-color: rgba(147,51,234,0.45); }
.tier-ess:hover  { box-shadow: 0 18px 50px rgba(46,155,255,0.25); }
.tier-extra:hover{ box-shadow: 0 18px 50px rgba(56,205,255,0.28); }
.tier-prem:hover { box-shadow: 0 18px 50px rgba(140,120,255,0.30); }
.tier-ea:hover   { box-shadow: 0 18px 50px rgba(147,51,234,0.30); }

.plus-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.plus-badge {
  width: 64px; height: 64px; flex: none; border-radius: 16px;
  background: radial-gradient(circle at 50% 45%, #2a1d05, #140d03);
  display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,210,74,0.4);
}
.plus-badge .big-plus { font-size: 40px; font-weight: 900; color: #ffd24a; text-shadow: 0 0 16px rgba(255,210,74,0.9); display: inline-block; animation: plusWobble 3s ease-in-out infinite; }
.ea-badge { background: radial-gradient(circle at 50% 45%, #2a1148, #160a2e) !important; border: 1px solid rgba(147,51,234,0.5) !important; }
.ea-badge .ea-mark { font-size: 26px; }

.plus-name { display: flex; flex-direction: column; }
.plus-fa { font-size: 17px; font-weight: 800; color: #fff; }
.plus-en { font-size: 13px; color: #9fb6cc; letter-spacing: 1px; }

.feat-list { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.feat-list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.feat-list li.on { color: #e6f0fa; }
.feat-list li.off { color: #5d7a93; opacity: 0.65; }
.feat-list .tick { width: 22px; height: 22px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; }
.feat-list li.on .tick { background: rgba(46,205,140,0.18); color: #3ddf9a; }
.feat-list li.off .tick { background: rgba(255,90,90,0.12); color: #ff6b6b; }

.plus-card .opt-row { margin: 4px 0 6px; }
.plus-card .price-box { margin-top: auto; }

#eaGrid { grid-template-columns: repeat(2, 1fr); max-width: 760px; }


/* ===== sabad-e kharid ===== */
.cart-btn {
  position: relative; background: transparent; border: 1px solid #2a4a66;
  color: var(--white); border-radius: 8px; padding: 8px 12px; cursor: pointer;
  display: flex; align-items: center; transition: all .2s;
}
.cart-btn:hover { border-color: var(--electric); color: var(--electric-bright); }
.cart-count {
  position: absolute; top: -8px; right: -8px;
  background: var(--electric); color: #03060d; box-shadow: 0 0 12px rgba(46,155,255,0.8);
  font-size: 11px; font-weight: 900;
  min-width: 19px; height: 19px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}

.cart-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(2,8,20,0.62); backdrop-filter: blur(5px);
  opacity: 0; visibility: hidden; transition: all .35s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-panel {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 61;
  width: 390px; max-width: 90vw;
  background: linear-gradient(160deg, rgba(12,33,56,0.82), rgba(6,16,32,0.88));
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  border-right: 1px solid rgba(110,200,255,0.35);
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform .4s cubic-bezier(.2,.9,.2,1);
  box-shadow: 18px 0 60px rgba(0,0,0,0.55), inset -1px 0 0 rgba(110,200,255,0.12);
}
.cart-panel.open { transform: translateX(0); }
/* khat-e noori-ye labe-ye panel */
.cart-panel::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 2px;
  background: linear-gradient(180deg, transparent, var(--electric), var(--cyan), transparent);
  opacity: 0.7;
}
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px; border-bottom: 1px solid rgba(46,155,255,0.14);
}
.cart-head h3 { font-size: 20px; }
.cart-close { background: none; border: none; color: #9ab2cc; font-size: 30px; cursor: pointer; line-height: 1; transition: color .2s; }
.cart-close:hover { color: #fff; }

.cart-items { flex: 1; min-height: 60px; overflow-y: auto; padding: 16px 22px; display: flex; flex-direction: column; gap: 12px; }
.cart-empty { color: #8aa0b8; text-align: center; margin-top: 40px; font-size: 14px; }
.cart-item {
  display: flex; align-items: center; gap: 12px;
  background: rgba(20,44,78,0.45); border: 1px solid rgba(110,200,255,0.18);
  border-radius: 12px; padding: 12px;
  transition: border-color .2s, background .2s;
}
.cart-item:hover { border-color: rgba(110,200,255,0.4); background: rgba(24,52,90,0.6); }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.cart-item-meta { font-size: 12px; color: #8aa0b8; }
.cart-item-price { font-size: 14px; font-weight: 800; color: var(--electric-bright); white-space: nowrap; }
.cart-item-del { background: none; border: none; color: #ff6b6b; cursor: pointer; line-height: 0; padding: 4px; display: flex; align-items: center; justify-content: center; transition: color .2s, transform .2s; }
.cart-item-del:hover { color: #ff3b3b; transform: scale(1.12); }
.cart-item-del svg { display: block; }
.cart-item-img { width: 46px; height: 46px; border-radius: 9px; background-size: cover; background-position: center; flex-shrink: 0; border: 1px solid rgba(110,200,255,0.25); }
.cart-item-img-empty { display: flex; align-items: center; justify-content: center; font-size: 20px; background: rgba(24,52,90,0.5); }

.cart-foot { padding: 20px 22px; border-top: 1px solid rgba(46,155,255,0.14); overflow-y: auto; flex-shrink: 0; max-height: 72vh; }
.cart-total-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 15px; }
.cart-total { font-size: 20px; font-weight: 900; color: #fff; }

/* ===== code-e takhfif + jamع ===== */
.code-row { display: flex; gap: 8px; margin-bottom: 8px; }
.code-input {
  flex: 1; background: rgba(20,42,72,0.6); border: 1px solid #2a4a66;
  color: var(--white); border-radius: 8px; padding: 10px 12px;
  font-family: inherit; font-size: 13px; text-align: center;
}
.code-input:focus { outline: none; border-color: var(--electric); }
.code-input::placeholder { color: #6a86a4; }
.code-btn {
  background: transparent; border: 1px solid var(--electric); color: var(--electric-bright);
  border-radius: 8px; padding: 10px 16px; font-family: inherit; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all .2s; white-space: nowrap;
}
.code-btn:hover { background: var(--electric); color: #03060d; }
.code-msg { font-size: 12px; min-height: 16px; margin-bottom: 10px; text-align: center; }
.code-msg.ok { color: #3ddf9a; }
.code-msg.bad { color: #ff6b6b; }
.code-remove { background: rgba(255,90,90,0.12); border: 1px solid rgba(255,90,90,0.4); color: #ff8585; border-radius: 6px; padding: 2px 8px; font-family: inherit; font-size: 11px; font-weight: 700; cursor: pointer; margin-right: 6px; transition: all .2s; }
.code-remove:hover { background: rgba(255,90,90,0.25); color: #ff6b6b; }

.sum-row { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: #b8cade; margin-bottom: 8px; }
.sum-discount { color: #3ddf9a; }
.sum-total { font-size: 16px; font-weight: 800; color: #fff; padding-top: 10px; border-top: 1px solid rgba(46,155,255,0.14); margin-top: 4px; margin-bottom: 14px; }
.sum-total .cart-total { font-size: 20px; font-weight: 900; }

.btn-checkout {
  position: relative; overflow: hidden;
  width: 100%; background: linear-gradient(110deg, var(--electric), var(--electric-bright));
  color: #03060d; border: none; border-radius: 10px; padding: 14px;
  font-family: 'Rajdhani','Vazirmatn',sans-serif; font-weight: 700; font-size: 16px; letter-spacing: .5px;
  cursor: pointer; transition: box-shadow .2s, transform .2s cubic-bezier(.3,1.6,.5,1);
}
.btn-checkout::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg); pointer-events: none;
}
.btn-checkout:hover { box-shadow: 0 0 30px rgba(46,155,255,0.7); transform: translateY(-2px); }
.btn-checkout:hover::after { animation: btnShine .7s ease; }
.checkout-msg { text-align: center; font-size: 13px; color: var(--electric-bright); margin-top: 12px; min-height: 18px; }

/* ===== poshtibani / telegram ===== */
.support-box { display: flex; justify-content: center; }
.tg-btn {
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(135deg, #1c92d2, #2e9bff);
  color: #fff; text-decoration: none;
  padding: 18px 32px; border-radius: 16px;
  transition: all .25s; box-shadow: 0 10px 30px rgba(46,155,255,0.3);
}
.tg-btn:hover { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(46,155,255,0.5); }
.tg-icon {
  width: 52px; height: 52px; flex: none; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.tg-text { display: flex; flex-direction: column; gap: 2px; }
.tg-title { font-size: 18px; font-weight: 800; }
.tg-handle { font-size: 14px; opacity: 0.85; direction: ltr; }

/* ===== search bar ===== */
.search-wrap {
  position: relative; z-index: 19;
  margin: 96px auto 0; max-width: 620px; padding: 0 20px;
}
.search-box {
  display: flex; align-items: center;
  background: rgba(14,36,64,0.85);
  border: 1px solid rgba(46,155,255,0.28);
  border-radius: 50px;
  padding: 6px 6px 6px 22px;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  transition: all .25s;
}
.search-box:focus-within {
  border-color: var(--electric);
  box-shadow: 0 12px 44px rgba(46,155,255,0.35);
}
.search-input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--white); font-family: inherit; font-size: 15px;
  padding: 12px 14px; text-align: right;
}
.search-input::placeholder { color: #7a93ad; }
.search-btn {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--electric), var(--electric-bright));
  color: #03060d; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.search-btn:hover { box-shadow: 0 0 22px rgba(46,155,255,0.7); }
.search-empty { text-align: center; color: #8aa0b8; margin-top: 26px; font-size: 15px; }

.card-hidden { display: none !important; }

/* ===== marحale-haye kharid ===== */
.steps-grid { gap: 22px; }
.step-card {
  background: rgba(20,42,72,0.55); border: 1px solid rgba(46,155,255,0.18);
  border-radius: 16px; padding: 28px 22px; text-align: center; transition: all .25s;
}
.step-card:hover { border-color: var(--electric); transform: translateY(-5px); box-shadow: 0 14px 40px rgba(46,155,255,0.18); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--electric), var(--electric-bright));
  color: #03060d; font-size: 22px; font-weight: 900; margin-bottom: 16px;
  box-shadow: 0 0 22px rgba(46,155,255,0.5);
  animation: numGlow 2.6s ease-in-out infinite;
}
@keyframes numGlow { 0%,100% { box-shadow: 0 0 18px rgba(46,155,255,0.45); } 50% { box-shadow: 0 0 30px rgba(46,155,255,0.85); } }
.step-card h3 { font-size: 19px; margin-bottom: 8px; }

/* ===== FAQ (accordion) ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: rgba(20,42,72,0.55); border: 1px solid rgba(46,155,255,0.16);
  border-radius: 14px; overflow: hidden; transition: border-color .2s;
}
.faq-item.open { border-color: rgba(46,155,255,0.4); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; color: var(--white); font-family: inherit; font-size: 15px; font-weight: 700;
  text-align: right;
}
.faq-icon {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(46,155,255,0.15); color: var(--electric-bright);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  transition: transform .25s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { padding: 0 22px 18px; color: #b8cade; font-size: 14px; line-height: 1.9; }

/* ===== dokme-ye shenavar-e telegram (chat) ===== */
.chat-fab {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 40;
  display: flex; align-items: center; gap: 0;
  background: linear-gradient(135deg, #1c92d2, #2e9bff);
  color: #fff; text-decoration: none;
  border-radius: 50px;
  padding: 0;
  box-shadow: 0 8px 28px rgba(46,155,255,0.45);
  transition: all .3s ease;
  overflow: hidden;
  height: 60px;
}
.chat-fab-icon {
  width: 60px; height: 60px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.chat-fab-tip {
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  font-size: 15px; font-weight: 700;
  transition: all .3s ease;
  padding-right: 0;
}
.chat-fab:hover { box-shadow: 0 12px 36px rgba(46,155,255,0.7); }
.chat-fab:hover .chat-fab-tip {
  max-width: 200px;
  opacity: 1;
  padding-right: 22px;
}
.chat-fab-icon { animation: fabPulse 2.4s ease-in-out infinite; }
@keyframes fabPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.12)} }

/* ===== برچسب ناموجود ===== */
.game-art { position: relative; }
.stock-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(180, 30, 30, 0.92);
  color: #fff; font-size: 12px; font-weight: 800;
  padding: 5px 12px; border-radius: 8px;
  letter-spacing: .5px; z-index: 3;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.18);
}
.game-card.out-of-stock .game-art { filter: grayscale(0.7) brightness(0.6); }
.game-card.out-of-stock { opacity: 0.85; }

/* ===== modal-e vorud / sabt-e nam ===== */
.auth-overlay {
  position: fixed; inset: 0; background: rgba(3,7,18,0.75);
  backdrop-filter: blur(6px); z-index: 998; opacity: 0; visibility: hidden;
  transition: all .3s;
}
.auth-overlay.open { opacity: 1; visibility: visible; }
.auth-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -46%);
  width: 92%; max-width: 400px; z-index: 999;
  background: linear-gradient(160deg, rgba(14,30,55,0.98), rgba(8,18,38,0.98));
  border: 1px solid rgba(46,155,255,0.35); border-radius: 20px;
  padding: 32px 26px; opacity: 0; visibility: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(46,155,255,0.12);
  transition: all .3s;
}
.auth-modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.auth-close {
  position: absolute; top: 14px; left: 16px; background: none; border: none;
  color: #8fb4dd; font-size: 28px; cursor: pointer; line-height: 1; transition: .2s;
}
.auth-close:hover { color: #fff; }
.auth-tabs { display: flex; gap: 8px; margin-bottom: 24px; }
.auth-tab {
  flex: 1; padding: 12px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(46,155,255,0.2); border-radius: 12px;
  color: #8fb4dd; font-family: inherit; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: .2s;
}
.auth-tab.active {
  background: linear-gradient(110deg, #2e9bff, #8b5cf6); color: #fff;
  border-color: transparent; box-shadow: 0 6px 20px rgba(46,155,255,0.3);
}
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form input {
  padding: 14px 16px; background: rgba(3,10,22,0.7);
  border: 1px solid rgba(46,155,255,0.25); border-radius: 12px;
  color: #eaf4ff; font-family: inherit; font-size: 14px; transition: .2s;
}
.auth-form input:focus { outline: none; border-color: #2e9bff; box-shadow: 0 0 0 3px rgba(46,155,255,0.15); }
.auth-form input::placeholder { color: #5a7da3; }
.auth-submit {
  margin-top: 6px; padding: 14px; border: none; border-radius: 12px;
  background: linear-gradient(110deg, #2e9bff, #8b5cf6); color: #fff;
  font-family: inherit; font-size: 16px; font-weight: 800; cursor: pointer;
  transition: .2s; box-shadow: 0 8px 24px rgba(46,155,255,0.25);
}
.auth-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(46,155,255,0.4); }
.auth-msg { font-size: 13px; min-height: 18px; color: #ff6b8a; text-align: center; }
.auth-msg.ok { color: #3affb0; }
.user-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px;
  background: rgba(46,155,255,0.12); border: 1px solid rgba(46,155,255,0.3);
  border-radius: 30px; color: #cfe6ff; font-size: 14px; font-weight: 700; cursor: pointer;
}
.user-chip:hover { background: rgba(46,155,255,0.2); }

/* ===================================================== */
/* ============ FOOTER-E JADID (MAZE) ================== */
/* ===================================================== */

.footer {
  position: relative;
  margin-top: 80px;
  padding: 50px 20px 28px;
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(46,155,255,.10), transparent 60%),
    linear-gradient(180deg, #0c1526, #070d18);
  border-top: 1px solid rgba(46,155,255,.18);
  overflow: hidden;
}
/* khat-e noori-ye bala-ye footer */
.footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2e9bff, #8b5cf6, transparent);
  opacity: .8;
  filter: blur(.3px);
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

/* logo */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 3px;
  color: #fff;
}
.footer-logo .logo-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #2e9bff;
  box-shadow: 0 0 12px #2e9bff;
}

/* shabake-haye ejtemaai */
.footer-socials {
  display: flex;
  gap: 14px;
}
.social-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cfe6ff;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(46,155,255,.25);
  transition: all .25s ease;
  text-decoration: none;
}
.social-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, #2e9bff, #8b5cf6);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(46,155,255,.4);
}
.social-bale .bale-mark {
  font-family: 'Vazirmatn', sans-serif;
  font-weight: 700;
  font-size: 13px;
}

/* menu */
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
}
.footer-menu a {
  color: #9fc0e6;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s ease;
  position: relative;
}
.footer-menu a:hover { color: #fff; }
.footer-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, #2e9bff, #8b5cf6);
  transition: width .25s ease;
}
.footer-menu a:hover::after { width: 100%; }

/* copyright */
.footer-copy {
  margin-top: 8px;
  padding-top: 18px;
  width: 100%;
  border-top: 1px solid rgba(255,255,255,.06);
  color: #5f7da0;
  font-size: 12.5px;
}

/* responsive (mobile) */
@media (max-width: 980px) {
  .menu { gap: 16px; font-size: 13px; }
  .header { padding: 16px 20px; }
}
@media (max-width: 820px) {
  .grid { grid-template-columns: 1fr; }
  #eaGrid { grid-template-columns: 1fr; }
  .big-title { font-size: 62px; letter-spacing: 5px; }
  .stage-title { font-size: 40px; }
}
@media (max-width: 600px) {
  .footer { padding: 40px 16px 24px; }
  .footer-logo { font-size: 22px; }
  .footer-menu { gap: 8px 18px; }
  .footer-menu a { font-size: 13px; }
}

/* ===================================================== */
/* ============ GHALB-E ALAAGHEMANDI (FAV) ============= */
/* ===================================================== */
.fav-heart {
  position: absolute !important; top: 10px; left: 10px; z-index: 20 !important;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(3,10,22,0.7); border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  display: flex !important; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s ease; padding: 0; box-sizing: border-box;
  color: #ffffff; opacity: 1 !important; visibility: visible !important;
  pointer-events: auto; line-height: 0;
}
.fav-heart svg { width: 18px; height: 18px; fill: transparent; stroke: currentColor; stroke-width: 2; transition: all .2s ease; display: block; }
.fav-heart:hover { transform: scale(1.12); border-color: rgba(255,90,120,0.6); color: #ff6b8a; }
.fav-heart.active { background: rgba(255,60,100,0.2); border-color: rgba(255,90,120,0.7); color: #ff4d74; }
.fav-heart.active svg { fill: #ff4d74; stroke: #ff4d74; }

/* ===================================================== */
/* ============ CHIP-E KARBAR (header) ================= */
/* ===================================================== */
.user-chip { display: inline-flex; align-items: center; gap: 8px; }
.user-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2e9bff, #8b5cf6); color: #fff;
}
.user-name { font-size: 14px; font-weight: 700; color: #cfe6ff; }

/* ===================================================== */
/* ============ MODAL-E PROFILE ======================== */
/* ===================================================== */
.profile-overlay {
  position: fixed; inset: 0; background: rgba(3,7,18,0.75);
  backdrop-filter: blur(6px); z-index: 998; opacity: 0; visibility: hidden;
  transition: all .3s;
}
.profile-overlay.open { opacity: 1; visibility: visible; }
.profile-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -46%);
  width: 92%; max-width: 440px; max-height: 86vh; z-index: 999;
  display: flex; flex-direction: column;
  background: linear-gradient(160deg, rgba(14,30,55,0.98), rgba(8,18,38,0.98));
  border: 1px solid rgba(46,155,255,0.35); border-radius: 22px;
  padding: 26px 22px; opacity: 0; visibility: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(46,155,255,0.12);
  transition: all .3s;
}
.profile-modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.profile-close {
  position: absolute; top: 14px; left: 16px; background: none; border: none;
  color: #8fb4dd; font-size: 28px; cursor: pointer; line-height: 1; transition: .2s;
}
.profile-close:hover { color: #fff; }

.profile-head { text-align: center; margin-bottom: 18px; }
.profile-avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2e9bff, #8b5cf6); color: #fff;
  box-shadow: 0 8px 24px rgba(46,155,255,0.35);
}
.profile-name { font-size: 20px; font-weight: 800; color: #fff; }
.profile-sub { font-size: 13px; color: #8fb4dd; margin-top: 2px; }

.profile-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.profile-tab {
  flex: 1; padding: 11px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(46,155,255,0.2); border-radius: 12px;
  color: #8fb4dd; font-family: inherit; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: .2s;
}
.profile-tab.active {
  background: linear-gradient(110deg, #2e9bff, #8b5cf6); color: #fff;
  border-color: transparent; box-shadow: 0 6px 20px rgba(46,155,255,0.3);
}

.profile-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; min-height: 80px; }
.profile-loading, .profile-empty { text-align: center; color: #8fb4dd; font-size: 14px; padding: 24px 0; }

/* order card */
.profile-order {
  background: rgba(20,42,72,0.5); border: 1px solid rgba(46,155,255,0.16);
  border-radius: 14px; padding: 14px;
}
.po-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.po-id { font-size: 14px; font-weight: 800; color: #cfe6ff; }
.po-status { font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.po-pending { background: rgba(255,193,74,0.16); color: #ffce6b; }
.po-paid { background: rgba(46,155,255,0.16); color: #6ec8ff; }
.po-delivered { background: rgba(46,205,140,0.16); color: #3ddf9a; }
.po-canceled { background: rgba(255,90,90,0.14); color: #ff6b6b; }
.po-items { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.po-item { font-size: 13px; color: #b8cade; display: flex; justify-content: space-between; }
.po-item span { color: #8fb4dd; }
.po-total { font-size: 13px; font-weight: 700; color: #fff; text-align: left; padding-top: 8px; border-top: 1px solid rgba(46,155,255,0.12); }

/* favorite item */
.profile-fav {
  display: flex; align-items: center; gap: 12px;
  background: rgba(20,42,72,0.5); border: 1px solid rgba(46,155,255,0.16);
  border-radius: 14px; padding: 10px 12px;
}
.pf-art { width: 54px; height: 54px; border-radius: 10px; flex: none; background-size: cover; background-position: center; }
.pf-name { flex: 1; font-size: 14px; font-weight: 700; color: #eaf4ff; }
.pf-remove { background: none; border: none; color: #ff6b6b; font-size: 22px; cursor: pointer; line-height: 1; padding: 0 6px; }
.pf-remove:hover { color: #ff3b3b; }

/* logout button-e ziba */
.profile-logout {
  width: 100%; padding: 13px; border: 1px solid rgba(255,90,90,0.4);
  border-radius: 12px; background: rgba(255,90,90,0.08); color: #ff6b6b;
  font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
  transition: all .2s;
}
.profile-logout:hover { background: rgba(255,90,90,0.18); border-color: rgba(255,90,90,0.7); color: #ff8585; }

/* ===================================================== */
/* ============ MODAL-E JOZEIYAAT-E MAHSOOL ============ */
/* ===================================================== */
.prod-overlay {
  position: fixed; inset: 0; background: rgba(3,7,18,0.8);
  backdrop-filter: blur(7px); z-index: 1000; opacity: 0; visibility: hidden;
  transition: all .3s;
}
.prod-overlay.open { opacity: 1; visibility: visible; }
.prod-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -46%);
  width: 94%; max-width: 860px; max-height: 88vh; z-index: 1001;
  display: flex; gap: 0; overflow: hidden;
  background: linear-gradient(160deg, rgba(14,30,55,0.99), rgba(8,18,38,0.99));
  border: 1px solid rgba(46,155,255,0.35); border-radius: 22px;
  opacity: 0; visibility: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,0.7), 0 0 70px rgba(46,155,255,0.12);
  transition: all .3s;
}
.prod-modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.prod-close {
  position: absolute; top: 14px; left: 16px; z-index: 5; background: rgba(3,10,22,0.6); border: none;
  color: #cfe6ff; font-size: 26px; cursor: pointer; line-height: 1; transition: .2s;
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.prod-close:hover { color: #fff; background: rgba(255,90,90,0.3); }

/* gallery (samt-e rast chون RTL) */
.pm-gallery { width: 46%; flex: none; display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.pm-main {
  flex: 1; min-height: 300px; border-radius: 14px;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.pm-cover { font-size: 26px; font-weight: 900; color: #fff; text-align: center; padding: 0 14px; text-shadow: 0 2px 14px rgba(0,0,0,0.7); font-family: Arial, sans-serif; text-transform: uppercase; }
.pm-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.pm-thumb {
  width: 56px; height: 56px; border-radius: 9px; cursor: pointer;
  background-size: cover; background-position: center;
  border: 2px solid transparent; transition: all .2s; opacity: .7;
}
.pm-thumb:hover { opacity: 1; }
.pm-thumb.active { border-color: var(--electric); opacity: 1; }

/* info (samt-e chap) */
.pm-info { flex: 1; padding: 30px 26px; overflow-y: auto; display: flex; flex-direction: column; }
.pm-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pm-title { font-size: 26px; font-weight: 900; color: #fff; }
.pm-fav {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  background: rgba(3,10,22,0.55); border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: all .2s; color: #cfe6ff; padding: 0;
}
.pm-fav svg { fill: transparent; stroke: currentColor; stroke-width: 2; }
.pm-fav:hover { transform: scale(1.1); border-color: rgba(255,90,120,0.6); color: #ff6b8a; }
.pm-fav.active { background: rgba(255,60,100,0.18); border-color: rgba(255,90,120,0.7); color: #ff4d74; }
.pm-fav.active svg { fill: #ff4d74; stroke: #ff4d74; }

.pm-specs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.pm-spec {
  background: rgba(46,155,255,0.08); border: 1px solid rgba(46,155,255,0.2);
  border-radius: 10px; padding: 8px 14px; display: flex; flex-direction: column; gap: 2px;
}
.pm-spec-k { font-size: 11px; color: #8fb4dd; }
.pm-spec-v { font-size: 14px; font-weight: 700; color: #eaf4ff; }

.pm-desc { font-size: 14.5px; line-height: 2; color: #c6d6e8; margin-bottom: 22px; flex: 1; }
.pm-muted { color: #6a86a4; }

.pm-buy {
  width: 100%; padding: 15px; border: none; border-radius: 12px;
  background: linear-gradient(110deg, var(--electric), var(--electric-bright)); color: #03060d;
  font-family: 'Rajdhani','Vazirmatn',sans-serif; font-weight: 700; font-size: 16px; cursor: pointer;
  transition: all .2s; margin-top: auto;
}
.pm-buy:hover { box-shadow: 0 10px 30px rgba(46,155,255,0.5); transform: translateY(-2px); }

/* flash rooye kart vaqti az modal miad */
.card-flash { animation: cardFlash 1.2s ease; }
@keyframes cardFlash {
  0%,100% { box-shadow: 0 0 0 rgba(46,155,255,0); }
  30% { box-shadow: 0 0 0 3px rgba(46,155,255,0.7), 0 0 40px rgba(46,155,255,0.5); }
}

@media (max-width: 720px) {
  .prod-modal { flex-direction: column; max-height: 90vh; overflow-y: auto; }
  .pm-gallery { width: 100%; }
  .pm-main { min-height: 220px; }
}

/* ===================================================== */
/* ====== KART BE-ONVAN-E LINK (klik + open new tab) === */
/* ===================================================== */
a.game-art {
  text-decoration: none;
  cursor: pointer;
  display: flex;
  position: relative;
}
.game-title-link,
.game-title-link:link,
.game-title-link:visited,
.game-card h3 a,
.pkg-card h3 a {
  color: #f5fbff !important;
  text-decoration: none !important;
  transition: color .2s;
}
.game-title-link:hover,
.game-card h3 a:hover { color: var(--electric-bright) !important; }

/* input-haye modal-e vorud/sabtnam: matn az chap (LTR) */
.auth-form input {
  direction: ltr;
  text-align: left;
}
/* be joz code-e tayid ke vasat-chin-e */
.auth-form #verifyCode {
  text-align: center;
}

/* ===================================================== */
/* ============ DARBARE MA (about) ===================== */
/* ===================================================== */
.about-box {
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(160deg, rgba(20,44,80,.5), rgba(10,24,48,.6));
  border: 1px solid rgba(46,155,255,.2);
  border-radius: 18px;
  padding: 32px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-box::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 2px;
  background: linear-gradient(90deg, transparent, #2e9bff, #00e5ff, transparent);
}
.about-text {
  font-size: 15px;
  line-height: 2.1;
  color: #c6d6e8;
  margin-bottom: 24px;
}
.about-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 12px;
  background: rgba(46,155,255,.1);
  border: 1px solid rgba(46,155,255,.3);
  color: #6ec8ff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  direction: ltr;
  transition: all .25s;
}
.about-email:hover {
  background: linear-gradient(135deg, #2e9bff, #8b5cf6);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(46,155,255,.35);
}

/* ===================================================== */
/* ========== BEHBUD-E MOBILE (≤600px) ================ */
/* ===================================================== */

/* dokme-ye hamburger: rooye desktop makhfi */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0;
  background: rgba(46,155,255,0.12); border: 1px solid rgba(46,155,255,0.3);
  border-radius: 10px; cursor: pointer; z-index: 101;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; margin: 0 auto;
  background: #cfe6ff; border-radius: 2px; transition: all .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  /* hamburger neshoon dade she */
  .nav-toggle { display: flex; }

  /* header: logo chap, hamburger rast */
  .header {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; padding: 12px 16px; position: relative;
  }

  /* menu: be panel-e keshoei tabdil she (makhfi ta baz she) */
  .menu {
    order: 3; width: 100%;
    flex-direction: column; align-items: flex-start; gap: 0;
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease; margin-top: 0;
  }
  .menu.open { max-height: 600px; margin-top: 14px; }
  .menu > a, .menu .dropdown {
    width: 100%; padding: 13px 6px; font-size: 15px;
    border-bottom: 1px solid rgba(110,200,255,0.12);
  }
  .menu .dropdown { padding: 0; }
  .menu .drop-trigger { display: block; padding: 13px 6px; }
  /* dropdown rooye mobile: hamishe baz (be jaye hover) */
  .menu .drop-menu {
    position: static; display: block; background: transparent;
    box-shadow: none; border: none; padding: 0 0 8px 0;
  }
  .menu .drop-menu a { padding: 10px 18px; font-size: 14px; opacity: .85; }

  /* header-actions: kenar-e hamburger */
  .header-actions { order: 2; gap: 8px; }
  .btn-login, .btn-signup { padding: 7px 12px; font-size: 13px; }
  .btn-lang { padding: 7px 10px; }
}

@media (max-width: 600px) {
  /* grid-e baazi-ha: tak-sotoon-e tamam-arz (ta card barik-o-deraz nashe) */
  .grid { grid-template-columns: 1fr; gap: 14px; }
  #eaGrid { grid-template-columns: 1fr; }

  /* font-haye bozorg */
  .big-title { font-size: 40px !important; letter-spacing: 3px !important; }
  .stage-title { font-size: 28px !important; }
  .sec-title, .stage-sub { font-size: 13px; }

  /* card-e baazi */
  .game-card h3, .game-title-link { font-size: 16px; }
  /* card tamam-arz shod -> aks ariz-tar (padding-bottom 56% = nesbat-e 16:9) */
  .pkg-art, .game-art { padding-bottom: 56%; margin-bottom: 12px; }
  .pkg-card h3, .game-card h3 { font-size: 16px; }
  .cover-label { font-size: 22px; }
  /* dokme-haye platform/zarfiat ye khat (na chand khat) */
  .opt-btns { flex-wrap: nowrap; }
  .opt-btn { flex: 1; }

  /* dokme-haye lams */
  .btn-buy, .opt-btn, .auth-submit, .btn-checkout { min-height: 44px; font-size: 14px; }

  /* sabad */
  .cart-panel { width: 100vw; max-width: 100vw; }
  .cart-foot { max-height: 62vh; }

  /* modal */
  .auth-modal { width: 94%; max-height: 90vh; overflow-y: auto; }
  .auth-form input { font-size: 16px; }

  #loginCaptchaImg, #signupCaptchaImg { height: 42px; }
  .footer-menu { justify-content: center; }
}

/* ===================================================== */
/* ============ DASTYAR-E MAZE (CHATBOT) ============== */
/* ===================================================== */
.bot-fab {
  position: fixed; bottom: 26px; left: 26px; width: 60px; height: 60px;
  border-radius: 50%; background: linear-gradient(135deg, #1c92d2, #2e9bff);
  border: none; cursor: pointer; z-index: 40; display: flex; align-items: center;
  justify-content: center; box-shadow: 0 8px 28px rgba(46,155,255,.45); transition: transform .2s;
}
.bot-fab:hover { transform: scale(1.08); }
.bot-fab svg { width: 28px; height: 28px; fill: #fff; }
.bot-panel {
  position: fixed; bottom: 100px; left: 26px; width: 340px; max-width: calc(100vw - 40px);
  height: 460px; max-height: 70vh;
  background: linear-gradient(165deg, rgba(12,33,56,.97), rgba(6,16,32,.98));
  border: 1px solid rgba(46,155,255,.35); border-radius: 18px; z-index: 91; display: none;
  flex-direction: column; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.5);
  backdrop-filter: blur(12px);
}
.bot-panel.open { display: flex; }
.bot-head {
  padding: 16px 18px; background: linear-gradient(135deg, rgba(46,155,255,.18), transparent);
  border-bottom: 1px solid rgba(46,155,255,.2); display: flex; align-items: center; gap: 10px;
}
.bot-dot { width: 10px; height: 10px; border-radius: 50%; background: #3ddf9a; box-shadow: 0 0 8px #3ddf9a; flex: none; }
.bot-head h4 { margin: 0; color: #fff; font-size: 15px; }
.bot-sub { color: #8fb4dd; font-size: 11px; margin-top: 2px; }
.bot-close { margin-right: auto; background: none; border: none; color: #9ab2cc; font-size: 24px; cursor: pointer; line-height: 1; }
.bot-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.bot-msg { max-width: 82%; padding: 10px 13px; border-radius: 13px; font-size: 13px; line-height: 1.7; }
.bot-msg.bot { background: rgba(46,155,255,.14); color: #eaf4ff; align-self: flex-start; border-bottom-right-radius: 4px; }
.bot-msg.user { background: linear-gradient(135deg, #2e9bff, #6ec8ff); color: #03060d; align-self: flex-end; border-bottom-left-radius: 4px; font-weight: 600; }
.bot-quick { padding: 12px 16px; border-top: 1px solid rgba(46,155,255,.15); display: flex; flex-wrap: wrap; gap: 7px; }
.bot-q {
  background: rgba(46,155,255,.12); border: 1px solid rgba(46,155,255,.3); color: #6ec8ff;
  border-radius: 16px; padding: 7px 13px; font-size: 12px; cursor: pointer; transition: .2s; font-family: inherit;
}
.bot-q:hover { background: rgba(46,155,255,.25); }
/* roo mobile: kami paeen-tar ke ba FAB-e telegram ghати nashe */
@media (max-width: 600px) {
  .bot-fab { bottom: 20px; left: 18px; width: 52px; height: 52px; }
  .bot-panel { left: 14px; bottom: 84px; width: calc(100vw - 28px); }
}

/* ===== takhfif-e mostaghim: badge rooye kart + gheymat-e khat-khorde ===== */
.sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #ff3b3b, #ff6b3b);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 4px 9px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(255, 59, 59, .4);
  z-index: 3;
  direction: ltr;
}
.price-old {
  text-decoration: line-through;
  color: #8aa0b8;
  font-size: .82em;
  opacity: .8;
  margin-left: 4px;
}
.price-new {
  color: #ff6b6b;
  font-weight: 800;
}


/* ===== takhfif-e mostaghim: badge rooye kart + gheymat-e khat-khorde ===== */
.sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #ff3b3b, #ff6b3b);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 4px 9px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(255, 59, 59, .4);
  z-index: 3;
  direction: ltr;
}
.price-old {
  text-decoration: line-through;
  text-decoration-color: #ff5b5b;
  text-decoration-thickness: 2px;
  color: #8aa0b8;
  font-size: .82em;
  opacity: .85;
  margin-left: 6px;
}
.price-new {
  color: #ff6b6b;
  font-weight: 800;
}

/* ===== section-e HOT DEALS (slider-e takhfif) ===== */
.sale-slider-wrap {
  position: relative;
  z-index: 6;
  max-width: 1220px;
  margin: 0 auto;
  padding: 50px 24px 40px;
  background: #0a1322;
  border-radius: 24px;
  border: 1px solid rgba(46, 155, 255, .15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.sale-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.sale-titles { text-align: right; }
.sale-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #2e9bff;
  margin-bottom: 6px;
}
.sale-fire { filter: drop-shadow(0 0 6px rgba(255,90,40,.7)); }
.sale-slider-title {
  font-size: 38px;
  font-weight: 900;
  margin: 0;
  background: linear-gradient(90deg, #ff3b3b, #ff8c3b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
}
.sale-sub { color: #9fb6cc; font-size: 14px; margin: 6px 0 0; }

/* kontrol-haye samt-e chap: timer + arrows */
.sale-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sale-timer {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(13, 28, 51, .7);
  border: 1px solid rgba(46, 155, 255, .25);
  border-radius: 12px;
  padding: 8px 14px;
  color: #6ec8ff;
}
.sale-timer-txt { display: flex; flex-direction: column; line-height: 1.3; }
.sale-timer-label { font-size: 11px; color: #9fb6cc; }
.sale-timer-clock {
  font-size: 18px;
  font-weight: 800;
  color: #eaf4ff;
  direction: ltr;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}
.sale-arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(46, 155, 255, .3);
  background: rgba(13, 28, 51, .7);
  color: #6ec8ff;
  font-size: 22px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.sale-arrow:hover { background: rgba(46, 155, 255, .25); color: #fff; }

/* ===== saat-e sheni (hourglass) ===== */
.hourglass { color: #ffb04a; display: inline-flex; }
.hourglass.hg-run { animation: hg-flip 4s ease-in-out infinite; }
@keyframes hg-flip {
  0%, 45% { transform: rotate(0deg); }
  50%, 95% { transform: rotate(180deg); }
  100% { transform: rotate(360deg); }
}
.hg-run .hg-sand-top {
  transform-origin: center 6px;
  animation: hg-top 4s linear infinite;
}
.hg-run .hg-sand-bot {
  transform-origin: center 50px;
  animation: hg-bot 4s linear infinite;
}
.hg-run .hg-stream { animation: hg-stream 4s linear infinite; }
@keyframes hg-top {
  0% { transform: scaleY(1); }
  45% { transform: scaleY(0.05); }
  50%, 100% { transform: scaleY(1); }
}
@keyframes hg-bot {
  0% { transform: scaleY(0.05); }
  45% { transform: scaleY(1); }
  50%, 100% { transform: scaleY(0.05); }
}
@keyframes hg-stream {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* ===== track-e slider ===== */
.sale-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 2px 16px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}
.sale-slider::-webkit-scrollbar { height: 7px; }
.sale-slider::-webkit-scrollbar-thumb { background: rgba(46,155,255,.4); border-radius: 4px; }

.sale-card {
  flex: 0 0 auto;
  width: 215px;
  background: rgba(13, 28, 51, .6);
  border: 1px solid rgba(46, 155, 255, .15);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.sale-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(255, 59, 59, .25);
  border-color: rgba(255, 107, 107, .5);
}
.sale-card-art {
  position: relative;
  width: 100%;
  height: 270px;
  background-size: cover;
  background-position: center;
}
.sale-genre {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(8, 18, 36, .8);
  color: #6ec8ff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 7px;
  backdrop-filter: blur(4px);
  z-index: 3;
}
.sale-card-body { padding: 14px 14px 16px; }
.sale-card-name {
  color: #f0f7ff;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 10px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sale-card-price {
  font-size: 15px;
  color: #cfe6ff;
  text-align: center;
  direction: rtl;
}
@media (max-width: 600px) {
  .sale-slider-title { font-size: 28px; }
  .sale-card { width: 165px; }
  .sale-card-art { height: 210px; }
  .sale-slider-wrap { padding: 0 14px; }
  .sale-top { flex-direction: column; align-items: stretch; }
  .sale-controls { justify-content: space-between; }
}

/* ===== nāvār-e filter va sort ===== */
.filter-bar {
  max-width: 900px;
  margin: 0 auto 24px;
  padding: 0 20px;
  text-align: center;
}
.filter-toggle {
  background: rgba(14, 36, 64, 0.85);
  border: 1px solid rgba(46, 155, 255, 0.28);
  color: #cfe6ff;
  border-radius: 50px;
  padding: 9px 20px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
  backdrop-filter: blur(14px);
}
.filter-toggle:hover { border-color: var(--electric); color: #fff; }
.filter-panel {
  display: none;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: flex-end;
  margin-top: 14px;
  padding: 16px;
  background: rgba(10, 22, 42, 0.95);
  border: 1px solid rgba(46, 155, 255, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(14px);
}
.filter-panel.open { display: flex; }
.filter-group { display: flex; flex-direction: column; gap: 5px; text-align: right; }
.filter-label { font-size: 12px; color: #9fb6cc; }
.filter-sel {
  background: rgba(3, 10, 22, 0.6);
  border: 1px solid rgba(46, 155, 255, 0.3);
  color: #eaf4ff;
  border-radius: 9px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  min-width: 130px;
}
.filter-sel:focus { outline: none; border-color: var(--electric); }
.filter-sel option { background: #0a162a; color: #eaf4ff; }
.filter-reset {
  background: rgba(255, 90, 90, 0.12);
  border: 1px solid rgba(255, 90, 90, 0.4);
  color: #ff8585;
  border-radius: 9px;
  padding: 9px 16px;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: all .2s;
}
.filter-reset:hover { background: rgba(255, 90, 90, 0.25); }
.filter-apply {
  background: linear-gradient(110deg, #2e9bff, #6ec8ff);
  border: none;
  color: #03060d;
  font-weight: 800;
  border-radius: 9px;
  padding: 9px 18px;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: all .2s;
}
.filter-apply:hover { filter: brightness(1.1); transform: translateY(-1px); }
@media (max-width: 600px) {
  .filter-sel { min-width: 110px; font-size: 12px; }
  .filter-group { flex: 1; min-width: 45%; }
}

/* link-e filter tu menu-ye bala */
.nav-filter { color: #6ec8ff !important; font-weight: 700; }
.nav-filter:hover { color: #fff !important; }

/* ===== panel-e filter-e kesho-i (az bala) ===== */
.filter-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
  z-index: 90;
}
.filter-overlay.open { opacity: 1; visibility: visible; }
.filter-drop {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #0a162a;
  border-bottom: 1px solid rgba(46, 155, 255, 0.25);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(-100%);
  transition: transform .35s ease;
  z-index: 95;
}
.filter-drop.open { transform: translateY(0); }
.filter-drop-inner { max-width: 1100px; margin: 0 auto; padding: 26px 24px 24px; }
.filter-drop-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
  color: #fff; font-size: 18px; font-weight: 800;
}
.filter-drop-close {
  background: none; border: none; color: #9fb6cc;
  font-size: 30px; cursor: pointer; line-height: 1;
  transition: color .2s;
}
.filter-drop-close:hover { color: #ff6b6b; }
.filter-panel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.filter-drop-actions {
  display: flex; gap: 12px; justify-content: center;
  padding-top: 18px;
  border-top: 1px solid rgba(46, 155, 255, 0.12);
}
.filter-drop .filter-group { text-align: right; }
.filter-drop .filter-sel { width: 100%; box-sizing: border-box; }
@media (max-width: 700px) {
  .filter-panel-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .filter-panel-grid { grid-template-columns: 1fr; }
}