/* ============================================
   Xtrio Sports – Premium Dark Sports Design
   Dark Navy + Grit + Minimal Yellow Accent
   ============================================ */

html { scroll-behavior: smooth; }

/* ── NOISE TEXTURE OVERLAY (global) ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='512' height='512' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── FADE IN ── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── HERO ── */
.hero-bg {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(30,80,160,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(10,30,70,0.5) 0%, transparent 50%),
    linear-gradient(160deg, #04090f 0%, #070e1a 35%, #0a1628 70%, #060d1b 100%);
  position: relative;
  overflow: hidden;
}

/* Diagonal lightning lines – decorative */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 38px,
      rgba(255,255,255,0.018) 38px,
      rgba(255,255,255,0.018) 40px
    );
}

/* Grit/grain overlay on hero */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ── BUTTONS ── */
.btn-yellow {
  background: #F5C518;
  color: #060d1b;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
  display: inline-block;
  text-align: center;
}
.btn-yellow:hover {
  background: #ffd740;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,197,24,0.3);
}
.btn-yellow:active {
  transform: translateY(0);
}

/* ── PRODUCT CARDS ── */
.card-product {
  background: linear-gradient(145deg, #0b1825 0%, #08111d 100%);
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.card-product::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
.card-product:hover {
  border-color: rgba(245,197,24,0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* ── CATEGORY CARDS ── */
.card-category {
  background: linear-gradient(145deg, #0b1825 0%, #08111d 100%);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.card-category:hover {
  border-color: rgba(245,197,24,0.2);
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.45);
}

/* ── TRUST BADGE ── */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #8fa3bc;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: #050c17;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* ── SECTION BACKGROUNDS ── */
.section-dark {
  background: linear-gradient(180deg, #04090f 0%, #060d1b 100%);
}
.section-mid {
  background: linear-gradient(180deg, #060d1b 0%, #08111d 100%);
}
.section-stripe {
  background:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.012) 60px,
      rgba(255,255,255,0.012) 62px
    ),
    linear-gradient(180deg, #070e1a 0%, #060c18 100%);
}

/* ── HEADER ── */
header {
  background: rgba(4, 9, 15, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* ── CTA BOX ── */
.cta-box {
  background:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.015) 40px,
      rgba(255,255,255,0.015) 42px
    ),
    linear-gradient(135deg, #070e1a 0%, #0a1628 50%, #070e1a 100%);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(245,197,24,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* ── FEATURE ICONS ── */
.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}

/* ── ABOUT SECTION ── */
.about-box {
  background:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 50px,
      rgba(255,255,255,0.01) 50px,
      rgba(255,255,255,0.01) 52px
    ),
    linear-gradient(135deg, #060d1b 0%, #08111d 100%);
  border: 1px solid rgba(255,255,255,0.06);
}

/* ── CONTACT STRIP ── */
.contact-strip {
  background: #050c17;
  border: 1px solid rgba(255,255,255,0.05);
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #04090f; }
::-webkit-scrollbar-thumb { background: #1a2d45; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #2a3f55; }

/* ── FOOTER ── */
footer {
  background: linear-gradient(180deg, #04090f 0%, #030710 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
}
