:root {
  --lime: #cf0;
  --lime-dim: #7a9900;
  --lime-glow: rgba(204, 255, 0, 0.15);
  --lime-glow-strong: rgba(204, 255, 0, 0.3);
  --bg: #060a04;
  --bg2: #0b1008;
  --surface: rgba(204, 255, 0, 0.04);
  --glass: rgba(204, 255, 0, 0.06);
  --glass-border: rgba(204, 255, 0, 0.12);
  --glass-border-hover: rgba(204, 255, 0, 0.25);
  --text: #e8eed6;
  --text-dim: #8a9070;
  --font: "Space Grotesk", system-ui, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--lime);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.3s ease;
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--lime);
  color: var(--bg);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.25s, transform 0.15s;
  letter-spacing: -0.01em;
}

.btn:hover {
  background: #b8e600;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn--sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn--full {
  width: 100%;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  transition: background 0.3s, backdrop-filter 0.3s, -webkit-backdrop-filter 0.3s;
}

.nav--scrolled {
  background: rgba(6, 10, 4, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
}

.nav__logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: -0.03em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--text);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: background 0.2s;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.hero__img-wrap {
  position: absolute;
  inset: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero__fade {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to bottom, rgba(6, 10, 4, 0.3) 0, transparent 30%, transparent 50%, var(--bg) 100%),
    linear-gradient(to right, rgba(6, 10, 4, 0.4) 0, transparent 20%, transparent 80%, rgba(6, 10, 4, 0.4) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px 80px;
  width: 100%;
}

/* Live Counter Pill & Floating Widget */
.live-counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  margin-bottom: 22px;
  background: rgba(6, 10, 4, 0.75);
  border: 1px solid rgba(204, 255, 0, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(204, 255, 0, 0.08);
  font-family: var(--font);
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  transition: all 0.3s ease;
  user-select: none;
}

.live-counter-pill:hover {
  border-color: rgba(204, 255, 0, 0.55);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.5), 0 0 25px rgba(204, 255, 0, 0.18);
  transform: translateY(-2px);
}

.live-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 10px #00ff88;
  flex-shrink: 0;
}

.live-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(0, 255, 136, 0.5);
  animation: live-dot-pulse 2s infinite ease-out;
}

@keyframes live-dot-pulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(2.6); opacity: 0; }
}

.live-counter-text {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-dim);
}

.live-counter-num {
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  transition: color 0.35s ease, transform 0.25s ease;
  display: inline-block;
}

.live-counter-num.tick-up {
  color: #00ff88 !important;
  transform: scale(1.12);
  text-shadow: 0 0 14px rgba(0, 255, 136, 0.6);
}

.live-counter-desc {
  color: var(--text);
  opacity: 0.9;
  font-weight: 500;
}

/* Floating Bottom Live Widget */
.floating-live-widget {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(11, 16, 8, 0.88);
  border: 1px solid rgba(204, 255, 0, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 16px rgba(204, 255, 0, 0.08);
  font-family: var(--font);
  font-size: 0.84rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.3s;
  pointer-events: none;
  user-select: none;
}

.floating-live-widget.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-live-widget:hover {
  border-color: rgba(204, 255, 0, 0.5);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.7), 0 0 22px rgba(204, 255, 0, 0.16);
}

.floating-live-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

.floating-live-num {
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  transition: color 0.35s ease, transform 0.25s ease;
  display: inline-block;
}

.floating-live-num.tick-up {
  color: #00ff88 !important;
  transform: scale(1.1);
  text-shadow: 0 0 12px rgba(0, 255, 136, 0.6);
}

.floating-live-txt {
  color: var(--text-dim);
  font-weight: 500;
}

@media (max-width: 600px) {
  .live-counter-pill {
    padding: 6px 14px;
    font-size: 0.8rem;
    margin-bottom: 16px;
    gap: 8px;
  }
  .floating-live-widget {
    bottom: 16px;
    left: 16px;
    padding: 6px 14px;
    font-size: 0.78rem;
  }
}

.hero__title {
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 0 0 80px rgba(204, 255, 0, 0.3);
}

.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: hsla(80, 27%, 89%, 0.85);
  margin-bottom: 32px;
  font-weight: 400;
}

.section {
  padding: 100px 0;
}

.section__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 12px;
}

.section__sub {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 48px;
}

.story {
  background: linear-gradient(180deg, var(--bg) 0, var(--bg2) 100%);
}

.story__grid {
  display: grid;
  gap: 20px;
}

.story__card {
  padding: 32px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s ease, 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.story__card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(204, 255, 0, 0.1);
}

.story__card p {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.75;
}

.sneaks {
  background: var(--bg2);
}

.sneaks__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sneaks__item {
  padding: 10px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s ease, 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sneaks__item:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(204, 255, 0, 0.45);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(204, 255, 0, 0.22);
}

.sneaks__item img {
  border-radius: var(--radius-sm);
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  transform: translateZ(0);
}

.sneaks__item:hover img {
  transform: scale(1.06);
}

.details {
  background: linear-gradient(180deg, var(--bg2) 0, var(--bg) 100%);
}

.details__table {
  max-width: 560px;
  margin: 0 auto;
  padding: 8px 0;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s ease, 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.details__table:hover {
  border-color: rgba(204, 255, 0, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(204, 255, 0, 0.1);
}

.details__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.25s ease, padding 0.25s ease;
}

.details__row:hover {
  background: rgba(204, 255, 0, 0.05);
}

.details__row:last-child {
  border-bottom: none;
}

.details__key {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.details__val {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.footer {
  border-top: 1px solid var(--glass-border);
  padding: 28px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--lime);
  letter-spacing: -0.02em;
}

.footer__x {
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer__x:hover {
  color: var(--lime);
}

/* Modal Overlay & Card */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.2s ease;
}

.modal {
  width: 100%;
  max-width: 440px;
  padding: 36px 32px 28px;
  position: relative;
  animation: slideUp 0.3s ease;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.modal__close:hover,
.modal__title {
  color: var(--text);
}

.modal__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.modal__step {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal__desc {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

.modal__desc strong {
  color: var(--lime);
}

.modal__error {
  color: #ff6b6b;
  font-size: 0.85rem;
}

.modal__postlink {
  display: inline-block;
  color: var(--lime);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 0;
  transition: opacity 0.2s;
}

.modal__postlink:hover {
  opacity: 0.75;
}

.modal__verified,
.modal__verify {
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
}

.modal__verify {
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--glass-border);
}

.modal__verified {
  color: var(--lime);
  background: rgba(204, 255, 0, 0.08);
  border: 1px solid rgba(204, 255, 0, 0.2);
}

.modal__step--done {
  align-items: center;
  text-align: center;
  padding: 20px 0;
}

.modal__check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(204, 255, 0, 0.1);
  border: 2px solid var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--lime);
  font-weight: 700;
  margin-bottom: 12px;
}

.modal__progress {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.modal__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(204, 255, 0, 0.15);
  transition: background 0.3s;
}

.modal__dot--active {
  background: var(--lime);
}

.input-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
}

.input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(204, 255, 0, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.input::placeholder {
  color: var(--text-dim);
  opacity: 0.5;
}

.input:focus {
  border-color: var(--lime);
}

.dots:after {
  content: "";
  animation: dots 1.4s steps(4) infinite;
}

@keyframes dots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75% { content: "..."; }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  0% { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 20px 28px;
    gap: 20px;
    background: rgba(6, 10, 4, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-border);
  }
  .nav__links--open {
    display: flex;
  }
  .hero {
    min-height: 90vh;
    align-items: center;
  }
  .hero__img {
    object-position: center 50%;
  }
  .hero__content {
    padding: 120px 24px 0;
  }
  .hero__fade {
    background: 
      linear-gradient(to bottom, rgba(6, 10, 4, 0.15) 0, rgba(6, 10, 4, 0.45) 40%, rgba(6, 10, 4, 0.75) 70%, var(--bg) 100%),
      linear-gradient(to right, rgba(6, 10, 4, 0.2) 0, transparent 30%, transparent 70%, rgba(6, 10, 4, 0.2) 100%);
  }
  .section {
    padding: 64px 0;
  }
  .sneaks__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .story__card {
    padding: 24px;
  }
  .details__row {
    padding: 14px 20px;
  }
  .modal {
    padding: 28px 24px 22px;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 14px 20px;
  }
  .hero {
    min-height: 80vh;
  }
  .hero__img {
    object-position: center 45%;
  }
  .hero__content {
    padding: 100px 20px 0;
  }
  .hero__title {
    text-shadow: 0 0 40px rgba(204, 255, 0, 0.25);
  }
  .hero__sub {
    font-size: 0.95rem;
  }
  .section__title {
    margin-bottom: 8px;
  }
  .sneaks__grid {
    gap: 10px;
  }
  .sneaks__item {
    padding: 6px;
  }
  .footer__inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================================================
   Modern Scroll-Triggered Animations & Micro-Interactions
   ========================================================================== */

/* Hero Entrance Sequence */
@keyframes heroEntrance {
  0% {
    opacity: 0;
    transform: translate3d(0, 36px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroImgDrift {
  0% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

.hero__img {
  animation: heroImgDrift 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__content > * {
  animation: heroEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__content .live-counter-pill {
  animation-delay: 0.1s;
}

.hero__content .hero__title {
  animation-delay: 0.25s;
}

.hero__content .hero__sub {
  animation-delay: 0.4s;
}

.hero__content .btn-apply-trigger {
  animation-delay: 0.55s;
}

/* Base Scroll Reveal Classes (Hidden initially by default) */
.reveal,
.reveal-up,
.reveal-scale,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition-property: opacity, transform, filter;
  transition-duration: 0.85s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Reveal starting states */
.reveal-up {
  transform: translate3d(0, 48px, 0);
}

.reveal-scale {
  transform: scale(0.9) translate3d(0, 36px, 0);
}

.reveal-left {
  transform: translate3d(-40px, 0, 0);
}

.reveal-right {
  transform: translate3d(40px, 0, 0);
}

/* Revealed active state (Triggered smoothly by JS on scroll) */
.is-revealed {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}

/* Stagger Delay Cascade for Grid Cards and List Elements */
.stagger-container > *:nth-child(1), .stagger-1 { transition-delay: 0.06s; }
.stagger-container > *:nth-child(2), .stagger-2 { transition-delay: 0.16s; }
.stagger-container > *:nth-child(3), .stagger-3 { transition-delay: 0.26s; }
.stagger-container > *:nth-child(4), .stagger-4 { transition-delay: 0.36s; }
.stagger-container > *:nth-child(5), .stagger-5 { transition-delay: 0.46s; }
.stagger-container > *:nth-child(6), .stagger-6 { transition-delay: 0.56s; }

/* Section Title Highlight Bar (Smooth expand on reveal) */
.section__title {
  position: relative;
  display: inline-block;
}

.section__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), transparent);
  transition: width 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.section__title.is-revealed::after {
  width: 54px;
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-up,
  .reveal-scale,
  .reveal-left,
  .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero__img,
  .hero__content > * {
    animation: none !important;
  }
  .section__title::after {
    transition: none !important;
  }
}

