/* ============================================
   PAYDAY SPORTS — Complete Stylesheet
   WHOOP-inspired premium sports agency design
   Hybrid dark/light, gold accent system
   ============================================ */

/* ------------------------------------------
   1. DESIGN TOKENS
   ------------------------------------------ */
:root {
  --color-dark: #0a0a0a;
  --color-dark-green: #1a3a2a;
  --color-green: #1b4332;
  --color-gold: #c9a84c;
  --color-gold-light: #d4b464;
  --color-cream: #faf9f6;
  --color-white: #ffffff;
  --color-text-dark: #1a1a1a;
  --color-text-light: #e0e0e0;
  --color-text-muted: #9ca3af;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --section-padding: 120px;
  --container-max: 1200px;
  --gap: 40px;

  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
}

/* ------------------------------------------
   2. RESET
   ------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ------------------------------------------
   3. BASE
   ------------------------------------------ */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-dark);
  color: var(--color-text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ------------------------------------------
   4. UTILITIES
   ------------------------------------------ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------------------
   5. BUTTONS
   ------------------------------------------ */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn--gold {
  background: var(--color-gold);
  color: var(--color-dark);
}

.btn--gold:hover {
  background: var(--color-gold-light);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

.btn--full {
  width: 100%;
}

/* ------------------------------------------
   6. SECTION PATTERN
   ------------------------------------------ */
.section {
  padding: var(--section-padding) 0;
}

.section--dark {
  background: var(--color-dark);
}

.section--light {
  background: var(--color-cream);
}

.section__label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.section__label--light {
  color: var(--color-gold);
}

.section__title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 40px;
  color: var(--color-text-dark);
}

.section__title--light {
  color: var(--color-white);
}

/* ------------------------------------------
   7. NAVIGATION
   ------------------------------------------ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.3s ease;
  backdrop-filter: blur(0px);
}

.nav--scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav__links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 32px;
  align-items: center;
}

.nav__links a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-white);
  opacity: 0.8;
  transition: var(--transition-fast);
}

.nav__links a:hover {
  opacity: 1;
}

.nav__cta {
  background: var(--color-gold) !important;
  color: var(--color-dark) !important;
  padding: 10px 24px;
  opacity: 1 !important;
}

.nav__cta:hover {
  background: var(--color-gold-light) !important;
}

.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  margin: 5px 0;
  transition: var(--transition-fast);
}

.nav__hamburger--open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger--open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger--open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ------------------------------------------
   8. HERO
   ------------------------------------------ */
.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: radial-gradient(ellipse at center, var(--color-dark-green) 0%, var(--color-dark) 70%);
  padding: 80px 24px;
}

.hero__logo {
  max-width: 200px;
  margin: 0 auto 40px;
  border-radius: 50%;
  filter: drop-shadow(0 0 25px rgba(201, 168, 76, 0.35));
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-white);
  margin: 0 0 24px;
  line-height: 1.1;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero__scroll-arrow {
  width: 1px;
  height: 40px;
  background: var(--color-gold);
  animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* --- Hero Variant: Diagonal Split --- */
.hero--split {
  background: var(--color-dark);
  padding: 0;
}

.hero__panels {
  position: absolute;
  inset: 0;
}

.hero__panel {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

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

/* Diagonal clip-paths: each panel spans full viewport, clip-path cuts its slice */
.hero__panel:nth-child(1) {
  clip-path: polygon(0 0, 38% 0, 28% 100%, 0 100%);
  z-index: 1;
}

.hero__panel:nth-child(2) {
  clip-path: polygon(33% 0, 72% 0, 62% 100%, 23% 100%);
  z-index: 1;
}

.hero__panel:nth-child(3) {
  clip-path: polygon(67% 0, 100% 0, 100% 100%, 57% 100%);
  z-index: 1;
}

/* Gold diagonal divider lines */
.hero__panels::before,
.hero__panels::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-gold);
  z-index: 2;
  opacity: 0.6;
}

.hero__panels::before {
  left: 33%;
  transform: skewX(-8deg);
}

.hero__panels::after {
  left: 66%;
  transform: skewX(-8deg);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  z-index: 3;
}

.hero--split .hero__content {
  position: relative;
  z-index: 4;
}

.hero--split .hero__scroll-indicator {
  z-index: 4;
}

/* --- Hero Variant: Video Background --- */
.hero--video {
  background: var(--color-dark);
  padding: 0;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero--video .hero__overlay {
  background: rgba(10, 10, 10, 0.6);
  z-index: 2;
}

.hero--video .hero__content {
  position: relative;
  z-index: 3;
}

.hero--video .hero__scroll-indicator {
  z-index: 3;
}

/* ------------------------------------------
   9. ABOUT SECTION
   ------------------------------------------ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-dark);
  margin-bottom: 20px;
  opacity: 0.85;
}

.about__image img {
  width: 100%;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ------------------------------------------
   10. SERVICES SECTION
   ------------------------------------------ */
.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 20px;
}

.services__card {
  padding: 48px 40px;
  border-left: 3px solid var(--color-gold);
  background: rgba(255, 255, 255, 0.03);
  transition: var(--transition-fast);
}

.services__card:hover {
  background: rgba(255, 255, 255, 0.06);
}

.services__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--color-gold);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 16px;
}

.services__card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.services__card-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ------------------------------------------
   11. SPORTS SECTION
   ------------------------------------------ */
.sports__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sports__card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.sports__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sports__card:hover img {
  transform: scale(1.05);
}

.sports__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.8));
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.sports__overlay h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

/* ------------------------------------------
   12. EVENTS SECTION
   ------------------------------------------ */
.section--events {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.events__bg {
  position: absolute;
  inset: 0;
}

.events__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.events__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.events__text {
  font-size: 1.1rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 32px;
  opacity: 0.9;
}

/* ------------------------------------------
   13. ROSTER SECTION
   ------------------------------------------ */
.roster__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.roster__card {
  background: #111;
  border-top: 2px solid var(--color-gold);
  padding: 48px 24px;
  text-align: center;
}

.roster__placeholder {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  color: var(--color-text-muted);
  opacity: 0.3;
}

.roster__placeholder svg {
  width: 100%;
  height: 100%;
}

.roster__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-style: italic;
}

/* ------------------------------------------
   14. MERCH SECTION
   ------------------------------------------ */
.merch__header {
  text-align: center;
  margin-bottom: 48px;
}

.merch__logo {
  max-width: 120px;
  margin: 0 auto 24px;
}

.merch__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.merch__card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 24px;
  text-align: center;
  transition: var(--transition-fast);
}

.merch__card:hover {
  border-color: rgba(201, 168, 76, 0.3);
}

.merch__placeholder {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  color: var(--color-text-muted);
  opacity: 0.25;
}

.merch__placeholder svg {
  width: 100%;
  height: 100%;
}

.merch__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 8px;
}

.merch__coming-soon {
  display: block;
  font-size: 0.75rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: var(--font-heading);
}

/* ------------------------------------------
   15. CONTACT SECTION
   ------------------------------------------ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__detail strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-gold);
  margin-bottom: 4px;
}

.contact__detail a,
.contact__detail span {
  color: var(--color-text-light);
  font-size: 1rem;
}

.contact__detail a:hover {
  color: var(--color-gold);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.form__group input,
.form__group textarea {
  width: 100%;
  padding: 14px 16px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 2px;
  transition: var(--transition-fast);
  box-sizing: border-box;
}

.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

.form__group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ------------------------------------------
   16. FOOTER
   ------------------------------------------ */
.footer {
  background: var(--color-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 48px 0;
}

.footer__container {
  text-align: center;
}

.footer__logo {
  max-width: 60px;
  margin: 0 auto 16px;
}

.footer__tagline {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 8px;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ------------------------------------------
   17. SCROLL REVEAL ANIMATION
   ------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ------------------------------------------
   18. RESPONSIVE — 1024px
   ------------------------------------------ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

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

  .roster__grid,
  .merch__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ------------------------------------------
   19. RESPONSIVE — 768px
   ------------------------------------------ */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  .nav__hamburger {
    display: block;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 280px;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav__links--open {
    transform: translateX(0);
  }

  .nav__links a {
    font-size: 1rem;
  }

  .nav__cta {
    text-align: center;
    width: 100%;
    display: block;
  }

  .hero {
    min-height: 85vh;
  }

  .hero__content {
    padding: 0 16px;
  }

  .hero__title {
    font-size: 2.2rem;
    letter-spacing: 1.5px;
  }

  .hero__logo {
    max-width: 130px;
    margin-bottom: 24px;
  }

  .hero__subtitle {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  .section--events {
    min-height: 400px;
  }

  .events__content {
    padding: 0 16px;
  }

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

  .about__image {
    order: -1;
  }

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

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

  .section__title {
    font-size: 2rem;
  }

  /* Diagonal split: horizontal slices on mobile */
  .hero__panel:nth-child(1) {
    clip-path: polygon(0 0, 100% 0, 100% 36%, 0 30%);
  }

  .hero__panel:nth-child(2) {
    clip-path: polygon(0 27%, 100% 33%, 100% 70%, 0 64%);
  }

  .hero__panel:nth-child(3) {
    clip-path: polygon(0 61%, 100% 67%, 100% 100%, 0 100%);
  }

  .hero__panels::before {
    top: 30%;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: 2px;
    transform: skewY(-3deg);
  }

  .hero__panels::after {
    top: 65%;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: 2px;
    transform: skewY(-3deg);
  }
}

/* ------------------------------------------
   20. RESPONSIVE — 480px
   ------------------------------------------ */
@media (max-width: 480px) {
  .hero__title {
    font-size: 1.75rem;
    letter-spacing: 1px;
  }

  .hero__logo {
    max-width: 110px;
  }

  .hero__subtitle {
    font-size: 0.9rem;
  }

  .section__title {
    font-size: 1.6rem;
  }

  .roster__grid,
  .merch__grid {
    grid-template-columns: 1fr 1fr;
  }

  .roster__card,
  .merch__card {
    padding: 32px 16px;
  }

  .services__card {
    padding: 32px 24px;
  }

  .services__number {
    font-size: 2.5rem;
  }

  .btn {
    padding: 14px 32px;
    font-size: 0.8rem;
  }

  .contact__details {
    gap: 16px;
  }
}
