/* ===== COLOR PALETTE ===== */
:root {
  --bg-black: rgb(0, 0, 0);
  --purple-dark: rgb(82, 5, 123);
  --purple-neon: rgb(137, 44, 220);
  --purple-light: rgb(188, 111, 241);
  --text-light: rgb(240, 240, 240);
  --purple-glow: rgba(137, 44, 220, 0.5);
  --glass-bg: rgba(82, 5, 123, 0.15);
  --glass-border: rgba(82, 5, 123, 0.6);
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

body::before {
  content: "";
  position: fixed;
  inset: -30px;
  background-image: linear-gradient(170deg, rgba(0,0,0,0.82), rgba(0,0,0,0.92)), url('bg.webp');
  background-size: cover;
  background-position: center;
  filter: blur(5px);
  z-index: -2;
}

#particle-canvas { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
a { text-decoration: none; color: inherit; }

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}
@keyframes float-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px var(--purple-glow), 0 0 60px rgba(137,44,220,0.15); }
  50% { box-shadow: 0 0 35px var(--purple-glow), 0 0 80px rgba(137,44,220,0.25); }
}
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.floating { animation: float 4s ease-in-out infinite; }
.floating-subtle { animation: float-subtle 5s ease-in-out infinite; }
.pulse-glow { animation: pulse-glow 4s ease-in-out infinite; }
.delay-1 { animation-delay: 0.8s; }
.delay-2 { animation-delay: 1.6s; }
.delay-3 { animation-delay: 2.4s; }

/* Scroll reveal */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== GLASSMORPHISM ===== */
.glass {
  background-color: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--purple-dark);
}

/* ===== GAME CARD (Neon Border) ===== */
.game-card, .neon-border {
  border: 1px solid var(--purple-dark);
  box-shadow: 0 4px 30px rgba(137, 44, 220, 0.1);
  transition: all 0.3s ease;
}
.game-card:hover, .neon-border:hover {
  border-color: var(--purple-neon);
  box-shadow: 0 0 25px rgba(137, 44, 220, 0.4);
  transform: translateY(-5px);
}

/* ===== NEON TEXT ===== */
.neon-text {
  text-shadow: 0 0 12px rgba(188, 111, 241, 0.8), 0 0 30px rgba(137, 44, 220, 0.5);
}
.text-highlight {
  color: var(--purple-light);
  text-shadow: 0 0 8px rgba(188, 111, 241, 0.5);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px;
  font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  background-color: var(--purple-neon); color: var(--text-light); border: none; cursor: pointer;
  box-shadow: 0 0 15px var(--purple-glow);
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background-color: var(--purple-light);
  box-shadow: 0 0 30px rgba(188, 111, 241, 0.8);
  transform: scale(1.05);
}

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px;
  font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  background: transparent; color: var(--text-light);
  border: 1px solid var(--purple-neon); cursor: pointer;
  transition: all 0.3s ease;
}
.btn-ghost:hover {
  background: rgba(137, 44, 220, 0.2);
  box-shadow: 0 0 20px rgba(137, 44, 220, 0.3);
}

.btn-cart {
  width: 100%; padding: 10px 0; border-radius: 8px;
  font-family: 'Orbitron', sans-serif; font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: transparent; color: var(--purple-light);
  border: 1px solid var(--purple-neon); cursor: pointer;
  transition: all 0.3s ease;
}
.btn-cart:hover {
  background-color: var(--purple-neon); color: #fff;
  box-shadow: 0 0 18px var(--purple-glow);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(137, 44, 220, 0.15);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 16px 28px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo {
  font-family: 'Orbitron', sans-serif; font-size: 1.5rem; font-weight: 900;
  letter-spacing: 0.06em; display: flex; align-items: center; gap: 6px;
}
.logo-accent {
  color: var(--purple-light);
  text-shadow: 0 0 14px rgba(188, 111, 241, 0.7);
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500; color: rgba(240,240,240,0.6);
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--purple-light); transition: width 0.3s;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.cart-btn {
  position: relative; background: var(--glass-bg); backdrop-filter: blur(12px);
  border: 1px solid var(--purple-dark); border-radius: 50%;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s;
}
.cart-btn:hover { border-color: var(--purple-neon); box-shadow: 0 0 16px rgba(137,44,220,0.4); }
.cart-btn svg { width: 22px; height: 22px; color: var(--purple-light); }
.cart-badge {
  position: absolute; top: -4px; right: -4px; background: var(--purple-neon);
  color: #fff; font-size: 0.65rem; font-weight: 700;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* Mobile nav */
.mobile-menu-btn { display: none; background: none; border: none; color: var(--purple-light); cursor: pointer; }
.mobile-menu-btn svg { width: 28px; height: 28px; }
.mobile-nav {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.96);
  backdrop-filter: blur(20px); z-index: 99;
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: 'Orbitron', sans-serif; font-size: 1.3rem; font-weight: 600; color: #fff; }
.mobile-nav-close { position: absolute; top: 20px; right: 28px; background: none; border: none; color: var(--purple-light); cursor: pointer; }
.mobile-nav-close svg { width: 32px; height: 32px; }

/* ===== HERO ===== */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; padding-bottom: 60px; position: relative; overflow: hidden; }
.hero-container { max-width: 1280px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; gap: 60px; width: 100%; }
.hero-text { flex: 1; z-index: 2; }
.hero-text h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); margin-bottom: 24px; }
.hero-text h1 .gradient-text {
  background: linear-gradient(135deg, var(--purple-light), var(--purple-neon), var(--purple-light));
  background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; animation: gradient-shift 4s ease infinite;
}
.hero-tagline {
  font-size: 1.1rem; color: rgba(240,240,240,0.6); max-width: 480px; margin-bottom: 12px;
  padding: 18px 20px; border-radius: var(--radius-lg); border-left: 3px solid var(--purple-neon);
  background-color: var(--glass-bg); backdrop-filter: blur(10px);
}
.hero-tagline strong { color: var(--purple-light); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.hero-visual { flex: 1; display: flex; justify-content: center; z-index: 2; }
.hero-img-wrap {
  position: relative; width: 380px; height: 380px; border-radius: var(--radius-xl);
  overflow: hidden; border: 2px solid rgba(137, 44, 220, 0.35);
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 50%); }
.hero-img-label { position: absolute; bottom: 20px; left: 20px; right: 20px; text-align: center; }
.hero-img-label h3 { font-size: 1.1rem; color: #fff; }
.hero-img-label p { font-size: 0.8rem; color: rgba(240,240,240,0.5); margin-top: 4px; }

/* Ambient orbs */
.ambient-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px); z-index: 0; }
.orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(82,5,123,0.2), transparent 70%); top: -10%; left: -5%; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(137,44,220,0.12), transparent 70%); bottom: -10%; right: -5%; }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; position: relative; }
.section-container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.section-title { text-align: center; font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 16px; }
.section-subtitle { text-align: center; color: rgba(240,240,240,0.5); max-width: 560px; margin: 0 auto 56px; font-size: 1rem; }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background-color: var(--glass-bg); border: 1px solid var(--purple-dark);
  border-radius: var(--radius-lg); padding: 36px 28px; backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(137, 44, 220, 0.1);
  animation: float 4s ease-in-out infinite; transition: all 0.3s ease;
}
.service-card:hover { border-color: var(--purple-neon); box-shadow: 0 0 25px rgba(137, 44, 220, 0.4); transform: translateY(-5px); }
.service-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple-neon));
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  box-shadow: 0 0 24px rgba(137, 44, 220, 0.5);
}
.service-icon svg { width: 28px; height: 28px; color: #fff; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 12px; color: #fff; }
.service-card p { font-size: 0.9rem; color: rgba(240,240,240,0.5); margin-bottom: 20px; line-height: 1.7; }
.badge {
  display: inline-block; padding: 6px 16px; border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 700; font-family: 'Orbitron', sans-serif;
  text-transform: uppercase; letter-spacing: 0.06em;
  background: rgba(137, 44, 220, 0.15); color: var(--purple-light);
  border: 1px solid rgba(137, 44, 220, 0.35);
}

/* ===== LOGISTICS ===== */
.logistics-bg { background: rgba(0,0,0,0.35); border-top: 1px solid rgba(82,5,123,0.3); border-bottom: 1px solid rgba(82,5,123,0.3); }
.logistics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: center; position: relative; }
.logistics-grid::before {
  content: ''; position: absolute; top: 40px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple-dark), transparent); z-index: 0;
}
.step-card { padding: 32px 24px; border-radius: var(--radius-xl); position: relative; z-index: 1; }
.step-number {
  width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple-neon));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Orbitron', sans-serif; font-size: 1.2rem; font-weight: 800; color: #fff;
  box-shadow: 0 0 20px rgba(137, 44, 220, 0.5);
}
.step-card h4 { font-size: 1rem; margin-bottom: 8px; color: var(--purple-light); }
.step-card p { font-size: 0.88rem; color: rgba(240,240,240,0.5); line-height: 1.65; }

/* ===== STORE ===== */
.tab-switcher { display: flex; justify-content: center; margin-bottom: 48px; }
.tab-pill { display: inline-flex; padding: 4px; border-radius: var(--radius-full); background: var(--glass-bg); border: 1px solid var(--purple-dark); }
.tab-btn {
  padding: 10px 28px; border-radius: var(--radius-full);
  font-family: 'Orbitron', sans-serif; font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.04em; border: none; cursor: pointer;
  background: transparent; color: rgba(240,240,240,0.5);
  transition: all 0.3s ease; text-transform: uppercase;
}
.tab-btn.active { background: var(--purple-neon); color: #fff; box-shadow: 0 0 16px rgba(137,44,220,0.6); }
.tab-btn:hover:not(.active) { color: #fff; }

.store-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.store-grid.hidden-tab { display: none; }

.product-card {
  background-color: var(--glass-bg); border: 1px solid var(--purple-dark);
  border-radius: var(--radius-lg); padding: 18px; backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(137, 44, 220, 0.1);
  transition: all 0.3s ease;
}
.product-card:hover { border-color: var(--purple-neon); box-shadow: 0 0 25px rgba(137, 44, 220, 0.4); transform: translateY(-5px); }
.product-img { height: 160px; border-radius: 12px; overflow: hidden; margin-bottom: 16px; position: relative; background: #0a0a0a; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img img { transform: scale(1.08); }
.product-img .img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6), transparent); transition: opacity 0.3s; }
.product-card:hover .img-overlay { opacity: 0.4; }
.product-info { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.product-info h4 { font-size: 0.95rem; color: #fff; }
.product-price { font-family: 'Orbitron', sans-serif; font-weight: 700; color: var(--purple-light); font-size: 1rem; }
.product-desc { font-size: 0.78rem; color: rgba(240,240,240,0.5); margin-bottom: 14px; }

.key-visual {
  height: 160px; border-radius: 12px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(82, 5, 123, 0.06); border: 2px dashed rgba(82, 5, 123, 0.3);
}
.key-visual svg { width: 48px; height: 48px; color: var(--purple-neon); }

/* ===== TRUST BAR ===== */
.trust-bar { padding: 40px 0; background: rgba(82, 5, 123, 0.06); border-top: 1px solid rgba(82,5,123,0.2); }
.trust-items { max-width: 1280px; margin: 0 auto; padding: 0 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 48px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item svg { width: 32px; height: 32px; color: var(--purple-light); flex-shrink: 0; }
.trust-item span { font-weight: 600; font-size: 0.95rem; color: var(--text-light); }

/* ===== FOOTER ===== */
.site-footer { padding: 48px 0; margin-top: 20px; border-top: 1px solid rgba(82,5,123,0.2); background: var(--glass-bg); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer-brand p { font-size: 0.85rem; color: rgba(240,240,240,0.5); margin-top: 6px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 0.85rem; color: rgba(240,240,240,0.5); transition: color 0.3s; }
.footer-links a:hover { color: var(--purple-light); }
.footer-copy { font-size: 0.8rem; color: rgba(240,240,240,0.4); }

/* ===== RESPONSIVE ===== */

/* Tablet landscape */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-container { gap: 40px; }
  .hero-img-wrap { width: 320px; height: 320px; }
  .trust-items { gap: 28px; }
}

/* Tablet portrait & small screens */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }

  .hero { min-height: auto; padding-top: 90px; padding-bottom: 40px; }
  .hero-container { flex-direction: column-reverse; text-align: center; gap: 32px; padding: 0 20px; }
  .hero-text h1 { font-size: 2rem; }
  .hero-tagline { margin-left: auto; margin-right: auto; font-size: 1rem; padding: 14px 16px; }
  .hero-cta { justify-content: center; }
  .hero-img-wrap { width: 260px; height: 260px; }
  .hero-img-label { display: none; }

  .section { padding: 60px 0; }
  .section-container { padding: 0 20px; }
  .section-title { font-size: 1.5rem; }
  .section-subtitle { font-size: 0.9rem; margin-bottom: 36px; }

  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-card { padding: 28px 22px; animation: none; }

  .logistics-grid { grid-template-columns: 1fr; gap: 16px; }
  .logistics-grid::before { display: none; }
  .step-card { padding: 24px 20px; }

  .tab-switcher { margin-bottom: 32px; }
  .tab-btn { padding: 8px 18px; font-size: 0.72rem; }
  .store-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .product-card { padding: 14px; }

  .trust-items { gap: 20px; }
  .trust-item span { font-size: 0.85rem; }

  .footer-inner { flex-direction: column; text-align: center; gap: 20px; }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: 16px; }

  .btn-primary, .btn-ghost { padding: 12px 24px; font-size: 0.82rem; }
}

/* Small phones */
@media (max-width: 480px) {
  .header-inner { padding: 12px 16px; }
  .logo { font-size: 1.2rem; }

  .hero-container { padding: 0 16px; }
  .hero-text h1 { font-size: 1.7rem; }
  .hero-tagline { font-size: 0.9rem; padding: 12px 14px; }
  .hero-cta { flex-direction: column; width: 100%; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .hero-img-wrap { width: 220px; height: 220px; }

  .section { padding: 48px 0; }
  .section-container { padding: 0 16px; }
  .section-title { font-size: 1.3rem; }

  .service-card { padding: 22px 18px; }
  .service-card h3 { font-size: 1.05rem; }
  .service-card p { font-size: 0.85rem; }

  .store-grid { grid-template-columns: 1fr; }
  .product-img { height: 180px; }

  .tab-pill { width: 100%; }
  .tab-btn { flex: 1; padding: 10px 12px; font-size: 0.7rem; text-align: center; }

  .trust-items { flex-direction: column; align-items: center; gap: 16px; }

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

/* ===== MODAL & FORM ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px);
  z-index: 1000; display: flex; align-items: center; justify-content: center;
  opacity: 1; transition: opacity 0.3s ease;
}
.modal-overlay.hidden { opacity: 0; pointer-events: none; }
.modal-content {
  background: var(--bg-black); width: 90%; max-width: 500px;
  border-radius: var(--radius-xl); padding: 30px; position: relative;
  transform: translateY(0); transition: transform 0.3s ease;
}
.modal-overlay.hidden .modal-content { transform: translateY(20px); }
.modal-close {
  position: absolute; top: 15px; right: 20px; font-size: 1.5rem;
  background: none; border: none; color: var(--text-light); cursor: pointer;
  transition: color 0.3s;
}
.modal-close:hover { color: var(--purple-neon); }

.form-input {
  width: 100%; padding: 12px 16px; border-radius: 8px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--purple-dark);
  color: var(--text-light); font-family: 'Inter', sans-serif;
  transition: all 0.3s ease; outline: none;
}
.form-input:focus {
  border-color: var(--purple-neon);
  box-shadow: 0 0 10px rgba(137, 44, 220, 0.3);
}

.cart-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid rgba(82, 5, 123, 0.3);
}
.cart-item-remove {
  color: #ff4757; background: none; border: none; cursor: pointer; font-size: 1.2rem;
  line-height: 1; padding: 0 5px;
}

/* ===== TOAST NOTIFICATION ===== */
.toast-container {
  position: fixed; bottom: 20px; right: 20px; z-index: 2000;
  display: flex; flex-direction: column; gap: 10px; pointer-events: none;
}
.toast {
  background: var(--purple-neon); color: #fff;
  padding: 12px 24px; border-radius: var(--radius-lg);
  font-family: 'Orbitron', sans-serif; font-size: 0.85rem; font-weight: 600;
  box-shadow: 0 4px 20px rgba(137, 44, 220, 0.4);
  transform: translateX(120%); opacity: 0; transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.toast.show { transform: translateX(0); opacity: 1; }

