:root {
  --c-white: #FFFFFF;
  --c-black: #000000;
  --c-primary: #0B3B24; /* Deep Forest Green */
  --c-secondary: #00D084; /* Vibrant Mint */
  
  --font-display: 'Archivo Black', sans-serif;
  --font-ui: 'Manrope', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--c-white);
  color: var(--c-black);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  /* Entrance container fade */
  animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* NAVIGATION */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4rem;
  position: relative;
  z-index: 10;
  animation: fade-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.logo span {
  color: var(--c-primary);
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--c-black);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--c-primary);
}

.btn-primary {
  background-color: var(--c-black);
  color: var(--c-white);
  text-decoration: none;
  padding: 1rem 2rem;
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  border: 2px solid var(--c-black);
}

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

/* HERO SECTION */
.hero-section {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 800px;
}

/* GIANT BACKGROUND TEXT */
.background-text {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: var(--font-display);
  font-size: 16vw; /* Slightly smaller to fit multiple lines */
  line-height: 0.8;
  color: var(--c-primary);
  white-space: nowrap;
  letter-spacing: -0.04em;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  width: 100%;
  text-align: center;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 0;
  will-change: transform;
  /* Animate: Massive slide up */
  animation: reveal-text 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.marquee-line {
  /* Animate inner drift */
  animation: drift 20s linear infinite;
  display: block;
}
.marquee-line:nth-child(even) {
  animation-direction: reverse;
}
.marquee-line.outline {
  color: transparent;
  -webkit-text-stroke: 4px var(--c-primary);
}

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

@keyframes reveal-text {
  from { 
    transform: translate(-50%, -40%) scale(0.95); 
    opacity: 0; 
    clip-path: inset(100% 0 0 0);
  }
  to { 
    transform: translate(-50%, -50%) scale(1); 
    opacity: 1; 
    clip-path: inset(0 0 0 0);
  }
}

/* ATHLETE PORTRAIT */
.hero-center {
  position: relative;
  z-index: 2;
  height: 85vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.athlete-portrait {
  height: 100%;
  width: auto;
  object-fit: contain;
  mix-blend-mode: darken;
  will-change: transform, filter;
  /* Animate: Stamp-in entrance for the subject */
  animation: stamp-hero 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

@keyframes stamp-hero {
  from { 
    transform: scale(1.05) translateY(40px); 
    opacity: 0; 
    filter: drop-shadow(0 0px 0px rgba(0,0,0,0));
  }
  to { 
    transform: scale(1) translateY(0); 
    opacity: 1; 
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
  }
}

/* FLOATING MODULES */
.floating-module {
  position: absolute;
  z-index: 3;
}

.module-left {
  bottom: 15%;
  left: 5%;
  /* Animate: Slide in from left */
  animation: slide-in-left 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.module-right {
  bottom: 20%;
  right: 5%;
  /* Animate: Slide in from right */
  animation: slide-in-right 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

@keyframes slide-in-left {
  from { transform: translateX(-40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slide-in-right {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* VIDEO CARD */
.video-card {
  background: var(--c-white);
  padding: 1rem;
  border: 2px solid var(--c-black);
  width: 280px;
  box-shadow: 12px 12px 0 var(--c-secondary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.video-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 16px 16px 0 var(--c-secondary);
}

.video-placeholder {
  background-color: var(--c-black);
  height: 150px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  overflow: hidden;
}

.play-button {
  width: 48px;
  height: 48px;
  background: var(--c-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-card:hover .play-button {
  transform: scale(1.1);
}

.play-button svg {
  width: 24px;
  height: 24px;
  margin-left: 4px;
}

.time-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--c-white);
  color: var(--c-black);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 8px;
}

.video-info h4 {
  font-family: var(--font-display);
  font-size: 1.15rem; /* Typeset: slightly larger for hierarchy */
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

.video-info p {
  font-size: 0.875rem;
  font-weight: 600;
  color: #666;
  letter-spacing: -0.01em; /* Typeset: modern tight tracking for sentence case */
}

/* SCHEDULE CARD */
.schedule-card {
  background: var(--c-black);
  color: var(--c-white);
  padding: 2rem;
  width: 320px;
  border: 2px solid var(--c-black);
  box-shadow: 12px 12px 0 var(--c-primary);
}

.schedule-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.schedule-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--c-white);
  letter-spacing: 0.05em; /* Typeset: wider tracking for small caps/all-caps labels */
}

.pulse-indicator {
  width: 10px;
  height: 10px;
  background-color: var(--c-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(11, 59, 36, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(11, 59, 36, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(11, 59, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(11, 59, 36, 0); }
}

.match-info .opponent {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--c-white);
}

.match-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.match-meta span {
  font-weight: 700;
  font-size: 0.875rem;
  color: #999;
  display: flex;
  align-items: center;
  letter-spacing: 0.05em;
}

.match-meta span::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background-color: var(--c-secondary);
  margin-right: 12px;
}

.btn-secondary {
  color: var(--c-white);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  transition: color 0.2s ease;
  letter-spacing: 0.05em;
}

.btn-secondary:hover {
  color: var(--c-secondary);
}

.btn-secondary .arrow {
  font-size: 1.25rem;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-secondary:hover .arrow {
  transform: translateX(4px);
}

/* BOTTOM METRICS */
.bottom-metrics {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4rem;
  z-index: 3;
  /* Animate: slide up */
  animation: fade-in-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--c-black);
}

.metric-label {
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--c-primary);
  margin-top: 0.25rem;
}

/* CONTENT SECTIONS */
.content-section {
  padding: 6rem 4rem;
  background-color: var(--c-white);
  position: relative;
  z-index: 5;
}

.bg-dark {
  background-color: var(--c-black);
  color: var(--c-white);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  border-bottom: 4px solid var(--c-black);
  padding-bottom: 1rem;
}

.bg-dark .section-header {
  border-bottom-color: var(--c-primary);
}

.section-title {
  font-family: var(--font-display);
  font-size: 4rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.text-white {
  color: var(--c-white);
}

/* HIGHLIGHTS GRID */
.highlights-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.highlight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
  border: 2px solid var(--c-black);
  box-shadow: 16px 16px 0 var(--c-secondary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-img:hover {
  transform: translate(-4px, -4px);
  box-shadow: 20px 20px 0 var(--c-secondary);
}

.highlight-content {
  background: var(--c-primary);
  color: var(--c-white);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 2px solid var(--c-black);
}

.highlight-content h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.highlight-content p {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* SCHEDULE LIST */
.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.schedule-item {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr auto;
  align-items: center;
  padding: 2rem;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.schedule-item:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
  transform: scale(1.01);
}

.s-date {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--c-secondary);
}

.s-opponent {
  font-family: var(--font-display);
  font-size: 2rem;
}

.s-location {
  font-weight: 600;
  color: #999;
}

.schedule-item:hover .s-location {
  color: rgba(255,255,255,0.8);
}

.btn-outline {
  background: transparent;
  color: var(--c-white);
  border: 2px solid var(--c-secondary);
  padding: 0.75rem 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--c-secondary);
  color: var(--c-black);
}


/* RESPONSIVE & MOBILE ADAPTATION */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--c-black);
  cursor: pointer;
  padding: 8px;
}
.mobile-menu {
  display: none;
}
.desktop-only {
  display: flex;
}

@media (max-width: 1200px) {
  .background-text { font-size: 24vw; }
  .module-left { left: 2%; }
  .module-right { right: 2%; }
}

@media (max-width: 900px) {
  .nav-links, .desktop-only { display: none; }
  .mobile-menu-btn { display: flex; }
  
  .mobile-menu {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--c-white);
    z-index: 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mobile-menu.open {
    transform: translateY(0);
  }
  .mobile-nav-links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .mobile-nav-links a {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--c-black);
    text-decoration: none;
  }
  .mobile-nav-links a.active { color: var(--c-primary); }

  .hero-section {
    flex-direction: column;
    min-height: auto;
    padding: 2rem 0;
  }
  .background-text {
    font-size: 28vw;
    top: 40%;
  }
  .hero-center {
    height: 60vh;
  }
  
  /* Stack floating modules vertically on mobile */
  .floating-module {
    position: relative;
    bottom: auto; left: auto; right: auto;
    margin: 1rem auto;
    animation: fade-in-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
  }
  
  .bottom-metrics {
    position: relative;
    bottom: auto; transform: none; left: auto;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    margin-top: 2rem;
    padding-bottom: 2rem;
  }
  .metric-value { font-size: 2rem; }
  /* Stack new sections */
  .content-section {
    padding: 4rem 2rem;
  }
  .section-title {
    font-size: 2.5rem;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  .schedule-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .s-opponent {
    font-size: 1.5rem;
  }
}

/* TOUCH VS POINTER ADAPTATION */
/* Disable hover effects on touch devices to prevent sticky hover states */
@media (hover: none) and (pointer: coarse) {
  .video-card:hover {
    transform: none;
    box-shadow: 12px 12px 0 var(--c-secondary);
  }
  .video-card:hover .play-button { transform: none; }
  .video-card:active {
    transform: translate(2px, 2px);
    box-shadow: 8px 8px 0 var(--c-secondary);
  }
  
  .btn-primary:active {
    background-color: var(--c-white);
    color: var(--c-black);
  }
  .btn-secondary:active .arrow {
    transform: translateX(4px);
  }
  
  /* Touch targets minimum 44px */
  .nav-links a, .mobile-nav-links a {
    padding: 12px;
  }
}
