@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Rajdhani:wght@400;500;600;700&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #E60012;
  --primary-dark: #a8000d;
  --primary-light: #ff1a2e;
  --primary-glow: rgba(230, 0, 18, 0.4);
  --primary-glow-soft: rgba(230, 0, 18, 0.15);
  --bg-black: #030303;
  --bg-dark: #0a0a0a;
  --bg-card: rgba(15, 15, 15, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-red: rgba(230, 0, 18, 0.3);
  --text-white: #ffffff;
  --text-light: #e0e0e0;
  --text-muted: #888888;
  --text-dim: #555555;
  --rarity-common: #9e9e9e;
  --rarity-rare: #2196F3;
  --rarity-epic: #9c27b0;
  --rarity-legendary: #FF9800;
  --rarity-mythic: #f44336;
  --rarity-god: #FFD700;
  --rarity-vred: #E60012;
  --shadow-red: 0 0 30px rgba(230, 0, 18, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.6);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-black);
  color: var(--text-white);
  overflow-x: hidden;
  min-height: 100vh;
  line-height: 1.6;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* ─── SELECTION ─── */
::selection { background: var(--primary-glow); color: var(--text-white); }

/* ─── LINKS ─── */
a { text-decoration: none; color: inherit; }

/* ─── BACKGROUND LAYERS ─── */
.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

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

.bg-gradient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% 10%, rgba(230, 0, 18, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(180, 0, 12, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 100% 100% at 50% 50%, #0a0a0a 0%, #030303 100%);
}

/* ─── CANVAS PARTICLES ─── */
#particles-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

/* ─── MAIN CONTENT ─── */
.page-content { position: relative; z-index: 10; }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(3, 3, 3, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-glass);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border-red);
  box-shadow: 0 0 12px var(--primary-glow-soft);
}

.navbar-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.navbar-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
  letter-spacing: 0.02em;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--text-white);
  background: var(--bg-glass);
}

.navbar-nav a.active {
  color: var(--primary);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.cart-btn:hover {
  background: var(--primary-glow-soft);
  border-color: var(--border-red);
  box-shadow: var(--shadow-red);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px var(--primary-glow);
  animation: pulse-badge 2s infinite;
}

.cart-badge.hidden { display: none; }

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(3, 3, 3, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 16px;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--text-white);
  background: var(--bg-glass);
}

/* ─── CART DRAWER ─── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 100vw;
  background: linear-gradient(180deg, #111 0%, #0a0a0a 100%);
  border-left: 1px solid var(--border-glass);
  z-index: 1101;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--border-glass);
}

.cart-drawer-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.05em;
}

.cart-close-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.cart-close-btn:hover {
  background: rgba(230, 0, 18, 0.15);
  border-color: var(--border-red);
  color: var(--primary);
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-muted);
  text-align: center;
  padding: 40px;
}

.cart-empty-icon { font-size: 3rem; opacity: 0.4; }
.cart-empty-text { font-size: 0.9rem; line-height: 1.5; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.cart-item:hover { border-color: var(--border-red); }

.cart-item-emoji {
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 2px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.qty-btn:hover { background: var(--primary-glow-soft); border-color: var(--border-red); }

.qty-value {
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.cart-item-remove:hover { color: var(--primary); }

.cart-drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-total-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cart-total-amount {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.cart-clear-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  transition: var(--transition-fast);
  text-align: center;
}

.cart-clear-btn:hover {
  background: rgba(230, 0, 18, 0.1);
  border-color: var(--border-red);
  color: var(--primary);
}

.checkout-btn-main {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.05em;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 20px var(--primary-glow-soft);
  text-transform: uppercase;
}

.checkout-btn-main:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 20px var(--primary-glow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--border-glass);
}

.btn-outline:hover {
  background: var(--bg-glass);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--bg-glass);
  color: var(--text-light);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: var(--bg-glass-hover);
  color: var(--text-white);
  transform: translateY(-1px);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.8rem; }

/* ─── SECTION STYLES ─── */
.section {
  padding: 100px 0;
  position: relative;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 16px;
}

.section-title span {
  background: linear-gradient(135deg, var(--primary) 0%, #ff4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 24px;
}

/* ─── PRODUCT CARD ─── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition-slow);
  cursor: pointer;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, transparent 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.product-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  border-color: var(--border-red);
  box-shadow: var(--shadow-card), var(--shadow-red);
}

.product-card.rarity-common:hover { box-shadow: var(--shadow-card), 0 0 30px rgba(158,158,158,0.25); }
.product-card.rarity-rare:hover { box-shadow: var(--shadow-card), 0 0 30px rgba(33,150,243,0.3); }
.product-card.rarity-epic:hover { box-shadow: var(--shadow-card), 0 0 30px rgba(156,39,176,0.3); }
.product-card.rarity-legendary:hover { box-shadow: var(--shadow-card), 0 0 30px rgba(255,152,0,0.3); }
.product-card.rarity-mythic:hover { box-shadow: var(--shadow-card), 0 0 30px rgba(244,67,54,0.3); }
.product-card.rarity-god:hover { box-shadow: var(--shadow-card), 0 0 30px rgba(255,215,0,0.35); }
.product-card.rarity-vred:hover { box-shadow: var(--shadow-card), 0 0 40px rgba(230,0,18,0.5); }

.card-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-sale { background: linear-gradient(135deg, #E60012, #a8000d); color: white; }
.badge-featured { background: linear-gradient(135deg, #FF9800, #e65100); color: white; }
.badge-bestseller { background: linear-gradient(135deg, #2196F3, #1565C0); color: white; }
.badge-new { background: linear-gradient(135deg, #4CAF50, #1b5e20); color: white; }

.card-emoji {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
  transition: transform 0.3s ease;
  line-height: 1;
}

.product-card:hover .card-emoji { transform: scale(1.1) translateY(-4px); }

.card-rarity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.rarity-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.rarity-common .rarity-dot, .rarity-common .card-rarity { color: var(--rarity-common); }
.rarity-rare .rarity-dot, .rarity-rare .card-rarity { color: var(--rarity-rare); }
.rarity-epic .rarity-dot, .rarity-epic .card-rarity { color: var(--rarity-epic); }
.rarity-legendary .rarity-dot, .rarity-legendary .card-rarity { color: var(--rarity-legendary); }
.rarity-mythic .rarity-dot, .rarity-mythic .card-rarity { color: var(--rarity-mythic); }
.rarity-god .rarity-dot, .rarity-god .card-rarity { color: var(--rarity-god); }
.rarity-vred .rarity-dot, .rarity-vred .card-rarity { color: var(--rarity-vred); }

.rarity-common .rarity-dot { background: var(--rarity-common); }
.rarity-rare .rarity-dot { background: var(--rarity-rare); box-shadow: 0 0 6px var(--rarity-rare); }
.rarity-epic .rarity-dot { background: var(--rarity-epic); box-shadow: 0 0 6px var(--rarity-epic); }
.rarity-legendary .rarity-dot { background: var(--rarity-legendary); box-shadow: 0 0 6px var(--rarity-legendary); }
.rarity-mythic .rarity-dot { background: var(--rarity-mythic); box-shadow: 0 0 6px var(--rarity-mythic); }
.rarity-god .rarity-dot { background: var(--rarity-god); box-shadow: 0 0 8px var(--rarity-god); }
.rarity-vred .rarity-dot { background: var(--rarity-vred); box-shadow: 0 0 8px var(--rarity-vred); }

.card-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
  line-height: 1.3;
}

.card-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-description {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.card-pricing { display: flex; flex-direction: column; gap: 2px; }

.card-price {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
}

.card-old-price {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.card-discount {
  font-size: 0.7rem;
  font-weight: 700;
  color: #4CAF50;
  margin-left: 4px;
}

.card-buy-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  color: white;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 4px 15px var(--primary-glow-soft);
  white-space: nowrap;
}

.card-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

/* ─── TOAST ─── */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px);
  min-width: 280px;
  max-width: 380px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  animation: toast-in 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 3px solid var(--primary);
}

.toast.success { border-left-color: #4CAF50; }
.toast.error { border-left-color: var(--primary); }
.toast.info { border-left-color: #2196F3; }

.toast-icon { font-size: 1.2rem; }
.toast-message { font-size: 0.85rem; color: var(--text-light); flex: 1; }

@keyframes toast-in {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(100%); }
}

/* ─── FOOTER ─── */
.footer {
  background: linear-gradient(180deg, transparent 0%, #050505 40%);
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 40px;
  position: relative;
  z-index: 10;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border-red);
}

.footer-logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-server-ip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition-fast);
  max-width: fit-content;
}

.footer-server-ip:hover {
  background: var(--primary-glow-soft);
  border-color: var(--border-red);
}

.footer-column h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-links a:hover { color: var(--primary); padding-left: 4px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-glass);
  gap: 16px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-copy span { color: var(--primary); }

.footer-socials { display: flex; gap: 10px; }

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--primary-glow-soft);
  border-color: var(--border-red);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ─── GLOW BLOBS ─── */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* ─── REVEAL ANIMATION ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── DIVIDER ─── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass) 20%, var(--border-glass) 80%, transparent);
  margin: 0 40px;
}
