@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-main: #0a0d14;
  --bg-surface: #111624;
  --bg-surface-elevated: #161e30;
  --bg-card: #131926;
  --bg-input: #0e131f;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(0, 242, 254, 0.35);
  
  --neon-cyan: #00f2fe;
  --neon-cyan-glow: rgba(0, 242, 254, 0.2);
  --neon-purple: #9d4edd;
  --neon-purple-glow: rgba(157, 78, 221, 0.25);
  --neon-gradient: linear-gradient(135deg, #00f2fe 0%, #9d4edd 100%);
  --neon-gradient-subtle: linear-gradient(135deg, rgba(0, 242, 254, 0.12) 0%, rgba(157, 78, 221, 0.12) 100%);
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --status-pending: #f59e0b;
  --status-confirmed: #3b82f6;
  --status-progress: #8b5cf6;
  --status-ready: #06b6d4;
  --status-delivered: #10b981;
  --status-cancelled: #ef4444;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'Vazirmatn', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  direction: rtl;
  text-align: right;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface-elevated);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-cyan);
}

/* Links & Buttons reset */
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}
input, textarea, select {
  font-family: inherit;
  outline: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Layout Header (Sticky on desktop, non-sticky on mobile) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(10, 13, 20, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

@media (max-width: 768px) {
  .site-header {
    position: relative;
    top: auto;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 4.5rem;
}

/* Brand */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  background: var(--neon-gradient);
  color: #050811;
  font-size: 1.15rem;
  box-shadow: 0 0 15px var(--neon-cyan-glow);
}
.brand-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--neon-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Nav links */
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: color 0.15s ease;
}
.nav-link:hover, .nav-link.active {
  color: #ffffff;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--neon-cyan);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--neon-cyan);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: var(--neon-gradient);
  color: #070a12;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 18px var(--neon-cyan-glow);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 242, 254, 0.35);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-secondary:hover {
  border-color: var(--border-highlight);
  background: #1b2438;
}

.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  position: relative;
  transition: all 0.2s ease;
}
.btn-icon:hover {
  border-color: var(--border-highlight);
  color: var(--neon-cyan);
}
.badge-count {
  position: absolute;
  top: -4px;
  left: -4px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}
.hero-bg-glow {
  position: absolute;
  top: -100px;
  right: 15%;
  width: 500px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, rgba(157, 78, 221, 0.08) 50%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}
.hero-content {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--neon-gradient-subtle);
  border: 1px solid var(--border-highlight);
  border-radius: 999px;
  font-size: 0.825rem;
  color: var(--neon-cyan);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.hero-title span {
  background: var(--neon-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* 3 Core Big Action Cards */
.core-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .core-features-grid {
    grid-template-columns: 1fr;
  }
}
.core-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  cursor: pointer;
}
.core-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: transparent;
  transition: background 0.25s ease;
}
.core-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  background: #161e30;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--neon-cyan-glow);
}
.core-card:hover::before {
  background: var(--neon-gradient);
}
.core-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-md);
  background: var(--neon-gradient-subtle);
  border: 1px solid var(--border-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--neon-cyan);
  margin-bottom: 1.25rem;
}
.core-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #ffffff;
}
.core-card-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.core-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--neon-cyan);
  transition: gap 0.2s ease;
}
.core-card:hover .core-card-cta {
  gap: 0.75rem;
}

/* Section Header */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.section-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.section-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--neon-cyan);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
}

/* Filter Bar & Segmented Tabs */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  padding: 0.35rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow-x: auto;
  max-width: 100%;
}
.filter-tab {
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all 0.15s ease;
}
.filter-tab:hover {
  color: #ffffff;
}
.filter-tab.active {
  background: var(--bg-surface-elevated);
  color: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-highlight);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.product-thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}
.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.product-card:hover .product-thumb {
  transform: scale(1.04);
}
.product-badge-gift {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(157, 78, 221, 0.9);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.5;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.product-price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}
.price-block {
  display: flex;
  flex-direction: column;
}
.price-current {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--neon-cyan);
}
.price-old {
  font-size: 0.825rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

/* 3:4 Aspect Ratio Game Cards */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.game-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 15px var(--neon-cyan-glow);
}
.game-poster-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
  background: var(--bg-surface);
}
.game-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.game-card:hover .game-poster {
  transform: scale(1.05);
}
.game-console-tags {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  gap: 0.35rem;
}
.game-console-badge {
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}
.game-play-trailer-btn {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(0, 242, 254, 0.9);
  color: #070a12;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0, 242, 254, 0.4);
  transition: transform 0.2s ease;
}
.game-card:hover .game-play-trailer-btn {
  transform: scale(1.15);
}
.game-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.game-card-title {
  font-size: 0.975rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-card-genre {
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}
.game-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-subtle);
}
.game-size {
  color: var(--neon-cyan);
  font-weight: 600;
  font-family: monospace;
}

/* Repair Services Grid */
.repairs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
}
@media (max-width: 640px) {
  .repairs-grid {
    grid-template-columns: 1fr;
  }
}
.repair-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}
.repair-card:hover {
  border-color: var(--border-highlight);
  background: #151d2e;
}
.repair-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.repair-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
}
.repair-tariff-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.tariff-fixed {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.tariff-from {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.tariff-inspection {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.repair-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.repair-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}
.repair-price-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--neon-cyan);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 7, 12, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-window {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.modal-overlay.active .modal-window {
  transform: scale(1);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}
.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}
.modal-close-btn {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 1.25rem;
  transition: all 0.15s ease;
}
.modal-close-btn:hover {
  background: var(--bg-surface-elevated);
  color: #ffffff;
}
.modal-body {
  padding: 1.5rem;
}

/* Video Player Modal Container */
.video-player-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1rem;
}
.video-player-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Forms & Inputs */
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-size: 0.925rem;
  transition: all 0.15s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 2px var(--neon-cyan-glow);
}
.form-textarea {
  resize: vertical;
  min-height: 90px;
}
.input-hint {
  font-size: 0.775rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
}

/* Captcha Box */
.captcha-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.captcha-display {
  background: #1b2438;
  border: 1px dashed var(--border-highlight);
  color: var(--neon-cyan);
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  user-select: none;
  letter-spacing: 0.1em;
}

/* Order Stages Timeline */
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  padding-right: 1.5rem;
  margin: 1.5rem 0;
}
.timeline-list::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  right: 7px;
  width: 2px;
  background: var(--border-subtle);
}
.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.timeline-dot {
  position: absolute;
  top: 4px;
  right: -1.5rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--text-dim);
  transition: all 0.2s ease;
}
.timeline-item.completed .timeline-dot {
  border-color: var(--status-delivered);
  background: var(--status-delivered);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}
.timeline-item.active .timeline-dot {
  border-color: var(--neon-cyan);
  background: var(--neon-cyan);
  box-shadow: 0 0 12px var(--neon-cyan);
}
.timeline-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}
.timeline-date {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 360px;
}
.toast {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideIn 0.2s ease-out;
}
.toast.success {
  border-color: rgba(16, 185, 129, 0.5);
  color: #10b981;
}
.toast.error {
  border-color: rgba(239, 68, 68, 0.5);
  color: #ef4444;
}
@keyframes slideIn {
  from { transform: translateY(15px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Footer */
.site-footer {
  background: #07090f;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2rem;
  margin-top: 5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 400px;
  margin-top: 0.75rem;
}
.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.footer-links a:hover {
  color: var(--neon-cyan);
}
.social-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.2s ease;
}
.social-btn:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: translateY(-2px);
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}


/* ===== Home Slider ===== */
.home-slider { max-width: 1200px; margin: 1.25rem auto 0; padding: 0 1rem; }
.hs-viewport { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid rgba(0, 242, 254, 0.25); box-shadow: 0 0 28px rgba(0, 242, 254, 0.12); background: #0b0f1a; touch-action: pan-y; }
.hs-track { display: flex; transition: transform 0.6s ease; will-change: transform; }
.hs-slide { position: relative; flex: 0 0 100%; display: block; aspect-ratio: 16 / 6; color: inherit; text-decoration: none; }
.hs-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-caption { position: absolute; right: 0; left: 0; bottom: 0; padding: 2.2rem 1.5rem 1.1rem; font-size: 1.15rem; font-weight: 700; color: #fff; background: linear-gradient(to top, rgba(5, 8, 16, 0.85), transparent); }
.hs-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(0, 242, 254, 0.4); background: rgba(7, 10, 18, 0.65); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding-bottom: 4px; }
.hs-nav:hover { box-shadow: 0 0 14px rgba(0, 242, 254, 0.6); }
.hs-prev { right: 12px; }
.hs-next { left: 12px; }
.hs-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; }
.hs-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, 0.4); cursor: pointer; }
.hs-dot.active { background: var(--neon-cyan, #00f2fe); box-shadow: 0 0 8px var(--neon-cyan, #00f2fe); width: 22px; border-radius: 6px; }
@media (max-width: 700px) { .hs-slide { aspect-ratio: 16 / 9; } .hs-caption { font-size: 0.95rem; padding: 1.6rem 1rem 1.4rem; } .hs-nav { width: 34px; height: 34px; font-size: 1.3rem; } }
.game-card.no-space { opacity: 0.55; }
