/* ==========================================================================
   KRNM // DESIGN SYSTEM & STYLESHEET
   Aesthetic: Luxury Brutalist Streetwear (Awwwards / Nike Lab / Off-White)
   ========================================================================== */

:root {
  /* Core Color Palette */
  --bg-deep: #050505;
  --bg-pure-black: #000000;
  --bg-card: #0d0d0f;
  --bg-card-hover: #141417;
  --bg-surface: #17171b;
  --bg-graphite: #1f1f24;

  /* Typography Colors */
  --text-white: #ffffff;
  --text-dim: #a1a1a6;
  --text-muted: #5c5c63;
  --text-disabled: #3a3a40;

  /* Accent & Technical Colors */
  --accent-white: #ffffff;
  --glitch-cyan: #00f0ff;
  --glitch-magenta: #ff0055;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(255, 255, 255, 0.25);
  --border-highlight: rgba(255, 255, 255, 0.6);

  /* Fonts */
  --font-gothic: 'UnifrakturMaguntia', 'Grenze Gotisch', cursive, serif;
  --font-display: 'JetBrains Mono', monospace;
  --font-sans: 'JetBrains Mono', monospace;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout & Transitions */
  --nav-height: 88px;
  --container-max: 1400px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-smooth: cubic-bezier(0.65, 0, 0.35, 1);
}

/* --------------------------------------------------------------------------
   RESET & GLOBAL SETUP
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-white);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-white);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Selection Color */
::selection {
  background-color: var(--text-white);
  color: var(--bg-pure-black);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-pure-black);
}
::-webkit-scrollbar-thumb {
  background: #2a2a30;
  border-radius: 0px;
}
::-webkit-scrollbar-thumb:hover {
  background: #4a4a55;
}

/* --------------------------------------------------------------------------
   TACTILE NOISE TEXTURE OVERLAY
   -------------------------------------------------------------------------- */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}


/* --------------------------------------------------------------------------
   1. NAVBAR
   -------------------------------------------------------------------------- */
.navbar-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(5, 5, 5, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: transform 0.3s ease, background 0.3s ease;
}

.navbar-container {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo on Left */
.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 16px;
}

.brand-logo {
  height: 56px;
  max-height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.25));
  transition: transform 0.3s var(--ease-out-expo), filter 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.45));
}

.brand-name {
  font-family: var(--font-gothic);
  font-size: 2.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-white);
  line-height: 1;
  text-transform: none;
}

/* Typography Fallback if logo.png is loading or replaced */
.logo-fallback {
  display: none;
  font-family: var(--font-gothic);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-white);
  text-transform: none;
}
.logo-fallback .logo-dot {
  color: var(--glitch-magenta);
}

/* Nav Menu */
.navbar-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--text-dim);
  text-transform: uppercase;
  transition: color 0.25s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.nav-link .nav-bracket {
  opacity: 0.25;
  transition: opacity 0.2s ease, transform 0.2s var(--ease-out-expo);
}

.nav-link:hover {
  color: var(--text-white);
}

.nav-link:hover .nav-bracket {
  opacity: 1;
  color: var(--text-white);
}

.nav-link:hover .nav-bracket:first-child {
  transform: translateX(-2px);
}
.nav-link:hover .nav-bracket:last-child {
  transform: translateX(2px);
}

.nav-link.highlight {
  color: var(--text-white);
}
.nav-link.highlight .nav-bracket {
  opacity: 0.8;
}

/* Actions & Cart Trigger */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-trigger {
  background: transparent;
  border: 1px solid var(--border-subtle);
  padding: 8px 18px;
  color: var(--text-white);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.cart-trigger::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--text-white);
  transition: transform 0.3s var(--ease-out-expo);
  z-index: 0;
}

.cart-trigger:hover {
  border-color: var(--text-white);
  color: var(--bg-pure-black);
}

.cart-trigger:hover::before {
  transform: translateX(100%);
}

.cart-trigger span {
  position: relative;
  z-index: 1;
}

.cart-badge {
  color: var(--text-muted);
  transition: color 0.25s ease;
}
.cart-trigger:hover .cart-badge {
  color: var(--bg-pure-black);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px 0;
}

.toggle-bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Drawer Overlay */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #08080a;
  z-index: 2000;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease-out-expo);
}

.mobile-menu-drawer.is-open {
  transform: translateY(0);
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 20px;
}

.mobile-brand {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.mobile-close {
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 2.2rem;
  line-height: 1;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-item {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-white);
  letter-spacing: -0.02em;
  transition: color 0.2s ease, transform 0.2s ease;
  display: block;
}

.mobile-nav-item:hover {
  color: var(--glitch-cyan);
  transform: translateX(8px);
}

.mobile-drawer-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .navbar-wrapper {
    height: 78px;
  }
  .navbar-container {
    padding: 0 20px;
  }
  .brand-logo {
    height: 48px;
  }
  .brand-name {
    font-size: 1.55rem;
  }
  .navbar-menu {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
}

@media (max-width: 480px) {
  .hero-slogan {
    font-size: clamp(1.85rem, 8.2vw, 2.4rem);
  }
  .brand-logo {
    height: 42px;
  }
  .brand-name {
    font-size: 1.35rem;
  }
}

/* --------------------------------------------------------------------------
   2. HERO SECTION (100VH / 100DVH)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--nav-height));
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-deep);
}

/* --------------------------------------------------------------------------
   HERO BACKGROUND VIDEO (PLAYLIST WITH SUBTLE BLUR)
   -------------------------------------------------------------------------- */
.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1.06);
  filter: blur(3.5px);
  opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.hero-bg-video.active {
  opacity: 1;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(5, 5, 5, 0.35) 0%, rgba(5, 5, 5, 0.72) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Slogan Centered in Viewport */
.hero-center-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  margin: 0 auto;
  user-select: none;
  box-sizing: border-box;
}

/* Slogan Heading */
.slogan-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-slogan {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: clamp(3.5rem, 9.5vw, 7.8rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--text-white);
  text-transform: uppercase;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 0, 0, 0.8);
  position: relative;
  display: inline-block;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Slogan Subtext */
.slogan-sub {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fashion-sub {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
}

.scroll-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.scroll-link:hover {
  color: var(--text-white);
}

.scroll-text {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.scroll-track {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.scroll-thumb {
  width: 100%;
  height: 18px;
  background: var(--text-white);
  position: absolute;
  top: -18px;
  left: 0;
  animation: scrollDownThumb 2s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes scrollDownThumb {
  0% {
    top: -18px;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  80% {
    top: 48px;
    opacity: 0;
  }
  100% {
    top: 48px;
    opacity: 0;
  }
}

.scroll-geo {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--text-disabled);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --------------------------------------------------------------------------
   3. TEASER DROP SECTION ("FUTURE DROP // 2028")
   -------------------------------------------------------------------------- */
.drop-section {
  position: relative;
  padding: 120px 0 140px;
  background-color: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  overflow: hidden;
}

.drop-header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px 60px;
}

.drop-tag-line {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.tag-bracket {
  color: var(--text-disabled);
}
.tag-status {
  color: #ff3344;
  font-weight: 600;
}
.tag-batch {
  color: var(--text-dim);
}

.drop-main-title {
  font-family: 'Playfair Display', 'Times New Roman', 'Cambria Math', serif;
  font-style: italic;
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-white);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.title-slash {
  color: var(--text-muted);
  font-weight: 300;
  font-style: normal;
  margin: 0 4px;
}

.title-date {
  color: var(--text-white);
  font-style: italic;
}

.drop-sub-grid {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}

.drop-metadata-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  min-width: 320px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
}

.meta-row strong {
  color: var(--text-dim);
}

@media (max-width: 860px) {
  .drop-sub-grid {
    justify-content: stretch;
  }
  .drop-metadata-box {
    width: 100%;
    min-width: 0;
  }
}

/* --------------------------------------------------------------------------
   DYNAMIC WORK IN PROGRESS MARQUEE RIBBONS
   Industrial caution aesthetic, infinite 60fps ticker
   -------------------------------------------------------------------------- */
.grid-stage-wrapper {
  position: relative;
  max-width: var(--container-max);
  margin: 40px auto 60px;
  min-height: 420px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.85);
}

.wip-stage-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 32px 24px;
  background: rgba(5, 5, 5, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  max-width: 620px;
  width: 90%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.wip-lock-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.wip-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--text-dim);
}

.wip-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-white);
  line-height: 1.1;
}

.wip-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.wip-ticker-ribbon {
  position: absolute;
  width: 140%;
  left: -20%;
  z-index: 25;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  white-space: nowrap;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.85);
}

.ribbon-slant-left {
  top: 24%;
  transform: rotate(-3.5deg);
  background: var(--text-white);
  color: var(--bg-pure-black);
  padding: 16px 0;
  border-top: 2px solid var(--bg-pure-black);
  border-bottom: 2px solid var(--bg-pure-black);
}

.ribbon-slant-right {
  top: 62%;
  transform: rotate(3deg);
  background: rgba(10, 10, 12, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  padding: 16px 0;
}

.ticker-inner {
  display: flex;
  gap: 36px;
  animation: marqueeLoop 24s linear infinite;
  will-change: transform;
}

.ticker-inner.reverse-direction {
  animation: marqueeReverse 28s linear infinite;
}

@keyframes marqueeLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeReverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.wip-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wip-text.outline {
  color: transparent;
  -webkit-text-stroke: 1px #ffffff;
}

/* --------------------------------------------------------------------------
   PRODUCTS GRID & HEAVY CENSORSHIP BLUR EFFECT
   filter: blur(28px) grayscale(100%)
   -------------------------------------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 10;
}

@media (max-width: 1080px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.3s ease, box-shadow 0.4s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.card-inner {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Techwear Corner Brackets */
.card-corner {
  position: absolute;
  width: 8px;
  height: 8px;
  z-index: 15;
  pointer-events: none;
}
.corner-tl {
  top: 10px;
  left: 10px;
  border-top: 2px solid rgba(255, 255, 255, 0.5);
  border-left: 2px solid rgba(255, 255, 255, 0.5);
}
.corner-br {
  bottom: 10px;
  right: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  border-right: 2px solid rgba(255, 255, 255, 0.5);
}
.corner-tr {
  top: 10px;
  right: 10px;
  border-top: 2px solid rgba(255, 255, 255, 0.5);
  border-right: 2px solid rgba(255, 255, 255, 0.5);
}
.corner-bl {
  bottom: 10px;
  left: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  border-left: 2px solid rgba(255, 255, 255, 0.5);
}

/* Censored Image Container */
.image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #09090b;
}

.censored-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* HEAVY CENSORSHIP & BLUR AS REQUIRED */
  filter: blur(28px) grayscale(100%) brightness(0.65) contrast(1.2);
  transform: scale(1.15); /* avoid blur edge borders */
  transition: filter 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
  will-change: filter, transform;
}

.product-card:hover .censored-image {
  transform: scale(1.22);
  filter: blur(24px) grayscale(100%) brightness(0.85) contrast(1.25);
}

/* Censorship Overlay Badge */
.censorship-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 12;
  pointer-events: none;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.censor-box {
  background: rgba(0, 0, 0, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.censor-stamp {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--text-white);
  display: block;
}

.censor-scanline {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: scanlineSweep 2.5s infinite;
}

@keyframes scanlineSweep {
  0% { transform: translateX(0); }
  100% { transform: translateX(200%); }
}

/* Card Details Typography */
.card-details {
  padding: 22px 24px 20px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-card);
  position: relative;
  z-index: 14;
}

.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.item-index {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.item-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  background: var(--bg-surface);
  padding: 2px 6px;
  border: 1px solid var(--border-subtle);
}

.item-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-white);
  margin-bottom: 4px;
}

.item-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.card-footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed var(--border-subtle);
  padding-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.status-locked {
  letter-spacing: 0.12em;
  color: #ff4d4d;
}

.lock-icon {
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   EARLY ACCESS NEWSLETTER BOX
   -------------------------------------------------------------------------- */
.early-access-wrapper {
  max-width: var(--container-max);
  margin: 60px auto 0;
  padding: 0 32px;
  position: relative;
  z-index: 30;
}

.early-access-card {
  position: relative;
  background: #09090c;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 64px 48px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.access-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.access-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.access-label-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.access-badge {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-white);
}

.access-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-white);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.access-description {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 36px;
}

/* Form Controls */
.access-form {
  margin-bottom: 24px;
}

.form-control-wrap {
  display: flex;
  align-items: stretch;
  gap: 0px;
  background: #111115;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-control-wrap:focus-within {
  border-color: var(--text-white);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.12);
}

.access-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 20px 24px;
  color: var(--text-white);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  outline: none;
}

.access-input::placeholder {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.access-submit-btn {
  background: var(--text-white);
  color: var(--bg-pure-black);
  border: none;
  padding: 0 36px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  transition: background-color 0.25s ease, transform 0.2s ease, color 0.25s ease;
  white-space: nowrap;
}

.access-submit-btn:hover {
  background: #e6e6e6;
  color: #000000;
}

.btn-arrow {
  font-size: 1.2rem;
  transition: transform 0.2s var(--ease-out-expo);
}

.access-submit-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Feedback Messages */
.form-feedback-message {
  min-height: 28px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-feedback-message.success {
  color: #00ff88;
}
.form-feedback-message.error {
  color: #ff3355;
}

.access-footnote {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--text-disabled);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 768px) {
  .early-access-card {
    padding: 36px 24px;
  }
  .form-control-wrap {
    flex-direction: column;
  }
  .access-submit-btn {
    padding: 18px 24px;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   4. FOOTER
   -------------------------------------------------------------------------- */
.footer-wrapper {
  background-color: var(--bg-pure-black);
  border-top: 1px solid var(--border-subtle);
  padding: 100px 0 40px;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border-subtle);
}

@media (max-width: 1024px) {
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Brand Column */
.footer-logo-wrap {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-white);
}

.footer-slogan-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.footer-manifesto {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 380px;
  margin-bottom: 28px;
}

.footer-coords-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.coord-city {
  color: var(--text-muted);
}
.coord-value {
  color: var(--text-white);
  margin-left: 6px;
}

/* Link Columns */
.col-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-link:hover {
  color: var(--text-white);
  transform: translateX(4px);
}

/* Technical Column & Barcode */
.tech-spec-box {
  background: #09090b;
  border: 1px solid var(--border-subtle);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.barcode-graphic {
  display: flex;
  align-items: stretch;
  height: 38px;
  gap: 3px;
  margin: 14px 0 8px;
}

.barcode-graphic .bar {
  background-color: var(--text-white);
  opacity: 0.85;
}
.bar.b1 { width: 2px; }
.bar.b2 { width: 4px; }
.bar.b3 { width: 6px; }
.bar.b4 { width: 1px; }
.bar.b5 { width: 5px; }

.barcode-number {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--text-dim);
  text-align: center;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 36px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 18px;
}

.footer-sub-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sub-link {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sub-link:hover {
  color: var(--text-white);
}

.sep {
  color: var(--text-disabled);
}

/* --------------------------------------------------------------------------
   CART DRAWER MODAL
   -------------------------------------------------------------------------- */
.cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  visibility: hidden;
  transition: visibility 0.4s ease;
}

.cart-drawer.is-open {
  visibility: visible;
}

.cart-drawer-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cart-drawer.is-open .cart-drawer-backdrop {
  opacity: 1;
}

.cart-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #09090b;
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 32px;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-out-expo);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
}

.cart-drawer.is-open .cart-drawer-panel {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 24px;
}

.cart-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

.cart-count {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: 10px;
}

.cart-close-btn {
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 2rem;
  line-height: 1;
}

.cart-empty-state {
  text-align: center;
  padding: 40px 10px;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 18px;
}

.empty-headline {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-white);
  margin-bottom: 12px;
}

.empty-text {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 28px;
}

.empty-action-btn {
  display: inline-block;
  background: var(--text-white);
  color: var(--bg-pure-black);
  padding: 14px 24px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.empty-action-btn:hover {
  background: #e6e6e6;
}

.cart-drawer-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
}

.cart-summary-line strong {
  color: var(--text-white);
}

/* --------------------------------------------------------------------------
   DEVELOPER CREDIT ("Developed By Paolino" with bright blue link)
   -------------------------------------------------------------------------- */
.dev-author-link {
  color: #2979ff !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.dev-author-link:hover {
  color: #60a5fa !important;
  opacity: 0.9;
}

.social-developer-credit {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-developer-credit {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   COOKIE CONSENT BANNER (NEW VISITORS ONLY)
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 99990;
  pointer-events: auto;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner-container {
  max-width: var(--container-max);
  margin: 0 auto 20px;
  padding: 20px 28px;
  background: rgba(10, 10, 12, 0.96);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid #2979ff;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.85);
}

.cookie-text-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 820px;
}

.cookie-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: #2979ff;
  font-weight: 700;
}

.cookie-description {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-dim);
}

.cookie-link {
  color: var(--text-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.cookie-link:hover {
  color: #2979ff;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cookie-accept-btn {
  background: var(--text-white);
  color: var(--bg-pure-black);
}

.cookie-accept-btn:hover {
  background: #e2e2e5;
  transform: translateY(-2px);
}

.cookie-reject-btn {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border-subtle);
}

.cookie-reject-btn:hover {
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .cookie-banner-container {
    margin: 0 12px 12px;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
  }
  .cookie-actions {
    width: 100%;
    flex-direction: column;
  }
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
}

