/* assets/shared.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0a0f1e;
  --navy-2:  #0d1428;
  --navy-3:  #111b36;
  --navy-4:  #162040;
  --cyan:    #00c8f0;
  --cyan-2:  #009ec0;
  --cyan-dim: rgba(0,200,240,0.07);
  --cyan-glow: rgba(0,200,240,0.30);
  --white:   #eef2f8;
  --muted:   #6a7a90;
  --border:  rgba(0,200,240,0.14);
  --card-bg: rgba(13,20,40,0.85);
  --font-main: 'Barlow', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 68px;
  background: rgba(10,15,30,0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-cond); font-size: 22px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo .accent { color: var(--cyan); }
.nav-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-family: var(--font-cond); font-size: 15px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links .nav-cta {
  color: var(--cyan); border: 1px solid var(--border);
  padding: 8px 20px; border-radius: 2px; transition: background 0.2s;
}
.nav-links .nav-cta:hover { background: var(--cyan-dim); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.cart-btn {
  background: none; border: 1px solid var(--border); border-radius: 2px;
  color: var(--muted); font-family: var(--font-cond); font-size: 15px;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 8px 16px; cursor: pointer; transition: color 0.2s, border-color 0.2s;
}
.cart-btn:hover { color: var(--cyan); border-color: rgba(0,200,240,0.4); }

/* ── TICKER ── */
.ticker-wrap {
  background: var(--navy-3); border-bottom: 1px solid var(--border);
  margin-top: 68px; overflow: hidden; padding: 10px 0;
}
.ticker-track {
  display: flex; animation: ticker 45s linear infinite; width: max-content;
}
.ticker-item {
  font-family: var(--font-cond); font-size: 16px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); padding: 0 52px; white-space: nowrap;
  display: flex; align-items: center; gap: 12px;
}
.ticker-item .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); opacity: 0.5; }
.ticker-item strong { color: var(--cyan); }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--cyan); color: var(--navy);
  font-family: var(--font-cond); font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 13px 32px; text-decoration: none; border-radius: 2px; border: none;
  cursor: pointer; display: inline-block;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--cyan-2); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,200,240,0.2);
}
.btn-secondary {
  background: transparent; color: var(--white);
  font-family: var(--font-cond); font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 13px 32px; text-decoration: none; border-radius: 2px;
  border: 1px solid var(--border); cursor: pointer; display: inline-block;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.btn-secondary:hover {
  border-color: rgba(0,200,240,0.4); background: var(--cyan-dim);
  transform: translateY(-2px);
}

/* ── SECTION COMMON ── */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.section-tag {
  font-family: var(--font-cond); font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-cond); font-size: clamp(30px,4vw,46px);
  font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1;
}
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px;
}
.section-link {
  font-family: var(--font-cond); font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan);
  text-decoration: none; display: flex; align-items: center; gap: 6px;
  transition: gap 0.2s; flex-shrink: 0;
}
.section-link:hover { gap: 10px; }

/* ── FOOTER ── */
footer {
  background: var(--navy); border-top: 1px solid var(--border); padding: 56px 0 32px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border);
}
.footer-brand-name {
  font-family: var(--font-cond); font-size: 20px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px;
}
.footer-brand-name .accent { color: var(--cyan); }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.footer-hours { font-size: 12px; color: var(--muted); font-family: var(--font-cond); letter-spacing: 0.06em; }
.footer-hours strong { color: var(--white); display: block; margin-bottom: 2px; }
.footer-col h4 {
  font-family: var(--font-cond); font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.footer-disclaimer { font-size: 11px; color: rgba(122,138,170,0.55); line-height: 1.65; max-width: 640px; }
.footer-copy {
  font-family: var(--font-cond); font-size: 11px; color: rgba(122,138,170,0.45);
  letter-spacing: 0.1em; text-transform: uppercase; text-align: right; flex-shrink: 0;
}

/* ── CART DRAWER ── */
#cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 499; opacity: 0; pointer-events: none; transition: opacity 0.3s;
  backdrop-filter: blur(4px);
}
#cart-drawer.open #cart-overlay { opacity: 1; pointer-events: all; }
#cart-panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: 380px;
  background: var(--navy-2); border-left: 1px solid var(--border);
  z-index: 500; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
}
#cart-drawer.open #cart-panel { transform: translateX(0); }
#cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
}
#cart-drawer-body { flex: 1; overflow-y: auto; padding: 16px; }
.cart-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px; background: var(--navy-3); border: 1px solid var(--border);
  border-radius: 3px; margin-bottom: 10px;
}
.cart-item-name {
  font-family: var(--font-cond); font-size: 14px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px;
}
.cart-item-price { font-size: 13px; color: var(--muted); }
.cart-item-controls { display: flex; align-items: center; gap: 8px; }
.cart-item-controls button {
  background: var(--navy-4); border: 1px solid var(--border); color: var(--white);
  width: 28px; height: 28px; border-radius: 2px; cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center; transition: border-color 0.2s;
}
.cart-item-controls button:hover { border-color: rgba(0,200,240,0.4); color: var(--cyan); }
.cart-item-controls .remove-btn { color: var(--muted); font-size: 11px; }
.cart-item-controls span {
  font-family: var(--font-cond); font-size: 15px; font-weight: 700;
  min-width: 20px; text-align: center;
}
#cart-drawer-footer {
  padding: 16px 24px 24px; border-top: 1px solid var(--border);
}
#cart-discount { display: flex; gap: 8px; margin-bottom: 16px; }
#discount-input {
  flex: 1; background: var(--navy-3); border: 1px solid var(--border); border-radius: 2px;
  padding: 9px 12px; font-size: 13px; color: var(--white); outline: none;
  font-family: var(--font-main);
}
#discount-input::placeholder { color: var(--muted); }
#cart-discount button {
  background: transparent; border: 1px solid var(--border); border-radius: 2px;
  color: var(--cyan); font-family: var(--font-cond); font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 9px 16px;
  cursor: pointer; transition: background 0.2s; white-space: nowrap;
}
#cart-discount button:hover { background: var(--cyan-dim); }
#cart-summary { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
#shipping-notice { font-family: var(--font-cond); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
#checkout-btn {
  width: 100%; background: var(--cyan); color: var(--navy); border: none; border-radius: 2px;
  font-family: var(--font-cond); font-size: 14px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 15px; cursor: pointer; transition: background 0.2s;
}
#checkout-btn:hover { background: var(--cyan-2); }
#checkout-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── DISCLAIMER MODAL ── */
#disclaimer {
  position: fixed; inset: 0; background: rgba(5,8,18,0.97);
  z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 24px;
  backdrop-filter: blur(8px);
}
.disclaimer-box {
  max-width: 540px; width: 100%; background: var(--navy-3);
  border: 1px solid var(--border); border-radius: 4px; padding: 40px 36px; text-align: center;
  animation: fadeUp 0.4s ease;
}
.disclaimer-logo {
  font-family: var(--font-cond); font-size: 24px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 20px;
}
.disclaimer-logo .accent { color: var(--cyan); }
.disclaimer-box h2 {
  font-family: var(--font-cond); font-size: 17px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px;
}
.disclaimer-box p { font-size: 13px; line-height: 1.7; color: var(--muted); margin-bottom: 28px; }
.disclaimer-box p strong { color: var(--white); }
.disclaimer-btns { display: flex; gap: 12px; justify-content: center; }
.btn-agree {
  background: var(--cyan); color: var(--navy); border: none;
  font-family: var(--font-cond); font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 12px 32px; cursor: pointer; border-radius: 2px; transition: background 0.2s;
}
.btn-agree:hover { background: var(--cyan-2); }
.btn-leave {
  background: transparent; color: var(--muted);
  border: 1px solid var(--border);
  font-family: var(--font-cond); font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 12px 28px; cursor: pointer; border-radius: 2px; transition: border-color 0.2s, color 0.2s;
}
.btn-leave:hover { border-color: var(--muted); color: var(--white); }

/* ── CANVAS ── */
#particle-canvas {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.45;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--cyan); }
  50% { opacity: 0.5; box-shadow: 0 0 16px var(--cyan); }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── HAMBURGER BUTTON ── */
.ham-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 4px; z-index: 300;
}
.ham-btn span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
}
.ham-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ham-btn.open span:nth-child(2) { opacity: 0; width: 0; }
.ham-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE DRAWER ── */
.mobile-nav {
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: rgba(8,12,24,0.98);
  backdrop-filter: blur(16px);
  z-index: 190;
  flex-direction: column;
  padding: 32px 28px 48px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  /* Hidden on desktop — shown only via media query + JS */
  display: none;
}
.mobile-nav.open {
  transform: translateX(0);
}
.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 32px;
}
.mobile-nav-links li a {
  display: block;
  font-family: var(--font-cond);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,200,240,0.07);
  transition: color 0.2s;
}
.mobile-nav-links li a:hover,
.mobile-nav-links li a.active { color: var(--white); }
.mobile-nav-cta { color: var(--cyan) !important; }
.mobile-nav-socials {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-social-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.mobile-social-btn.discord { color: #5865f2; border-color: rgba(88,101,242,0.3); }
.mobile-social-btn.discord:hover { background: rgba(88,101,242,0.1); border-color: #5865f2; }
.mobile-social-btn.tiktok  { color: #00f2ea; border-color: rgba(0,242,234,0.3); }
.mobile-social-btn.tiktok:hover { background: rgba(0,242,234,0.08); border-color: #00f2ea; }
.mobile-social-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 16px; }
  .nav-links { display: none !important; }
  .ham-btn { display: flex !important; }
  /* Show mobile nav container (visibility controlled by .open class) */
  .mobile-nav { display: flex; }
  .section-inner { padding: 0 16px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  #cart-panel { width: 100%; }
  .ticker-item { font-size: 12px; padding: 0 24px; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .footer-copy { text-align: left; }
  .footer-disclaimer { font-size: 10px; }
}

/* ── SOCIALS DROPDOWN ── */
.nav-socials-item {
  position: relative;
}
.nav-socials-toggle {
  cursor: pointer;
  user-select: none;
}
.nav-socials-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-mid, #0d1b2a);
  border: 1px solid rgba(0,200,240,0.2);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 150px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  z-index: 200;
  list-style: none;
  animation: slideIn 0.15s ease;
}
.nav-socials-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid rgba(0,200,240,0.2);
}
.nav-socials-dropdown li { padding: 0; }
.nav-socials-dropdown li a {
  display: flex;
  align-items: center;
  padding: 9px 18px;
  color: var(--text-dim, #8899aa);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-socials-dropdown li a:hover {
  color: var(--cyan, #00c8f0);
  background: rgba(0,200,240,0.06);
}
.nav-socials-item:hover .nav-socials-dropdown,
.nav-socials-item:focus-within .nav-socials-dropdown {
  display: block;
}
