/* ================================================
   NOTFOUND — 404 STREETWEAR
   style.css
================================================ */

/* ── RESET ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── VARIABLES ───────────────────────────────── */
:root {
  --bg:      #181818;
  --bg2:     #1e1e1e;
  --bg3:     #262626;
  --bg4:     #2e2e2e;
  /* cream = cor primária de UI (botões, hovers, active states) */
  --cream:   #E8E4D9;
  --cream2:  #C8C4B8;
  /* neon = detalhes 404 / error (terminal, cursor, error codes) */
  --green:   #E8E4D9;   /* alias → cream (usado por var(--green) no CSS) */
  --neon:    #00ff41;   /* verde 404 — só em detalhes de erro */
  --red:     #FF2020;
  --orange:  #ff6b00;
  --yellow:  #ffe600;
  --white:   #ffffff;
  --gray:    #777777;
  --gray2:   #3a3a3a;
  --border:  #1c1c1c;
  --border2: #282828;
  --font-d:  'Bebas Neue', cursive;
  --font-m:  'Space Mono', monospace;
  --font-o:  'Orbitron', monospace;
  --r:       4px;
  --glow-g:  0 0 24px rgba(232,228,217,.18);
  --glow-r:  0 0 24px rgba(255,32,32,.35);
  --glow-n:  0 0 20px rgba(0,255,65,.3);
  --trans:   .25s cubic-bezier(.4,0,.2,1);
}

/* ── BASE ────────────────────────────────────── */
body {
  background: var(--bg);
  /* grid mais visível — textura de loja */
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  color: var(--white);
  font-family: var(--font-m);
  font-size: 13px;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── CANVAS BACKGROUND ───────────────────────── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: .18;
  pointer-events: none;
}

/* ── SILHUETAS DE ROUPA ANIMADAS ─────────────── */
.bg-fashion {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Estilo base de todos os SVGs de roupa */
.bg-fashion svg {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  width: 100%;
  height: 100%;
}

.bfi {
  position: absolute;
  /* animação e opacidade definidas por item */
}

/* Cream — items principais */
.bfi-1 svg, .bfi-3 svg, .bfi-4 svg,
.bfi-6 svg, .bfi-7 svg, .bfi-9 svg { stroke: rgba(232,220,190,1); }

/* Vermelho — identidade 404 */
.bfi-2 svg, .bfi-5 svg, .bfi-8 svg { stroke: rgba(255,60,60,1); }

/* Branco puro */
.bfi-10 svg { stroke: rgba(255,255,255,.9); }

/* ── Posições e animações individuais ── */

/* 1: Hoodie grande — topo esquerdo */
.bfi-1 {
  width: 300px; top: -50px; left: -40px;
  opacity: .22;
  animation: fi-1 22s ease-in-out infinite;
}

/* 2: Snapback — topo direito */
.bfi-2 {
  width: 180px; top: 65px; right: 45px;
  opacity: .28;
  animation: fi-2 17s ease-in-out infinite;
}

/* 3: T-shirt — inferior esquerdo */
.bfi-3 {
  width: 240px; bottom: 45px; left: 50px;
  opacity: .20;
  animation: fi-3 25s ease-in-out infinite;
}

/* 4: Cabide — topo centro */
.bfi-4 {
  width: 150px; top: 40px; left: 40%;
  opacity: .16;
  animation: fi-4 30s ease-in-out infinite;
}

/* 5: Hoodie pequeno — lado direito */
.bfi-5 {
  width: 220px; top: 30%; right: -30px;
  opacity: .24;
  animation: fi-5 26s ease-in-out infinite;
}

/* 6: Cargo pants — inferior direito */
.bfi-6 {
  width: 230px; bottom: -20px; right: 65px;
  opacity: .20;
  animation: fi-6 32s ease-in-out infinite;
}

/* 7: Beanie — centro esquerdo */
.bfi-7 {
  width: 130px; top: 43%; left: 95px;
  opacity: .18;
  animation: fi-7 20s ease-in-out infinite;
}

/* 8: Jacket — inferior centro */
.bfi-8 {
  width: 210px; bottom: 75px; left: 35%;
  opacity: .22;
  animation: fi-8 28s ease-in-out infinite;
}

/* 9: Cabide extra — centro-esquerdo baixo */
.bfi-9 {
  width: 110px; bottom: 195px; left: 22%;
  opacity: .14;
  animation: fi-9 35s ease-in-out infinite;
}

/* 10: Cap extra — inferior direito centro */
.bfi-10 {
  width: 130px; bottom: 175px; right: 21%;
  opacity: .16;
  animation: fi-10 23s ease-in-out infinite;
}

/* ── Keyframes — cada item flutua de forma independente ── */
@keyframes fi-1 {
  0%,100% { transform: translate(0,0) rotate(-8deg); }
  30%     { transform: translate(18px,28px) rotate(-5deg); }
  60%     { transform: translate(8px,45px) rotate(-10deg); }
}
@keyframes fi-2 {
  0%,100% { transform: translate(0,0) rotate(10deg); }
  40%     { transform: translate(-20px,18px) rotate(13deg); }
  70%     { transform: translate(-8px,30px) rotate(8deg); }
}
@keyframes fi-3 {
  0%,100% { transform: translate(0,0) rotate(8deg); }
  35%     { transform: translate(22px,-25px) rotate(5deg); }
  65%     { transform: translate(10px,-40px) rotate(11deg); }
}
@keyframes fi-4 {
  0%,100% { transform: translate(0,0) rotate(-4deg); }
  50%     { transform: translate(15px,20px) rotate(-2deg); }
}
@keyframes fi-5 {
  0%,100% { transform: translate(0,0) rotate(-14deg); }
  40%     { transform: translate(-25px,30px) rotate(-10deg); }
  75%     { transform: translate(-12px,50px) rotate(-16deg); }
}
@keyframes fi-6 {
  0%,100% { transform: translate(0,0) rotate(-6deg); }
  45%     { transform: translate(-18px,-30px) rotate(-3deg); }
  70%     { transform: translate(-8px,-48px) rotate(-8deg); }
}
@keyframes fi-7 {
  0%,100% { transform: translate(0,0) rotate(6deg); }
  50%     { transform: translate(20px,-15px) rotate(9deg); }
}
@keyframes fi-8 {
  0%,100% { transform: translate(0,0) rotate(4deg); }
  35%     { transform: translate(-15px,-22px) rotate(1deg); }
  65%     { transform: translate(10px,-35px) rotate(6deg); }
}
@keyframes fi-9 {
  0%,100% { transform: translate(0,0) rotate(-6deg); }
  50%     { transform: translate(12px,18px) rotate(-3deg); }
}
@keyframes fi-10 {
  0%,100% { transform: translate(0,0) rotate(12deg); }
  40%     { transform: translate(-14px,-20px) rotate(15deg); }
  70%     { transform: translate(6px,-30px) rotate(10deg); }
}

/* Esconder em mobile — não cabem */
@media (max-width: 600px) {
  .bg-fashion { display: none; }
}

/* ── BLOBS ANIMADOS ──────────────────────────── */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

/* Vermelho principal — topo esquerdo, muito visível */
.blob-red-1 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,32,32,.42) 0%, rgba(255,32,32,.18) 40%, transparent 70%);
  top: -250px;
  left: -180px;
  animation: float-r1 18s ease-in-out infinite;
}

/* Vermelho inferior direito */
.blob-red-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(220,20,20,.32) 0%, rgba(220,20,20,.12) 45%, transparent 70%);
  bottom: -120px;
  right: -100px;
  animation: float-r2 22s ease-in-out infinite;
}

/* Cream/âmbar — centro-direita, quente e convidativo */
.blob-cream {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(232,210,160,.28) 0%, rgba(200,180,120,.10) 50%, transparent 70%);
  top: 28%;
  right: 8%;
  animation: float-c 25s ease-in-out infinite;
}

/* Roxo/índigo — profundidade e contraste */
.blob-dark {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(100,60,180,.30) 0%, rgba(70,30,140,.12) 50%, transparent 70%);
  bottom: 15%;
  left: 18%;
  animation: float-d 30s ease-in-out infinite;
}

@keyframes float-r1 {
  0%,100% { transform: translate(0, 0) scale(1); }
  25%     { transform: translate(80px, 60px) scale(1.08); }
  50%     { transform: translate(40px, 130px) scale(.95); }
  75%     { transform: translate(-30px, 80px) scale(1.04); }
}

@keyframes float-r2 {
  0%,100% { transform: translate(0, 0) scale(1); }
  33%     { transform: translate(-100px, -70px) scale(1.12); }
  66%     { transform: translate(60px, -40px) scale(.92); }
}

@keyframes float-c {
  0%,100% { transform: translate(0, 0) scale(1); }
  40%     { transform: translate(-60px, 80px) scale(1.1); }
  70%     { transform: translate(40px, -50px) scale(.94); }
}

@keyframes float-d {
  0%,100% { transform: translate(0, 0) scale(1); }
  30%     { transform: translate(80px, -60px) scale(1.06); }
  60%     { transform: translate(-40px, 100px) scale(.96); }
}

/* ── LAYOUT ──────────────────────────────────── */
.app { position: relative; z-index: 1; }
.view { display: none; min-height: 100vh; padding-top: 80px; }
.view.active { display: block; }

/* Garantir que os cards/sections têm fundo semi-transparente
   para que os blobs de luz sejam visíveis mas o texto legível */
.products-section,
.cart-wrap,
.checkout-wrap,
.auth-wrap {
  position: relative;
}
.products-section::before,
.cart-wrap::before,
.checkout-wrap::before,
.auth-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(18,18,18,.25);
  pointer-events: none;
  z-index: -1;
}

/* ── NAVBAR ──────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 70px;
  background: rgba(15,15,15,.82);
  backdrop-filter: blur(20px) saturate(120%);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 1000;
}
.nav-logo {
  font-family: var(--font-o);
  font-weight: 900;
  font-size: 1.1rem;
  cursor: pointer;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: .15rem;
  user-select: none;
}
.logo-err  { color: var(--red); font-size: .7em; }
.logo-main { color: var(--white); }
.logo-code { color: var(--green); font-size: .7em; }

.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--font-d);
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: var(--gray);
  transition: color var(--trans);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--cream);
  transition: width var(--trans);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-btn {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .9rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--gray);
  font-family: var(--font-m);
  font-size: .75rem;
  letter-spacing: .5px;
  transition: all var(--trans);
}
.nav-btn:hover { border-color: var(--cream); color: var(--cream); box-shadow: var(--glow-g); }
.cart-trigger { position: relative; }
.cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--red);
  color: #fff;
  font-size: .6rem;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.hamburger { display: none; }

/* ── TERMINAL COLORS ─────────────────────────── */
.t-green  { color: var(--neon); }      /* verde neon — só detalhes 404 */
.t-red    { color: var(--red); }
.t-yellow { color: var(--yellow); }
.t-dim    { color: var(--gray2); }
.t-gray   { color: var(--gray); }

/* ── HERO ────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 4rem 6rem;
  position: relative;
  z-index: 1;
}
.hero-tag {
  font-size: .65rem;
  letter-spacing: 4px;
  color: var(--gray);
  border: 1px solid var(--border2);
  display: inline-block;
  padding: .3rem .8rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.hero-num {
  font-family: var(--font-d);
  font-size: clamp(6rem, 14vw, 13rem);
  line-height: .85;
  color: var(--white);
  position: relative;
  display: inline-block;
}
.hero-sub {
  font-family: var(--font-d);
  font-size: clamp(1.5rem, 4vw, 3.2rem);
  letter-spacing: 4px;
  color: var(--cream);
  margin-bottom: 1.25rem;
}
.hero-desc { color: var(--gray); line-height: 1.9; margin-bottom: 2.5rem; font-size: .82rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── HERO DROP CARD ──────────────────────────── */
.drop-card {
  position: relative;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(22,22,22,.72);
  backdrop-filter: blur(12px) saturate(130%);
  overflow: hidden;
  padding: 2.5rem;
  /* faixa vermelha lateral — detalhe editorial */
  border-left: 3px solid var(--red);
}

/* "404" enorme no background do card */
.drop-watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-d);
  font-size: 14rem;
  line-height: 1;
  color: rgba(255,255,255,.018);
  pointer-events: none;
  user-select: none;
  letter-spacing: -5px;
  white-space: nowrap;
}

.drop-inner { position: relative; z-index: 1; }

.drop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.drop-season {
  font-size: .65rem;
  letter-spacing: 4px;
  color: var(--gray);
  font-family: var(--font-m);
}
.drop-live {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .6rem;
  letter-spacing: 3px;
  color: var(--cream2);
}
.drop-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.drop-title {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 4px;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.drop-rule {
  height: 1px;
  background: var(--border2);
  margin: 1.5rem 0;
}

/* pequeno bloco de código 404 — detalhe técnico no design */
.drop-errblock {
  background: #050505;
  border: 1px solid var(--border);
  padding: .9rem 1.1rem;
}
.drop-code {
  font-family: var(--font-m);
  font-size: .7rem;
  line-height: 1.9;
  color: var(--gray);
  white-space: pre-wrap;
}

.drop-stats {
  display: flex;
  gap: 2rem;
}
.drop-stat { display: flex; flex-direction: column; gap: .2rem; }
.ds-n {
  font-family: var(--font-d);
  font-size: 2rem;
  letter-spacing: 1px;
  color: var(--cream);
  line-height: 1;
}
.ds-l {
  font-size: .6rem;
  letter-spacing: 3px;
  color: var(--gray);
}

/* ── GLITCH ──────────────────────────────────── */
.glitch { animation: glitch 3.5s infinite; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.glitch::before {
  color: var(--red);
  clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%);
  animation: glitch-a 3.5s infinite;
}
.glitch::after {
  color: var(--cream);
  clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
  animation: glitch-b 3.5s infinite;
}
@keyframes glitch {
  0%,90%,100% { transform: none; }
  91%  { transform: translate(-2px, 0) skewX(-1deg); }
  93%  { transform: translate(2px, 0) skewX(1deg); }
  95%  { transform: translate(-1px, 0); }
}
@keyframes glitch-a {
  0%,90%,100% { transform: none; opacity: 0; }
  91%  { transform: translate(-4px, 0); opacity: .8; }
  93%  { transform: translate(4px, 0); opacity: .8; }
  95%  { opacity: 0; }
}
@keyframes glitch-b {
  0%,90%,100% { transform: none; opacity: 0; }
  92%  { transform: translate(4px, 0); opacity: .8; }
  94%  { transform: translate(-4px, 0); opacity: .8; }
  96%  { opacity: 0; }
}

/* ── TERMINAL BOX ────────────────────────────── */
.terminal {
  background: #0a0a0a;
  border: 1px solid var(--border2);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.8);
  position: relative;
}
/* linha de acento vermelho no topo do terminal — detalhe editorial */
.terminal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
}
.terminal-bar {
  background: #1a1a1a;
  padding: .6rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  border-bottom: 1px solid var(--border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.r { background: #ff5f57; }
.dot.y { background: #ffbd2e; }
.dot.g { background: #28ca41; }
.terminal-title { margin-left: .5rem; font-size: .7rem; color: var(--gray); }
.terminal-body {
  padding: 1.5rem;
  font-size: .75rem;
  line-height: 1.8;
  color: #ccc;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ── CURSOR BLINK ────────────────────────────── */
.cur {
  animation: blink 1s step-end infinite;
  color: var(--neon);  /* verde neon — detalhe 404 */
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  font-family: var(--font-d);
  font-size: 1rem;
  letter-spacing: 2px;
  padding: .75rem 1.8rem;
  border-radius: var(--r);
  border: 2px solid transparent;
  transition: all var(--trans);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.btn-primary {
  background: var(--cream);
  color: #000;
  border-color: var(--cream);
  font-weight: 700;
}
.btn-primary:hover {
  background: transparent;
  color: var(--cream);
  box-shadow: var(--glow-g);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--border2);
}
.btn-outline:hover {
  border-color: var(--cream);
  color: var(--cream);
  box-shadow: var(--glow-g);
}
.btn.full { width: 100%; justify-content: center; }
.btn.mt { margin-top: 1.5rem; }

/* ── SECTION ─────────────────────────────────── */
.products-section { padding: 4rem 6rem; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.section-title { font-family: var(--font-d); font-size: 2.2rem; letter-spacing: 3px; color: var(--white); }

/* ── FILTER PILLS ────────────────────────────── */
.filter-wrap { display: flex; gap: .5rem; flex-wrap: wrap; }
.pill {
  font-family: var(--font-m);
  font-size: .7rem;
  letter-spacing: 1px;
  padding: .4rem .9rem;
  border: 1px solid var(--border2);
  border-radius: 2px;
  color: var(--gray);
  transition: all var(--trans);
  background: transparent;
}
.pill:hover, .pill.active {
  border-color: var(--cream);
  color: var(--cream);
  background: rgba(232,228,217,.06);
}

/* ── PRODUCTS GRID ───────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* ── PRODUCT CARD ────────────────────────────── */
.card {
  background: rgba(28,28,28,.88);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r);
  overflow: hidden;
  transition: all var(--trans);
  cursor: pointer;
  position: relative;
  backdrop-filter: blur(8px);
}
.card:hover {
  border-color: rgba(232,228,217,.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(232,228,217,.08);
  background: rgba(26,26,26,.85);
}
.card-img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg4);
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease, filter .4s ease;
  filter: grayscale(30%) contrast(1.05);
}
.card:hover .card-img img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(1.0);
}

/* overlay escuro no canto — detalhe de preço visível */
.card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 50%);
  pointer-events: none;
}
.card-badge {
  position: absolute;
  top: .75rem; left: .75rem;
  font-size: .6rem;
  letter-spacing: 2px;
  padding: .2rem .55rem;
  border-radius: 2px;
  font-weight: 700;
  z-index: 2;
}
.badge-new     { background: var(--green); color: #000; }
.badge-hot     { background: var(--red); color: #fff; }
.badge-limited { background: var(--orange); color: #000; }
.badge-collab  { background: var(--yellow); color: #000; }

.card-body { padding: 1rem; }
.card-err { font-size: .6rem; color: var(--neon); letter-spacing: 3px; margin-bottom: .25rem; opacity: .7; }
.card-name { font-family: var(--font-d); font-size: 1.25rem; letter-spacing: 1px; margin-bottom: .4rem; line-height: 1.15; }
.card-price { color: var(--cream); font-weight: 700; font-size: .95rem; margin-bottom: .8rem; }
.card-add {
  width: 100%;
  font-family: var(--font-d);
  font-size: .9rem;
  letter-spacing: 3px;
  padding: .6rem;
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--gray);
  border-radius: 0;
  transition: all var(--trans);
}
.card-add:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: #000;
}

/* ── AUTH ────────────────────────────────────── */
.auth-wrap {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 4rem 6rem;
}
.auth-visual { padding-right: 2rem; }
.auth-big {
  font-family: var(--font-d);
  font-size: clamp(5rem,12vw,10rem);
  line-height: .9;
  color: var(--white);
  text-shadow: 3px 3px 0 var(--red), -2px -2px 0 rgba(232,228,217,.3);
  animation: glitch 4s infinite;
}
.auth-tag {
  font-family: var(--font-d);
  font-size: 1.6rem;
  letter-spacing: 2px;
  margin: 1rem 0 2rem;
  color: var(--gray);
}
.auth-perks { display: flex; flex-direction: column; gap: .75rem; }
.perk { display: flex; align-items: center; gap: .75rem; color: var(--gray); font-size: .8rem; }
.perk i { color: var(--cream2); width: 16px; text-align: center; }

.auth-box {
  background: rgba(14,14,14,.75);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 0;
  padding: 2.5rem;
  max-width: 440px;
  backdrop-filter: blur(20px);
}
.auth-tabs { display: flex; margin-bottom: 2rem; border-bottom: 1px solid var(--border); }
.auth-tab {
  flex: 1;
  font-family: var(--font-d);
  font-size: 1.1rem;
  letter-spacing: 2px;
  padding: .75rem;
  color: var(--gray2);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--trans);
}
.auth-tab.active { color: var(--cream); border-bottom-color: var(--cream); }
.auth-form.hidden { display: none; }

/* ── FORM ELEMENTS ───────────────────────────── */
.fg { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.fg label {
  font-size: .65rem;
  letter-spacing: 2px;
  color: var(--gray);
}
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg input, .fg select {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--r);
  color: var(--white);
  padding: .65rem .9rem;
  font-size: .8rem;
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
}
.fg input::placeholder { color: var(--gray2); }
.fg input:focus, .fg select:focus {
  border-color: var(--cream2);
  box-shadow: 0 0 0 3px rgba(232,228,217,.08);
}
.fg select { cursor: pointer; }
.fg select option { background: var(--bg3); color: var(--white); }
.iw { position: relative; }
.iw input { width: 100%; padding-right: 2.5rem; }
.eye {
  position: absolute;
  right: .75rem; top: 50%;
  transform: translateY(-50%);
  color: var(--gray2);
  font-size: .8rem;
  transition: color var(--trans);
}
.eye:hover { color: var(--cream); }
.form-err { color: var(--red); font-size: .75rem; margin-bottom: .75rem; min-height: 1em; }
.form-hint { font-size: .75rem; color: var(--gray); margin-top: 1rem; text-align: center; }
.form-hint a { color: var(--cream); }
.form-hint a:hover { text-decoration: underline; }

/* ── CART ────────────────────────────────────── */
.cart-wrap { padding: 2rem 6rem 4rem; }
.page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.back-btn {
  display: flex; align-items: center; gap: .5rem;
  font-size: .75rem; letter-spacing: 1px;
  color: var(--gray); transition: color var(--trans);
}
.back-btn:hover { color: var(--cream); }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; }
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1rem;
  align-items: center;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1rem;
  margin-bottom: 1rem;
  transition: border-color var(--trans);
}
.cart-item:hover { border-color: var(--border2); }
.ci-img { aspect-ratio: 1; border-radius: 4px; overflow: hidden; }
.ci-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); }
.ci-name { font-family: var(--font-d); font-size: 1.1rem; letter-spacing: 1px; }
.ci-meta { font-size: .7rem; color: var(--gray); margin: .2rem 0 .75rem; }
.ci-price { color: var(--cream); font-weight: 700; font-size: .9rem; }
.qty-ctrl { display: flex; align-items: center; gap: .5rem; margin-top: .5rem; }
.qty-btn {
  width: 26px; height: 26px;
  border: 1px solid var(--border2);
  border-radius: 4px;
  color: var(--gray);
  font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--trans);
}
.qty-btn:hover { border-color: var(--cream); color: var(--cream); }
.qty-num { width: 28px; text-align: center; font-weight: 700; }
.ci-remove { color: var(--gray2); font-size: .8rem; transition: color var(--trans); align-self: flex-start; padding: .25rem; }
.ci-remove:hover { color: var(--red); }

.cart-empty { text-align: center; padding: 5rem 2rem; }
.cart-empty-big { font-family: var(--font-d); font-size: 5rem; color: var(--gray2); }
.cart-empty-msg { color: var(--gray); margin: 1rem 0 2rem; }

.cart-summary {
  background: rgba(14,14,14,.75);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 0;
  padding: 1.5rem;
  align-self: start;
  position: sticky;
  top: 90px;
  backdrop-filter: blur(16px);
}
.cs-title { font-family: var(--font-d); font-size: 1.4rem; letter-spacing: 2px; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); padding-bottom: 1rem; }
.cs-row { display: flex; justify-content: space-between; margin-bottom: .75rem; font-size: .8rem; color: var(--gray); }
.cs-row.total { color: var(--white); font-size: 1rem; font-weight: 700; border-top: 1px solid var(--border); padding-top: .75rem; margin-top: .5rem; }
.cs-row.total span:last-child { color: var(--cream); font-size: 1.1rem; }

/* ── CHECKOUT ────────────────────────────────── */
.checkout-wrap { padding: 2rem 6rem 4rem; }
.steps-bar {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.step { display: flex; flex-direction: column; align-items: center; gap: .25rem; opacity: .35; transition: opacity var(--trans); }
.step.active { opacity: 1; }
.step.done { opacity: .7; }
.step-n { font-family: var(--font-o); font-size: 1.2rem; font-weight: 900; color: var(--cream); }
.step-l { font-size: .65rem; letter-spacing: 2px; color: var(--gray); }
.step-sep { flex: 1; height: 1px; background: var(--border2); margin: 0 1rem; }
.step.active .step-sep { background: var(--cream2); }
.checkout-body { max-width: 680px; }
.co-step { display: none; }
.co-step.active { display: block; }
.step-h {
  font-family: var(--font-d);
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.step-h.mt { margin-top: 2rem; }
.mt { margin-top: 1.5rem; }

/* Shipping */
.ship-opts { display: flex; flex-direction: column; gap: .75rem; }
.ship-opt { display: flex; align-items: center; gap: 1rem; cursor: pointer; }
.ship-opt input { display: none; }
.ship-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .9rem 1.1rem;
  border: 1px solid var(--border2);
  border-radius: var(--r);
  transition: all var(--trans);
  font-size: .8rem;
}
.ship-opt input:checked + .ship-info {
  border-color: var(--cream2);
  background: rgba(232,228,217,.04);
}
.ship-tag {
  font-style: normal;
  font-size: .6rem;
  letter-spacing: 1px;
  padding: .15rem .4rem;
  border-radius: 2px;
  background: var(--border2);
  color: var(--gray);
  margin-left: .5rem;
}
.ship-tag.hot { background: var(--red); color: #fff; }
.ship-price { color: var(--cream); font-weight: 700; }

/* Payment tabs */
.pay-tabs { display: flex; gap: .5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.pay-tab {
  font-family: var(--font-m);
  font-size: .7rem;
  letter-spacing: 1px;
  padding: .5rem 1rem;
  border: 1px solid var(--border2);
  border-radius: var(--r);
  color: var(--gray);
  transition: all var(--trans);
  display: flex; align-items: center; gap: .4rem;
}
.pay-tab.active { color: var(--cream); border-color: var(--cream2); background: rgba(232,228,217,.05); }
.pay-tab:hover {
  border-color: var(--cream2);
  color: var(--cream);
}
.pay-panel { display: none; }
.pay-panel.active { display: block; }

/* Credit Card Visual */
.cc-visual {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  border: 1px solid var(--border2);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.6);
}
.cc-visual::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(0,255,65,.05);
}
.cc-visual::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -20px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,0,64,.05);
}
.cc-brand { font-family: var(--font-o); font-weight: 900; font-size: .85rem; display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.cc-err { color: var(--green); font-size: .7rem; }
.cc-chip {
  width: 42px; height: 32px;
  background: linear-gradient(135deg, #d4a853, #f5c842, #d4a853);
  border-radius: 5px;
  margin-bottom: 1.2rem;
  position: relative;
  overflow: hidden;
}
.cc-chip::after {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: rgba(0,0,0,.2);
  transform: translateY(-50%);
}
.cc-num { font-family: var(--font-o); font-size: 1.1rem; letter-spacing: 3px; margin-bottom: 1rem; color: rgba(255,255,255,.9); }
.cc-foot { display: flex; gap: 2rem; align-items: flex-end; }
.cc-lbl { font-size: .55rem; letter-spacing: 2px; color: rgba(255,255,255,.5); display: block; margin-bottom: .2rem; }
.cc-val { font-size: .75rem; font-family: var(--font-o); color: var(--white); }
.cc-net { font-size: 1.8rem; color: rgba(255,255,255,.7); margin-left: auto; }

/* MB WAY */
.pay-info { font-size: .75rem; color: var(--gray); background: var(--bg3); border: 1px solid var(--border); border-radius: var(--r); padding: .75rem 1rem; display: flex; gap: .5rem; margin-top: .5rem; }
.pay-info i { color: var(--cream2); }

/* PayPal */
.paypal-box {
  text-align: center;
  padding: 2.5rem;
  border: 1px dashed var(--border2);
  border-radius: var(--r);
  color: var(--gray);
  font-size: .85rem;
}
.paypal-box i { font-size: 3rem; color: #003087; margin-bottom: 1rem; display: block; }

/* Crypto */
.crypto-coins { display: flex; gap: .5rem; margin-bottom: 1.5rem; }
.coin {
  font-family: var(--font-m);
  font-size: .75rem;
  letter-spacing: 1px;
  padding: .5rem 1rem;
  border: 1px solid var(--border2);
  border-radius: var(--r);
  color: var(--gray);
  transition: all var(--trans);
  display: flex; align-items: center; gap: .4rem;
}
.coin.active, .coin:hover { border-color: var(--orange); color: var(--orange); background: rgba(255,107,0,.06); }
.addr-box {
  display: flex;
  align-items: center;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--r);
  padding: .65rem .9rem;
  gap: .5rem;
}
.addr-box code { flex: 1; font-size: .7rem; color: var(--neon); word-break: break-all; }
.addr-box button { color: var(--gray); transition: color var(--trans); flex-shrink: 0; }
.addr-box button:hover { color: var(--cream); }

/* Order mini summary */
.order-mini {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.2rem;
  margin: 1.5rem 0;
}
.om-title { font-family: var(--font-d); letter-spacing: 2px; font-size: 1rem; margin-bottom: 1rem; color: var(--gray); }
.om-row { display: flex; justify-content: space-between; font-size: .75rem; color: var(--gray); margin-bottom: .5rem; }
.om-row.total { color: var(--white); font-weight: 700; border-top: 1px solid var(--border); padding-top: .5rem; margin-top: .25rem; }
.om-row.total span:last-child { color: var(--cream); }

.co-actions { display: flex; gap: 1rem; justify-content: flex-end; margin-top: 1rem; }

/* Processing */
.processing { text-align: center; padding: 5rem 2rem; }
.proc-spin {
  font-family: var(--font-o);
  font-size: 4rem;
  color: var(--cream);
  animation: spin-pulse 1.5s ease-in-out infinite;
  display: inline-block;
  margin-bottom: 1.5rem;
}
@keyframes spin-pulse {
  0%, 100% { opacity: 1; transform: scale(1); text-shadow: 0 0 30px rgba(232,228,217,.4); }
  50% { opacity: .4; transform: scale(.95); text-shadow: none; }
}
.proc-txt { font-family: var(--font-d); font-size: 1.4rem; letter-spacing: 3px; color: var(--gray); }

/* ── SUCCESS ─────────────────────────────────── */
.success-wrap { min-height: calc(100vh - 70px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 4rem 2rem; }
.success-icon { font-size: 5rem; color: var(--cream); margin-bottom: 1rem; animation: pop .5s ease; }
@keyframes pop { 0%{transform:scale(0)} 80%{transform:scale(1.1)} 100%{transform:scale(1)} }
.success-status { font-family: var(--font-o); font-size: .85rem; color: var(--cream); letter-spacing: 3px; margin-bottom: .5rem; }
.success-h { font-family: var(--font-d); font-size: 3rem; letter-spacing: 4px; margin-bottom: 1rem; }
.success-p { color: var(--gray); font-size: .85rem; line-height: 1.8; margin-bottom: 1.5rem; }
.order-ref { font-family: var(--font-o); font-size: .8rem; color: var(--cream); letter-spacing: 2px; background: rgba(232,228,217,.05); border: 1px solid rgba(232,228,217,.2); padding: .5rem 1.2rem; border-radius: 0; margin-bottom: 2rem; }

/* ── MODAL ───────────────────────────────────── */
.modal-bg {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-bg.open { display: flex; }
.modal-box {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 12px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slide-up .3s ease;
}
@keyframes slide-up { from{transform:translateY(20px);opacity:0} to{transform:translateY(0);opacity:1} }
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  border: 1px solid var(--border2);
  border-radius: 50%;
  color: var(--gray);
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
  transition: all var(--trans);
}
.modal-close:hover { border-color: var(--cream2); color: var(--cream); }

/* Modal inner layout */
.modal-layout { display: grid; grid-template-columns: 1fr 1fr; }
.modal-img { aspect-ratio: 4/5; overflow: hidden; border-radius: 12px 0 0 12px; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { padding: 2rem; }
.modal-err-code { font-size: .65rem; letter-spacing: 2px; color: var(--gray2); margin-bottom: .4rem; }
.modal-name { font-family: var(--font-d); font-size: 2rem; letter-spacing: 2px; line-height: 1.1; margin-bottom: .5rem; }
.modal-price { color: var(--cream); font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.modal-desc { color: var(--gray); font-size: .75rem; line-height: 1.8; margin-bottom: 1.5rem; }
.modal-size-label { font-size: .65rem; letter-spacing: 2px; color: var(--gray); margin-bottom: .6rem; }
.size-grid { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.size-btn {
  font-family: var(--font-m);
  font-size: .7rem;
  padding: .4rem .7rem;
  border: 1px solid var(--border2);
  border-radius: 4px;
  color: var(--gray);
  transition: all var(--trans);
}
.size-btn:hover, .size-btn.active {
  border-color: var(--cream);
  color: var(--cream);
  background: rgba(232,228,217,.07);
}

/* ── TOAST ───────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--cream);
  border: none;
  border-radius: 0;
  padding: .65rem 1.6rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .75rem;
  font-family: var(--font-d);
  letter-spacing: 2px;
  color: #000;
  z-index: 3000;
  box-shadow: 0 8px 30px rgba(0,0,0,.5);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast-ic { color: #000; }

/* ── FOOTER ──────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg2);
  padding: 4rem 6rem 2rem;
  position: relative;
  z-index: 1;
}
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; margin-bottom: 3rem; }
.footer-brand p { color: var(--gray); font-size: .8rem; line-height: 1.8; margin-bottom: 1.5rem; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.fc h4 { font-family: var(--font-d); font-size: 1rem; letter-spacing: 2px; color: var(--white); margin-bottom: 1rem; }
.fc ul li { margin-bottom: .6rem; }
.fc ul a { color: var(--gray); font-size: .75rem; transition: color var(--trans); }
.fc ul a:hover { color: var(--cream); }
.socials { display: flex; gap: .75rem; margin-top: 1rem; }
.soc {
  width: 36px; height: 36px;
  border: 1px solid var(--border2);
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray);
  font-size: .85rem;
  transition: all var(--trans);
}
.soc:hover { border-color: var(--cream2); color: var(--cream); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .7rem;
  color: var(--gray2);
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-err { letter-spacing: 2px; }

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

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1100px) {
  .hero, .auth-wrap { padding: 3rem 3rem; }
  .products-section, .cart-wrap, .checkout-wrap, .footer { padding-left: 3rem; padding-right: 3rem; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { grid-template-columns: 1fr; padding: 2rem; }
  .hero-right { display: block; }
  .drop-card { margin-top: 2rem; }
  .drop-watermark { font-size: 8rem; }
  .auth-wrap { grid-template-columns: 1fr; padding: 2rem; }
  .auth-visual { display: none; }
  .auth-box { max-width: 100%; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .modal-layout { grid-template-columns: 1fr; }
  .modal-img { border-radius: 12px 12px 0 0; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
  .hero, .products-section, .cart-wrap, .checkout-wrap, .footer { padding-left: 1rem; padding-right: 1rem; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
  .fg-row { grid-template-columns: 1fr; }
  .co-actions { flex-direction: column; }
  .steps-bar { gap: .5rem; }
  .step-l { display: none; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; }
}

/* Nav mobile open */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(8,8,8,.97);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
  gap: 1rem;
  z-index: 999;
}
