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

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

:root {
  --bg:       #060e06;
  --surface:  #0c1a0c;
  --card:     #111f11;
  --card-h:   #182f18;
  --green:    #22c55e;
  --green-d:  #16a34a;
  --green-g:  rgba(34,197,94,.18);
  --green-b:  rgba(34,197,94,.25);
  --white:    #f0fdf4;
  --muted:    #6b9e6b;
  --border:   rgba(34,197,94,.15);
  --red:      #ef4444;
  --amber:    #f59e0b;
  --r:        12px;
  --font:     'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--white); font-family: var(--font); min-height: 100vh; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font); border: none; outline: none; }
input, select, textarea { font-family: var(--font); }

/* ── Verification Banner ── */
.verify-banner {
  background: var(--amber);
  color: #000;
  padding: .6rem 1rem;
  font-size: .88rem;
  font-weight: 700;
  text-align: center;
  display: none;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.verify-banner button {
  background: rgba(0,0,0,.15);
  border: 1px solid rgba(0,0,0,.25);
  color: #000;
  padding: .25rem .75rem;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 800;
  transition: all .2s;
}
.verify-banner button:hover {
  background: rgba(0,0,0,.3);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--green-d); border-radius: 3px; }

/* ── Navbar ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 64px;
  background: rgba(6,14,6,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px;
  color: var(--white);
}
.nav-logo span { color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-link { font-size: 0.95rem; font-weight: 600; color: var(--muted); transition: color .2s; }
.nav-link:hover { color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: .75rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .55rem 1.25rem; border-radius: 8px;
  font-size: .9rem; font-weight: 600; transition: all .2s;
}
.btn-primary { background: var(--green); color: #000; }
.btn-primary:hover { background: #16a34a; transform: translateY(-1px); box-shadow: 0 4px 16px var(--green-g); }
.btn-outline { background: transparent; color: var(--green); border: 1px solid var(--green-b); }
.btn-outline:hover { background: var(--green-g); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--green-b); color: var(--green); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #dc2626; }

/* ── Cart button ── */
.cart-btn {
  position: relative;
  display: flex; align-items: center; gap: .4rem;
  padding: .5rem 1rem; border-radius: 8px;
  background: var(--card); border: 1px solid var(--border);
  color: var(--white); font-size: .9rem; font-weight: 600; transition: all .2s;
}
.cart-btn:hover { border-color: var(--green-b); background: var(--card-h); }
.cart-badge {
  background: var(--green); color: #000;
  font-size: .7rem; font-weight: 800;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ── Hero ── */
.hero {
  min-height: 420px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 4rem 2rem;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(34,197,94,.12) 0%, transparent 70%);
  border-bottom: 1px solid var(--border);
}
.hero-tag {
  display: inline-block; margin-bottom: 1rem;
  background: var(--green-g); border: 1px solid var(--green-b);
  color: var(--green); font-size: .8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: .3rem .9rem; border-radius: 20px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 900; line-height: 1.1;
  margin-bottom: 1rem; letter-spacing: -1px;
}
.hero h1 .accent { color: var(--green); }
.hero-sub { color: var(--muted); font-size: 1.1rem; margin-bottom: 1.5rem; }
.promo-badge {
  position: relative;
  overflow: hidden;
  display: inline-flex; align-items: center; gap: .6rem;
  background: linear-gradient(135deg, var(--green) 0%, #10b981 100%);
  color: #050d05; font-weight: 800; font-size: .95rem;
  padding: .7rem 1.5rem; border-radius: 30px;
  transition: all .2s ease; margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.25);
}
.promo-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.45);
}
.promo-badge::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 25%; height: 200%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(25deg);
  animation: shimmer-effect 3.5s infinite ease-in-out;
}
@keyframes shimmer-effect {
  0% { left: -60%; }
  25% { left: 140%; }
  100% { left: 140%; }
}

/* ── Countdown ── */
.countdown-label { font-size: .8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-bottom: .75rem; }
.countdown-grid {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.countdown-unit {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: .75rem 1.25rem; min-width: 72px; text-align: center;
}
.countdown-unit span { display: block; font-size: 2rem; font-weight: 800; color: var(--green); line-height: 1; }
.countdown-unit label { font-size: .65rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-top: .2rem; display: block; }
.countdown-sep { font-size: 1.8rem; font-weight: 800; color: var(--green); }
.deadline-passed { color: var(--red); font-weight: 700; font-size: 1.1rem; }

/* ── Filters ── */
.products-section { padding: 3rem 2rem; max-width: 1400px; margin: 0 auto; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.section-title { font-size: 1.4rem; font-weight: 800; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-btn {
  padding: .4rem .9rem; border-radius: 20px; font-size: .85rem; font-weight: 600;
  background: var(--card); border: 1px solid var(--border); color: var(--muted); transition: all .2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--green-g); border-color: var(--green-b); color: var(--green);
}

/* ── Kit Grid ── */
.kit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem; margin-top: 1.5rem;
}
.kit-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; transition: all .25s;
  display: flex; flex-direction: column;
}
.kit-card:hover { border-color: var(--green-b); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,.4); }
.kit-card-banner {
  height: 180px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.kit-card-image {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.kit-card:hover .kit-card-image { transform: scale(1.08); }
.kit-card-banner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,.5));
}
.kit-variant-badge {
  position: absolute; top: .5rem; right: .5rem; z-index: 1;
  background: rgba(0,0,0,.6); backdrop-filter: blur(8px);
  color: var(--white); font-size: .65rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: .2rem .5rem; border-radius: 6px;
}
.kit-card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; gap: .6rem; }
.kit-name { font-size: .95rem; font-weight: 800; line-height: 1.25; }
.kit-sizes { display: flex; gap: .3rem; flex-wrap: wrap; }
.size-pip {
  font-size: .65rem; font-weight: 700; padding: .15rem .4rem;
  border-radius: 4px; background: var(--green-g); color: var(--green);
  border: 1px solid var(--green-b);
}
.size-pip.out { background: transparent; color: var(--muted); border-color: var(--border); text-decoration: line-through; }
.kit-price { font-size: 1.2rem; font-weight: 800; color: var(--green); margin-top: auto; }
.kit-price span { font-size: .85rem; font-weight: 400; color: var(--muted); }
.kit-add-btn {
  width: 100%; padding: .65rem; border-radius: 8px; font-size: .9rem; font-weight: 700;
  background: var(--green); color: #000; transition: all .2s; margin-top: .25rem;
}
.kit-add-btn:hover { background: var(--green-d); }
.kit-add-btn:disabled { background: var(--card-h); color: var(--muted); cursor: not-allowed; }
.kit-sold-out { text-align: center; padding: .65rem; color: var(--red); font-size: .85rem; font-weight: 700; }

/* ── Modal ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.7); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 2rem; width: 100%; max-width: 460px;
  max-height: 90vh; overflow-y: auto;
  transform: translateY(20px); transition: transform .25s;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.modal-title { font-size: 1.2rem; font-weight: 800; }
.modal-close {
  background: var(--card); border: 1px solid var(--border); color: var(--muted);
  width: 32px; height: 32px; border-radius: 8px; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.modal-close:hover { color: var(--white); border-color: var(--green-b); }

/* ── Modal Kit Banner ── */
.modal-kit-banner {
  height: 140px; border-radius: 12px; margin-bottom: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.modal-kit-img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 12px;
}
.modal-kit-name { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; }
.modal-kit-name span { color: var(--muted); font-weight: 400; }

/* ── Size/Qty Selector ── */
.field-label { font-size: .8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: .5rem; }
.size-chips { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.size-chip {
  padding: .5rem 1rem; border-radius: 8px; font-size: .9rem; font-weight: 700;
  background: var(--card); border: 2px solid var(--border); color: var(--white); transition: all .15s;
}
.size-chip:hover:not(:disabled) { border-color: var(--green-b); }
.size-chip.selected { background: var(--green); border-color: var(--green); color: #000; }
.size-chip:disabled { opacity: .35; cursor: not-allowed; }

.qty-row { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }
.qty-btn {
  width: 36px; height: 36px; border-radius: 8px; font-size: 1.2rem; font-weight: 700;
  background: var(--card); border: 1px solid var(--border); color: var(--white); transition: all .15s;
}
.qty-btn:hover { border-color: var(--green-b); color: var(--green); }
.qty-display { font-size: 1.2rem; font-weight: 800; min-width: 2rem; text-align: center; }
.qty-stock-note { font-size: .8rem; color: var(--muted); }

.modal-price-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.modal-price { font-size: 1.4rem; font-weight: 800; color: var(--green); }
.modal-add-btn { width: 100%; padding: .8rem; border-radius: 10px; font-size: 1rem; font-weight: 800; background: var(--green); color: #000; transition: all .2s; }
.modal-add-btn:hover { background: var(--green-d); }

/* ── Cart Sidebar ── */
.cart-backdrop {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .25s;
}
.cart-backdrop.open { opacity: 1; pointer-events: all; }
.cart-sidebar {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 160;
  width: 380px; max-width: 95vw;
  background: var(--surface); border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.cart-sidebar.open { transform: translateX(0); }
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border);
}
.cart-title { font-size: 1.1rem; font-weight: 800; }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart-empty { text-align: center; color: var(--muted); padding: 3rem 0; font-size: .95rem; }
.cart-item {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .9rem 0; border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 48px; height: 48px; object-fit: cover; border-radius: 8px;
  flex-shrink: 0; background: var(--card); border: 1px solid var(--border);
}
.cart-item-info { flex: 1; }
.cart-item-name { font-size: .9rem; font-weight: 700; }
.cart-item-meta { font-size: .78rem; color: var(--muted); margin-top: .2rem; }
.cart-item-price { font-size: .95rem; font-weight: 700; color: var(--green); margin-top: .3rem; }
.cart-item-remove {
  background: none; color: var(--muted); font-size: 1.1rem; padding: .2rem; transition: color .15s; flex-shrink: 0;
}
.cart-item-remove:hover { color: var(--red); }
.cart-footer { padding: 1.25rem 1.5rem; border-top: 1px solid var(--border); }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.cart-total-label { color: var(--muted); font-size: .9rem; }
.cart-total-amount { font-size: 1.4rem; font-weight: 800; color: var(--green); }
.cart-checkout-btn {
  width: 100%; padding: .85rem; border-radius: 10px;
  font-size: 1rem; font-weight: 800; background: var(--green); color: #000; transition: all .2s;
}
.cart-checkout-btn:hover { background: var(--green-d); transform: translateY(-1px); }
.cart-checkout-btn:disabled { background: var(--card-h); color: var(--muted); cursor: not-allowed; transform: none; }

/* ── Toast ── */
.toast-container { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: .5rem; align-items: center; }
.toast {
  padding: .65rem 1.25rem; border-radius: 10px; font-size: .9rem; font-weight: 600;
  animation: toast-in .3s ease; pointer-events: none; white-space: nowrap;
}
.toast.success { background: var(--green); color: #000; }
.toast.error { background: var(--red); color: #fff; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── Footer ── */
footer {
  text-align: center; padding: 2rem; border-top: 1px solid var(--border);
  color: var(--muted); font-size: .85rem; margin-top: 3rem;
}

/* ── Phone Input & Errors ── */
.phone-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  transition: border-color 0.2s;
}
.phone-input:focus {
  border-color: var(--green);
  outline: none;
}
.phone-error {
  color: var(--red);
  font-size: 0.8rem;
  display: none;
  margin-bottom: 1.2rem;
}

.desktop-text { display: inline; }
.mobile-text { display: none; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .desktop-text { display: none; }
  .mobile-text { display: inline; }
  
  .navbar { padding: 0 1rem; }
  
  .nav-logo {
    gap: 0 !important;
  }
  
  .nav-links a:not([href*="games.html"]) {
    display: none !important;
  }
  
  .nav-links {
    gap: 0.5rem;
    margin: 0 0.25rem;
  }
  
  .nav-link {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid var(--green-b);
    color: var(--green) !important;
    padding: 0.4rem 0.65rem;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 3px;
  }
  
  .cart-btn {
    padding: 0.45rem 0.65rem;
  }
  
  .btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.85rem;
  }
  
  .products-section { padding: 1.5rem 1rem; }
  .hero { padding: 2.5rem 1rem; }
  .countdown-unit { min-width: 56px; padding: .6rem .8rem; }
  .countdown-unit span { font-size: 1.5rem; }
  .kit-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .75rem; }
  .cart-sidebar { width: 100%; max-width: 100%; }
}

/* ── Shake Highlight Animation ── */
@keyframes shake-highlight {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
.shake-highlight {
  animation: shake-highlight 0.4s ease-in-out;
}


