/* ============================================================
   BIASI ACTION PICKLEBALL — Global Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&display=swap');

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

:root {
  --black: #000000;
  --white: #ffffff;
  --gray: #111111;
  --mid-gray: #222222;
  --light-gray: #444444;
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
  --nav-height: 72px;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 { font-size: clamp(3.5rem, 10vw, 9rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }

p { font-size: 1rem; color: #ccc; }

/* ── Utility ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }
.section--tight { padding: 60px 0; }

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: var(--white);
  color: var(--black);
}

.btn--filled {
  background: var(--white);
  color: var(--black);
}

.btn--filled:hover {
  background: transparent;
  color: var(--white);
}

.tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: #888;
  margin-bottom: 12px;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--white);
  margin: 20px 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #1a1a1a;
  display: flex;
  align-items: center;
}

.nav__inner {
  width: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo img {
  height: 44px;
  width: auto;
  display: block;
}

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

.nav__links a {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ccc;
  transition: color 0.2s;
}

.nav__links a:hover,
.nav__links a.active { color: var(--white); }

.nav__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__cart {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: none;
  border: none;
  padding: 0;
  transition: opacity 0.2s;
}

.nav__cart:hover { opacity: 0.7; }

.nav__cart svg { width: 22px; height: 22px; }

.nav__cart-count {
  background: var(--white);
  color: var(--black);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-body);
}

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

.nav__hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  background: var(--black);
  border-bottom: 1px solid #1a1a1a;
  padding: 24px;
  z-index: 999;
  flex-direction: column;
  gap: 20px;
}

.nav__mobile.open { display: flex; }

.nav__mobile a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 16px;
}

/* ============================================================
   PAGE WRAPPER
   ============================================================ */
.page-content { padding-top: var(--nav-height); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Large background watermark text */
.hero__watermark {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: clamp(120px, 22vw, 260px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.07);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero__eyebrow {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.25em;
  color: #666;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero__title {
  margin-bottom: 24px;
}

.hero__title em {
  font-style: normal;
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}

.hero__sub {
  font-size: 1.1rem;
  color: #999;
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Hero with background image ── */
.hero--has-image {
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
}

.hero--has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.92) 30%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.1) 100%);
  z-index: 0;
}

.hero--has-image .hero__content {
  z-index: 2;
  max-width: 480px;
  text-align: left;
}

.hero--has-image .hero__title {
  font-size: clamp(3rem, 5.5vw, 6rem);
}

/* ============================================================
   SPONSORED PLAYERS
   ============================================================ */
.players-section {
  padding: 100px 0;
  border-top: 1px solid #1a1a1a;
}

.players-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 60px;
}

.player-card {
  position: relative;
  overflow: hidden;
  background: var(--gray);
}

.player-card__image {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 480px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
  filter: grayscale(20%);
}

.player-card:hover .player-card__image {
  transform: scale(1.03);
}

.player-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 32px 32px;
  background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 30%, transparent 100%);
}

.player-card__label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: #aaa;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.player-card__name {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
}

@media (max-width: 640px) {
  .players-grid { grid-template-columns: 1fr; }
  .player-card__image { aspect-ratio: 4 / 3; object-position: center 20%; }
}

/* Ticker bar */
.ticker {
  background: var(--white);
  color: var(--black);
  overflow: hidden;
  padding: 12px 0;
  white-space: nowrap;
}

.ticker__track {
  display: inline-flex;
  animation: ticker 20s linear infinite;
}

.ticker__item {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0 40px;
}

.ticker__item::after {
  content: '·';
  margin-left: 40px;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
  margin-bottom: 60px;
}

.section-header--center {
  text-align: center;
}

.section-header--center .divider {
  margin: 20px auto;
}

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  background: var(--gray);
  overflow: hidden;
  cursor: pointer;
  group: true;
}

.product-card__image {
  aspect-ratio: 1 / 1;
  background: var(--mid-gray);
  overflow: hidden;
  position: relative;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

/* Placeholder when no image */
.product-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #333;
}

.product-card__body {
  padding: 20px;
}

.product-card__category {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 6px;
}

.product-card__name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.product-card__price {
  font-size: 1rem;
  font-weight: 600;
  color: #ccc;
  margin-bottom: 16px;
}

.product-card__btn {
  width: 100%;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px;
  border: 1px solid #333;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.product-card__btn:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ============================================================
   BRAND STATEMENT SECTION
   ============================================================ */
.brand-statement {
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  text-align: center;
  padding: 80px 24px;
}

.brand-statement__text {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.1;
  max-width: 900px;
  margin: 0 auto;
}

.brand-statement__text em {
  font-style: normal;
  -webkit-text-stroke: 1px var(--white);
  color: transparent;
}

/* ============================================================
   SPONSOR CTA SECTION
   ============================================================ */
.sponsor-cta {
  background: var(--white);
  color: var(--black);
  text-align: center;
  padding: 100px 24px;
}

.sponsor-cta h2 {
  color: var(--black);
  margin-bottom: 16px;
}

.sponsor-cta p {
  color: #444;
  max-width: 520px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
}

.sponsor-cta .btn {
  border-color: var(--black);
  color: var(--black);
}

.sponsor-cta .btn:hover {
  background: var(--black);
  color: var(--white);
}

/* ============================================================
   ABOUT SECTION (index preview + about page)
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-split__image {
  aspect-ratio: 4/5;
  background: var(--mid-gray);
  overflow: hidden;
  position: relative;
}

.about-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-split__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: #333;
}

.about-split__content .tag { color: #666; }

.about-split__content h2 {
  margin-bottom: 20px;
}

.about-split__content p {
  margin-bottom: 20px;
  line-height: 1.8;
}

/* ============================================================
   SPONSOR PAGE
   ============================================================ */
.page-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid #1a1a1a;
}

.page-hero__eyebrow {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.25em;
  color: #555;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-hero p {
  max-width: 560px;
  margin-top: 16px;
  font-size: 1.05rem;
  color: #888;
  line-height: 1.8;
}

/* Form */
.form-section { padding: 80px 0 120px; }

.sponsor-form {
  max-width: 680px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--gray);
  border: 1px solid #2a2a2a;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--white);
}

.form-group select option {
  background: var(--gray);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #444;
}

.form__submit {
  margin-top: 8px;
}

.form-success {
  display: none;
  padding: 20px;
  border: 1px solid var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 20px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
}

.value-card {
  background: var(--gray);
  padding: 40px 32px;
}

.value-card__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: #222;
  line-height: 1;
  margin-bottom: 16px;
}

.value-card h3 {
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--gray);
  border-top: 1px solid #1a1a1a;
  padding: 60px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer__tagline {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer__col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 16px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col ul a {
  color: #888;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer__col ul a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid #1a1a1a;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #444;
  font-size: 0.8rem;
}

/* Social icons */
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #2a2a2a;
  color: #888;
  transition: border-color 0.2s, color 0.2s;
}

.social-links a:hover {
  border-color: var(--white);
  color: var(--white);
}

/* ============================================================
   SHOP PAGE FILTERS
   ============================================================ */
.shop-header {
  padding: 60px 0 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid #1a1a1a;
  margin-bottom: 60px;
}

.filter-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.filter-tab {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid #2a2a2a;
  background: transparent;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-tab:hover,
.filter-tab.active {
  border-color: var(--white);
  color: var(--white);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-split__image { aspect-ratio: 16/9; }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .form-row { grid-template-columns: 1fr; }

  .shop-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { text-align: center; }

  /* Hero — text left, player visible on right */
  .hero--has-image {
    background-position: 25% center;
    align-items: center;
    padding-bottom: 80px;
  }

  .hero--has-image::after {
    background: linear-gradient(to right, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.9) 40%, rgba(0,0,0,0.3) 65%, rgba(0,0,0,0) 100%);
  }

  .hero--has-image > div {
    padding-left: 20px !important;
    padding-right: 0 !important;
    max-width: 50% !important;
  }
}

/* ============================================================
   COLOR SWATCHES
   ============================================================ */
.color-swatches {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.color-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
  padding: 0;
}

.color-swatch:hover { transform: scale(1.15); }
.color-swatch--active { border-color: var(--white) !important; }

/* ============================================================
   ANIMATIONS & SCROLL EFFECTS
   ============================================================ */

/* Page load fade-in */
body { animation: fadeIn 0.5s ease both; }
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Nav scroll state */
.nav--scrolled {
  background: rgba(0, 0, 0, 0.98) !important;
  border-bottom-color: #222 !important;
}

/* Nav link underline animation */
.nav__links a {
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.25s ease;
}
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

/* Button scale on hover */
.btn {
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn:hover { transform: scale(1.03); }

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  opacity: 0.5;
  animation: bounce 2s ease-in-out infinite;
}
.hero__scroll span {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
}
.hero__scroll svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* Placeholder icon style */
.product-card__image--placeholder {
  flex-direction: column;
  gap: 10px;
}
.product-card__image--placeholder svg {
  opacity: 0.2;
  width: 40px;
  height: 40px;
}
.product-card__image--placeholder span {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  opacity: 0.3;
}

/* ============================================================
   SNIPCART OVERRIDES
   ============================================================ */
.snip-layout {
  font-family: var(--font-body) !important;
}
