/* ═══════════════════════════════════════════════════════════
   FENRIR FORCE — Main CSS
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --black:       #000000;
  --deep:        #060606;
  --charcoal:    #0e0e0e;
  --surface:     #141414;
  --raised:      #1a1a1a;
  --border:      #242424;
  --border-soft: #1c1c1c;
  --steel:       #6b7280;
  --muted:       rgba(255,255,255,0.38);
  --white:       #FFFFFF;
  --gold:        #C8A951;
  --gold-dim:    rgba(200,169,81,0.12);
  --gold-line:   rgba(200,169,81,0.30);
  --gold-hover:  #d4b865;
  --font-display: 'Bebas Neue', sans-serif;
  --font-cond:    'Barlow Condensed', sans-serif;
  --font-body:    'Inter', sans-serif;
  --max-w: 1280px;
  --nav-h: 64px;
  --pad-x: clamp(20px, 5vw, 72px);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--deep);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* Global grain overlay */
.grain {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 400px 400px;
}

/* Utility classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.focus\:not-sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Fade-up animation */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Eyebrow label */
.eyebrow {
  font-family: var(--font-cond);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* Drop badge */
.drop-badge {
  font-family: var(--font-cond);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #000;
  background: var(--gold);
  padding: 4px 10px;
  display: inline-block;
}

/* Nav link */
.nav-link {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--white); }
.nav-link.active { color: var(--gold); }

/* Primary button */
.btn-primary {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #000;
  background: var(--gold);
  padding: 14px 32px;
  display: inline-block;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
}

/* Secondary button */
.btn-secondary {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold-line);
  padding: 14px 32px;
  display: inline-block;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-hover);
  transform: translateY(-2px);
}

/* Form field */
.form-field {
  width: 100%;
  background: var(--charcoal);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.form-field::placeholder { color: var(--steel); }
.form-field:focus { border-color: var(--gold-line); }

/* Product card */
.product-card {
  background: var(--charcoal);
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
  border: 1px solid var(--border);
  border-top: 2px solid transparent;
  transition: transform 250ms ease, border-top-color 250ms ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--gold);
}

/* Size buttons */
.size-btn {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  background: none;
  border: 1px solid #242424;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.2s;
}
.size-btn:hover:not(.unavail) {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}
.size-btn.selected {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  background: var(--gold-dim) !important;
}
.size-btn.unavail {
  color: rgba(255, 255, 255, 0.15);
  border-color: #1a1a1a;
  text-decoration: line-through;
  cursor: default;
}

/* Filter tabs */
.filter-tab {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  padding: 8px 14px;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.filter-tab:hover { color: var(--white); }
.filter-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
