/* =========================================
   Base & Reset
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family-primary);
  background-color: #FFFFFF;
  color: var(--color-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-display);
  font-weight: var(--font-weight-black); /* KT Tape style extra bold */
  text-transform: uppercase;             /* Aggressive athletic feel */
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: var(--color-text-primary);
}

p {
  color: var(--color-text-secondary);
}

a {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent);
}

ul { list-style: none; }

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

button {
  font-family: var(--font-family-primary);
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* =========================================
   Container
   ========================================= */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--spacing-6);
}

@media (max-width: 768px) {
  .container { padding: 0 var(--spacing-4); }
}

/* =========================================
   Utility Classes
   ========================================= */
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }

/* =========================================
   Global Animations
   ========================================= */
.fade-in-up {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 80ms; }
.stagger-2 { transition-delay: 160ms; }
.stagger-3 { transition-delay: 240ms; }
.stagger-4 { transition-delay: 320ms; }
.stagger-5 { transition-delay: 400ms; }
.stagger-6 { transition-delay: 480ms; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg-elevated); }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--color-text-muted); }

/* ---- New Visual Upgrades (Animations & Glassmorphism) ---- */
@keyframes buttonPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(243, 97, 34, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(243, 97, 34, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(243, 97, 34, 0); }
}

.js-add-to-cart:hover {
  animation: buttonPulse 1.5s infinite;
}

.product-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-card-hover);
  z-index: 2;
}

.hero-banner-content h1 {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
