/* ══════════════════════════════════════════════════
   KASKUO — SHARED STYLES  (Dark palette)
══════════════════════════════════════════════════ */
:root {
  --bg:      #0f0f10;
  --surface: rgba(255,255,255,0.06);
  --surface2:rgba(255,255,255,0.04);
  --surface-solid: #18181a;
  --dark:    #0a0a0f;
  --mid:     #2a2a2e;
  --grey:    rgba(255,255,255,0.45);
  --grey2:   rgba(255,255,255,0.28);
  --grey3:   rgba(255,255,255,0.18);
  --light:   rgba(255,255,255,0.7);
  --white:   rgba(255,255,255,0.88);
  --pure:    #ffffff;
  --border:  rgba(255,255,255,0.09);
  --border2: rgba(255,255,255,0.15);
  --shadow:  0 8px 32px rgba(0,0,0,0.45);
  --shadow2: 0 16px 56px rgba(0,0,0,0.55);
  --r-sm:    10px;
  --r-md:    16px;
  --r-lg:    24px;
  --r-xl:    32px;
  --r-pill:  999px;
}

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

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'DM Mono', monospace;
  overflow-x: hidden;
  cursor: default;
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }

/* ══ NAV — dark frosted glass, all items RIGHT ══ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 2.5rem;
  background: rgba(15,15,16,0.82);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--border);
}

.nav-links {
  display: flex; gap: 2rem;
  list-style: none; align-items: center;
  margin-right: 0.5rem;
}
.nav-links a {
  font-size: 0.52rem; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  text-decoration: none; transition: color 0.15s;
}
.nav-links a:hover { color: var(--pure); }

.nav-icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: none; border: none;
  color: var(--grey); cursor: pointer;
  transition: color 0.15s, background 0.15s;
  text-decoration: none; position: relative;
  border-radius: var(--r-pill);
}
.nav-icon-btn:hover { color: var(--pure); background: rgba(255,255,255,0.07); }

.cart-count {
  position: absolute; top: 6px; right: 5px;
  background: var(--pure); color: var(--bg);
  font-size: 0.38rem; font-weight: 700;
  width: 14px; height: 14px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s;
}
.cart-count.has-items { opacity: 1; }

.nav-live {
  background: rgba(244,244,244,0.92); color: #0a0a0f;
  padding: 0.45rem 1.1rem; border-radius: var(--r-pill);
  font-size: 0.5rem; letter-spacing: 0.2em;
  text-transform: uppercase; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer; margin-left: 0.6rem; white-space: nowrap;
}
.nav-live:hover { background: #d8d8d8; transform: translateY(-1px); }

/* ══ SEARCH OVERLAY ══ */
.search-overlay {
  position: fixed; inset: 0; z-index: 600;
  background: rgba(15,15,16,0.96);
  backdrop-filter: blur(28px);
  display: flex; align-items: flex-start;
  justify-content: center; padding-top: 120px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.search-overlay.open { opacity: 1; pointer-events: all; }
.search-inner { width: min(640px,90vw); position: relative; }
.search-input {
  width: 100%; background: rgba(255,255,255,0.07);
  border: 1px solid var(--border2);
  border-radius: var(--r-md);
  color: var(--pure); font-family: 'DM Mono', monospace;
  font-size: 1.3rem; font-weight: 300;
  padding: 1rem 3rem 1rem 1.2rem; outline: none;
}
.search-input:focus { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.35); }
.search-input::placeholder { color: rgba(255,255,255,0.28); }
.search-close {
  position: absolute; right: 0.8rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--grey);
  font-size: 1.1rem; cursor: pointer; transition: color 0.15s;
}
.search-close:hover { color: var(--pure); }
.search-hint { font-size: 0.5rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--grey2); margin-top: 1rem; }

/* ══ CART DRAWER ══ */
.cart-backdrop {
  position: fixed; inset: 0; z-index: 690;
  background: rgba(0,0,0,0.6);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.cart-backdrop.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px,100vw); z-index: 700;
  background: rgba(20,20,22,0.97);
  border-left: 1px solid var(--border);
  backdrop-filter: blur(28px);
  box-shadow: -12px 0 60px rgba(0,0,0,0.6);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
  border-radius: var(--r-xl) 0 0 var(--r-xl);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--border);
}
.cart-header-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; letter-spacing: 0.1em; color: var(--pure); }
.cart-close-btn {
  background: rgba(255,255,255,0.08); border: none; color: var(--grey);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.15s; padding: 6px; border-radius: var(--r-pill);
  width: 32px; height: 32px;
}
.cart-close-btn:hover { background: rgba(255,255,255,0.14); color: var(--pure); }

.cart-body { flex: 1; overflow-y: auto; padding: 1.5rem; }
.cart-body::-webkit-scrollbar { width: 2px; }

.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 1rem; color: var(--grey2); text-align: center; }
.cart-empty svg { width: 40px; height: 40px; opacity: 0.3; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.cart-empty p { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; }
.cart-empty a { font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--light); text-decoration: none; border-bottom: 1px solid var(--border); padding-bottom: 2px; transition: color 0.15s; cursor: pointer; }
.cart-empty a:hover { color: var(--pure); }

.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.cart-item-img { width: 72px; height: 72px; object-fit: cover; background: var(--mid); border-radius: var(--r-sm); }
.cart-item-info { display: flex; flex-direction: column; gap: 0.3rem; justify-content: center; }
.cart-item-title { font-size: 0.65rem; letter-spacing: 0.05em; color: var(--white); line-height: 1.4; }
.cart-item-variant { font-size: 0.5rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--grey2); }
.cart-item-price { font-size: 0.65rem; color: var(--light); }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cart-item-remove { background: none; border: none; color: var(--grey2); font-size: 0.55rem; cursor: pointer; transition: color 0.15s; letter-spacing: 0.1em; font-family: 'DM Mono', monospace; }
.cart-item-remove:hover { color: var(--pure); }
.qty-row { display: flex; align-items: center; gap: 0.5rem; }
.qty-btn { background: rgba(255,255,255,0.08); border: 1px solid var(--border); color: var(--grey); width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 0.8rem; transition: all 0.15s; border-radius: var(--r-pill); font-family: 'DM Mono', monospace; }
.qty-btn:hover { background: rgba(255,255,255,0.15); color: var(--pure); }
.qty-val { font-size: 0.6rem; color: var(--white); min-width: 16px; text-align: center; }

.cart-footer { padding: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 1rem; }
.cart-subtotal { display: flex; justify-content: space-between; align-items: center; }
.cart-subtotal-label { font-size: 0.52rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); }
.cart-subtotal-value { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; color: var(--pure); letter-spacing: 0.05em; }
.cart-checkout-btn { display: block; text-align: center; background: var(--pure); color: var(--bg); font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase; text-decoration: none; padding: 1rem; border: none; cursor: pointer; transition: background 0.2s, transform 0.15s; width: 100%; border-radius: var(--r-pill); font-weight: 700; box-shadow: 0 4px 18px rgba(255,255,255,0.15); }
.cart-checkout-btn:hover { background: #e8e8e8; transform: translateY(-1px); }
.cart-shop-link { display: block; text-align: center; font-size: 0.52rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); text-decoration: none; transition: color 0.15s; cursor: pointer; }
.cart-shop-link:hover { color: var(--pure); }

/* ══ PAGE BANNER (sub-pages) ══ */
.page-banner {
  position: relative; min-height: 240px;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end;
  padding: 0 3rem 3rem; margin-top: 62px;
  overflow: hidden;
  background: var(--surface-solid);
  border-bottom: 1px solid var(--border);
}
.page-banner-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 0% 100%, rgba(255,255,255,0.03) 0%, transparent 70%),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 50px);
}
.page-banner-eyebrow { font-size: 0.5rem; letter-spacing: 0.38em; text-transform: uppercase; color: var(--grey2); margin-bottom: 0.7rem; position: relative; z-index: 1; }
.page-banner-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(3.5rem,8vw,7rem); letter-spacing: 0.08em; color: var(--pure); line-height: 0.9; position: relative; z-index: 1; }

/* ══ SHARED SECTION ELEMENTS ══ */
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2rem,4vw,3.5rem); letter-spacing: 0.12em; color: var(--pure); }
.section-header { text-align: center; margin-bottom: 2.5rem; }

.tag-pill { font-family: 'DM Mono', monospace; font-size: 0.5rem; letter-spacing: 0.2em; text-transform: uppercase; border: 1px solid var(--border2); border-radius: var(--r-pill); padding: 0.4rem 1rem; color: var(--grey); background: transparent; cursor: pointer; transition: all 0.15s; }
.tag-pill:hover, .tag-pill.active { color: var(--pure); border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.08); }

/* ══ FOOTER — socials CENTERED, copyright RIGHT ══ */
footer {
  background: rgba(15,15,16,0.95);
  border-top: 1px solid var(--border);
  padding: 1.6rem 2.5rem;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 62px;
}
.footer-socials { display: flex; gap: 1.4rem; align-items: center; }
.footer-socials a { color: var(--grey2); font-size: 1rem; text-decoration: none; transition: color 0.15s; cursor: pointer; }
.footer-socials a:hover { color: var(--pure); }
.footer-copy { position: absolute; right: 2.5rem; font-size: 0.46rem; letter-spacing: 0.14em; color: var(--grey2); white-space: nowrap; }

/* ══ REVEAL ══ */
.reveal { opacity: 1; transform: none; transition: opacity 0.85s, transform 0.85s cubic-bezier(0.16,1,0.3,1); }
.reveal.hidden { opacity: 0; transform: translateY(28px); }
.reveal.hidden.visible { opacity: 1; transform: none; }

/* ══ KEYFRAMES ══ */
@keyframes skelPulse { 0%,100%{opacity:0.2} 50%{opacity:0.45} }
@keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:none} }
@keyframes scrollLine { 0%,100%{opacity:0.3} 50%{opacity:1} }
@keyframes livePulse { 0%,100%{box-shadow:0 0 0 0 rgba(255,255,255,0.35)} 50%{box-shadow:0 0 0 10px rgba(255,255,255,0)} }

@media(max-width:700px){
  nav { padding: 0 1.2rem; }
  .nav-links { display: none; }
  .footer-copy { position: static; margin-left: 1.5rem; }
  footer { justify-content: space-between; }
  .page-banner { padding: 0 1.5rem 2.5rem; }
}


/* ══════════════════════════════════════════════════
   MOBILE / RESPONSIVE — Global
══════════════════════════════════════════════════ */

/* Hamburger button */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
  margin-left: auto;
  order: 10;
}
.nav-burger span {
  display: block; width: 20px; height: 1.5px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  transition: all 0.25s;
}

/* Mobile nav drawer */
.nav-mobile-drawer {
  display: none;
  position: fixed;
  top: 62px; left: 0; right: 0;
  background: rgba(15,15,16,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 490;
}
.nav-mobile-drawer.open { display: flex; }
.nav-mobile-drawer a {
  font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
  text-decoration: none; padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.15s;
}
.nav-mobile-drawer a:hover { color: var(--pure); }
.nav-mobile-drawer a:last-child { border-bottom: none; }

@media (max-width: 768px) {
  /* Hide desktop nav links, show burger */
  .nav-links { display: none !important; }
  .nav-burger { display: flex; }

  /* Hide account icon on mobile to save space */
  .nav-icon-btn[aria-label="Account"] { display: none; }

  /* Watch Live pill — smaller */
  .nav-live { font-size: 0.42rem; padding: 0.4rem 0.8rem; margin-left: 0.3rem; }

  /* Footer responsive */
  footer { padding: 1.2rem 1.2rem; }
  .footer-copy { font-size: 0.4rem; right: 1.2rem; }
  .footer-socials a { font-size: 0.85rem; }

  /* Page banner */
  .page-banner { min-height: 180px; padding: 0 1.2rem 2rem; }
  .page-banner-title { font-size: clamp(2.5rem,10vw,4rem); }
}
