:root {
  --bg: #080606;
  --text: #f5f0e8;
  --muted: #dad2c6;
  --red: #d21f0a;
  --yellow: #ffd447;
  --white: #fff;
  --black: #050505;
  --border: rgba(255, 255, 255, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.1);
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: 'Urbanist', sans-serif;
  color: var(--text);
  background: var(--black);
}

body {
  line-height: 1.65;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 212, 71, 0.1), transparent 30%),
    radial-gradient(circle at 85% 90%, rgba(210, 31, 10, 0.14), transparent 28%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02), transparent 50%),
    var(--black);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--red), rgba(210, 31, 10, 0.5));
  border-radius: 999px;
  border: 2px solid var(--black);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #e8250f, var(--red));
}

/* Floating background orbs */
.bg-floats {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.float-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  will-change: transform;
}

.float-orb-1 {
  width: 320px;
  height: 320px;
  top: 10%;
  left: -5%;
  background: radial-gradient(circle, rgba(210, 31, 10, 0.5), transparent 70%);
  animation: float-drift-1 18s ease-in-out infinite;
}

.float-orb-2 {
  width: 280px;
  height: 280px;
  top: 55%;
  right: -8%;
  background: radial-gradient(circle, rgba(255, 212, 71, 0.4), transparent 70%);
  animation: float-drift-2 22s ease-in-out infinite;
}

.float-orb-3 {
  width: 200px;
  height: 200px;
  bottom: 15%;
  left: 40%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
  animation: float-drift-3 16s ease-in-out infinite;
}

@keyframes float-drift-1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, 30px); }
}

@keyframes float-drift-2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-35px, -25px); }
}

@keyframes float-drift-3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(25px, -20px); }
}

/* Glassmorphism utility */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
}

/* Header */
.site-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 10;
}

.brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.brand-title {
  font-family: 'Germania One', cursive;
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--red);
  letter-spacing: 0.1em;
  text-shadow: 0 0 20px rgba(210, 31, 10, 0.25);
}

.brand-tag {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.nav-link {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
  border-radius: 1px;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--white);
  outline: none;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
  transform: scaleX(1);
}

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

/* Main layout */
main {
  padding: 2.5rem 2rem;
  position: relative;
  z-index: 2;
}

.page-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--red);
  font-family: 'Germania One', cursive;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-weight: 700;
  font-size: 1.05rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
}

.hero p {
  max-width: 680px;
  color: var(--muted);
  margin: 1.75rem 0 2.25rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), #a81808);
  color: var(--white);
  box-shadow: 0 12px 32px rgba(210, 31, 10, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 16px 40px rgba(210, 31, 10, 0.45), 0 0 24px rgba(210, 31, 10, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.06);
}

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(2.5);
    opacity: 0;
  }
}

.hero-visual {
  display: grid;
  place-items: center;
}

.hero-card {
  min-height: 320px;
  width: 100%;
  max-width: 380px;
  border-radius: 2rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 24px 60px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 32px 70px rgba(0, 0, 0, 0.45), 0 0 40px rgba(210, 31, 10, 0.08);
}

.hero-card span {
  display: block;
  font-family: 'Germania One', cursive;
  color: var(--red);
  font-size: clamp(2.25rem, 4vw, 3rem);
  text-shadow: 0 0 30px rgba(210, 31, 10, 0.3);
}

/* Feature & about grids */
.feature-grid,
.about-grid {
  display: grid;
  gap: 1.5rem;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card,
.stat-card {
  border-radius: 1.5rem;
  padding: 2rem;
  min-height: 180px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  will-change: transform;
}

.feature-card:hover,
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 30px rgba(210, 31, 10, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.feature-card h2,
.stat-card p {
  margin: 0 0 1rem;
  color: var(--white);
}

.feature-card p,
.about-text p {
  margin: 0;
  color: var(--muted);
}

.feature-red { background: rgba(210, 31, 10, 0.14); border-color: rgba(210, 31, 10, 0.18); }
.feature-white { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.12); }
.feature-gold { background: rgba(255, 212, 71, 0.12); border-color: rgba(255, 212, 71, 0.18); }

/* Page hero (about) */
.page-hero {
  padding: 3rem 2.5rem;
  margin-bottom: 2.5rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(13, 11, 11, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow var(--transition-smooth);
}

.page-hero:hover {
  box-shadow: 0 0 40px rgba(210, 31, 10, 0.06);
}

.page-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1.1;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 740px;
  font-size: 1.05rem;
}

.about-grid {
  grid-template-columns: 1.5fr 1fr;
  align-items: start;
}

.about-text {
  display: grid;
  gap: 1.75rem;
}

.about-text h2 {
  margin: 0;
  color: var(--white);
  font-size: 1.75rem;
}

.about-text p {
  font-size: 1rem;
}

.about-stats {
  display: grid;
  gap: 1rem;
}

.stat-card {
  display: grid;
  gap: 1rem;
}

.stat-card span {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.stat-red { background: rgba(210, 31, 10, 0.13); border-color: rgba(210, 31, 10, 0.22); }
.stat-white { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.15); }
.stat-gold { background: rgba(255, 212, 71, 0.16); border-color: rgba(255, 212, 71, 0.24); }

/* Coming Soon */
.coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 220px);
  padding: 3rem 1.5rem;
}

.coming-soon-inner {
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) clamp(2rem, 6vw, 4rem);
  border-radius: 2rem;
  max-width: 720px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  animation: coming-soon-pulse 4s ease-in-out infinite;
}

.coming-soon-message {
  margin: 0;
  font-family: 'Germania One', cursive;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  line-height: 1.3;
  color: var(--white);
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--white) 30%, var(--muted) 70%, var(--yellow) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 6s ease-in-out infinite;
}

@keyframes coming-soon-pulse {
  0%, 100% { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 rgba(210, 31, 10, 0); }
  50% { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 40px rgba(210, 31, 10, 0.08); }
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* Apparel / Printful product */
.apparel-status {
  margin-bottom: 1.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  border: 1px solid var(--glass-border);
}

.apparel-status-ok {
  background: rgba(255, 212, 71, 0.08);
  color: var(--yellow);
}

.apparel-status-info {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.apparel-status-warn {
  background: rgba(210, 31, 10, 0.12);
  color: #ff8a7a;
}

.apparel-loading,
.apparel-error {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
}

.apparel-back-link-wrap {
  margin: 0 0 0.75rem;
}

.apparel-back-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.apparel-back-link:hover,
.apparel-back-link:focus-visible {
  color: var(--yellow);
  outline: none;
}

.apparel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 300px));
  justify-content: start;
  gap: 1.5rem;
}

.apparel-card {
  display: block;
  text-decoration: none;
  color: inherit;
  max-width: 300px;
  border-radius: 1.5rem;
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  will-change: transform;
}

.apparel-card:hover,
.apparel-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 30px rgba(210, 31, 10, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  outline: none;
}

.apparel-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  background: rgba(0, 0, 0, 0.25);
}

.apparel-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.apparel-card-placeholder {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

.apparel-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.apparel-card-body h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: var(--white);
}

.apparel-type-value {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
}

.apparel-error {
  color: #ff8a7a;
  border: 1px solid rgba(210, 31, 10, 0.25);
  border-radius: 1rem;
  background: rgba(210, 31, 10, 0.08);
}

.apparel-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.apparel-preview,
.apparel-config {
  border-radius: 1.5rem;
  padding: 2rem;
}

.apparel-preview {
  display: grid;
  place-items: center;
  min-height: 420px;
}

.shirt-preview {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: 0.75rem;
}

.shirt-preview-placeholder {
  color: var(--muted);
  font-size: 1rem;
  text-align: center;
}

.apparel-config h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--white);
}

.apparel-lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
}

.apparel-form {
  display: grid;
  gap: 1.25rem;
}

.form-field {
  display: grid;
  gap: 0.5rem;
}

.form-field label {
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
}

.form-field select {
  appearance: none;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23dad2c6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-field select:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.28);
}

.form-field select:focus-visible {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 212, 71, 0.15);
}

.form-field select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.apparel-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.apparel-meta dt {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.apparel-meta dd {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.apparel-config .btn {
  width: 100%;
  margin-top: 0.5rem;
}

.apparel-config .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.site-footer {
  padding: 1.75rem 2rem;
  text-align: center;
  color: var(--red);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .coming-soon {
    min-height: calc(100vh - 260px);
  }
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
  }

  main {
    padding: 2rem 1.25rem;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .page-hero {
    padding: 2rem 1.5rem;
  }

  .coming-soon-inner {
    padding: 2.5rem 1.5rem;
  }

  .apparel-product {
    grid-template-columns: 1fr;
  }

  .apparel-preview {
    min-height: 280px;
  }

  .apparel-meta {
    grid-template-columns: 1fr;
  }

  .apparel-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 280px));
    justify-content: center;
  }

  .apparel-card {
    max-width: 280px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .float-orb {
    display: none;
  }

  .feature-card:hover,
  .stat-card:hover,
  .apparel-card:hover,
  .hero-card:hover,
  .btn:hover {
    transform: none;
  }
}
