/**
 * Colorado Springs Annual World Cup - Main Stylesheet
 * This stylesheet contains all the styles for the landing page and shared components
 */

/* ===== Variables ===== */
:root {
  /* Colors */
  --primary-color: #1a4b84; /* Deep blue */
  --primary-dark: #153a66; /* Darker blue for hover states */
  --secondary-color: #d4af37; /* Gold/trophy color */
  --secondary-dark: #b89a30; /* Darker gold for hover states */
  --accent-color: #e74c3c; /* Accent red for important elements */

  --text-dark: #333333; /* Main text color */
  --text-light: #ffffff; /* Light text color */
  --text-muted: #777777; /* Muted text color */

  --light-bg: #f5f8fa; /* Light background color */
  --dark-bg: #1e293b; /* Dark background color */

  /* Typography */
  --heading-font: "Montserrat", sans-serif;
  --body-font: "Roboto", sans-serif;

  /* Spacing */
  --section-spacing: 100px;
  --container-width: 1200px;

  /* Border Radius */
  --border-radius: 8px;

  /* Box Shadow */
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* ===== Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--light-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  line-height: 1.3;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  padding: var(--section-spacing) 0;
  position: relative;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Button Styles ===== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-family: var(--heading-font);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  outline: none;
  text-align: center;
}

.primary-btn {
  background-color: var(--primary-color);
  color: var(--text-light);
  box-shadow: 0 5px 15px rgba(26, 75, 132, 0.3);
}

.primary-btn:hover {
  background-color: var(--primary-dark);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(26, 75, 132, 0.4);
}

.secondary-btn {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.secondary-btn:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.gold-btn {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.gold-btn:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/* ===== Header Styles ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

header.scrolled {
  padding: 10px 30px;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
  margin-right: 15px;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 0;
}

.logo span {
  color: var(--secondary-color);
}

nav ul {
  display: flex;
  gap: 30px;
}

nav ul li a {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 0;
  position: relative;
}

nav ul li a:hover {
  color: var(--primary-color);
}

nav ul li a.active {
  color: var(--primary-color);
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  padding-top: 80px;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.video-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  z-index: 0;
}

/* Fallback background if video fails to load */
.video-background:not(:has(video)) {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)),
    url("https://images.pexels.com/photos/47354/the-ball-stadion-football-the-pitch-47354.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1")
      center/cover no-repeat;
}

.hero-content {
  text-align: center;
  color: var(--text-light);
  max-width: 800px;
  padding: 0 20px;
  margin-bottom: 80px;
  z-index: 1;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  position: relative;
  display: inline-block;
}

.hero-content h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
  box-shadow: var(--gold-shadow);
  border-radius: 3px;
}

.hero-content h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  position: relative;
  z-index: 10;
}

.hero-cta .btn {
  position: relative;
  overflow: hidden;
}

.hero-cta .btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.7s ease;
}

.hero-cta .btn:hover::after {
  left: 100%;
}

.hero-cta .primary-btn {
  animation: pulse-subtle 2s infinite;
}

@keyframes pulse-subtle {
  0% {
    box-shadow: 0 0 0 0 rgba(26, 94, 150, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(26, 94, 150, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(26, 94, 150, 0);
  }
}

/* ===== Countdown Timer ===== */
.countdown-container {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.countdown-container h3 {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.countdown-item {
  background-color: rgba(26, 75, 132, 0.8);
  padding: 15px 20px;
  border-radius: var(--border-radius);
  min-width: 100px;
  border-bottom: 3px solid var(--secondary-color);
}

.countdown-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1;
  font-family: "Montserrat", sans-serif;
}

.countdown-label {
  font-size: 0.8rem;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* ===== Section Headers ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== About Section ===== */
.about {
  background-color: var(--light-bg);
}

.about-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-text p {
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.highlight-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.highlight-card {
  background-color: white;
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: all 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.highlight-card i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.highlight-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.highlight-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.about-video {
  flex: 1;
  height: 350px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  position: relative;
  cursor: pointer;
}

.about-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.video-overlay:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.video-overlay i {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.video-overlay span {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

/* ===== Schedule Section ===== */
.schedule {
  background-color: white;
}

.schedule-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.schedule-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 120px;
  width: 4px;
  background-color: var(--primary-color);
}

.timeline-item {
  position: relative;
  padding-left: 160px;
  margin-bottom: 50px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-date {
  position: absolute;
  left: 0;
  top: 0;
  width: 100px;
  text-align: right;
}

.timeline-date .date {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.timeline-date .year {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.timeline-content {
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--box-shadow);
  position: relative;
}

.timeline-content::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 20px;
  width: 30px;
  height: 4px;
  background-color: var(--primary-color);
}

.timeline-content h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.timeline-content p {
  margin-bottom: 10px;
}

.timeline-content .location {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.timeline-content .location i {
  margin-right: 5px;
  color: var(--secondary-color);
}

/* ===== Tournament Format Section ===== */
.tournament {
  background-color: var(--light-bg);
}

.tournament-format {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.phase {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.phase:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.phase-icon {
  background-color: var(--primary-color);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phase-icon i {
  font-size: 3rem;
  color: white;
}

.phase-content {
  padding: 25px;
}

.phase-content h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.phase-content p {
  margin-bottom: 20px;
}

.phase-details {
  list-style: none;
}

.phase-details li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.phase-details li i {
  color: var(--secondary-color);
  margin-right: 10px;
  font-size: 0.9rem;
  margin-top: 5px;
}

/* Tournament bracket frame */
.tournament-bracket-frame {
  background-color: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: 3px solid var(--secondary-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tournament-bracket-frame:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.tournament-bracket-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  max-height: 500px;
  object-fit: contain;
}

.bracket-caption {
  margin-top: 15px;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.2rem;
  text-align: center;
}

/* ===== Gallery Section ===== */
.gallery {
  padding-bottom: 50px;
  background-color: white;
}

/* Gallery video container */
.gallery-video-container {
  margin-bottom: 30px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  position: relative;
  height: 400px;
}

.gallery-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 250px;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
  position: relative;
}

.gallery-item:hover {
  transform: translateY(-7px);
  box-shadow: var(--box-shadow-hover);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
  height: auto;
}

/* ===== Registration Section ===== */
.registration {
  background: linear-gradient(to bottom, var(--light-bg) 0%, white 100%);
}

.registration-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.registration-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.registration-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
  border-color: var(--secondary-color);
}

.featured-card {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-15px);
  border-color: var(--secondary-color);
}

.featured-card h3,
.featured-card .card-price {
  color: white;
}

.featured-card:hover {
  transform: translateY(-25px);
  border-color: var(--secondary-color);
}

.card-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.featured-card .card-icon {
  color: var(--secondary-color);
}

.registration-card h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.card-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.card-features {
  text-align: left;
  margin-bottom: 30px;
}

.featured-card .card-features li,
.featured-card .card-features li i {
  color: white;
}

.card-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.card-features li i {
  color: var(--secondary-color);
  margin-right: 10px;
}

.card-btn {
  width: 100%;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

/* Payment button styles removed */

/* ===== Testimonials Section ===== */
.testimonials {
  background-color: var(--primary-color);
  color: white;
}

.testimonials .section-header h2 {
  color: white;
}

.testimonials .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  margin-bottom: 30px;
  display: none;
}

.testimonial.active {
  display: block;
}

.testimonial-content {
  color: var(--text-dark);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  top: -30px;
  left: -10px;
  color: rgba(26, 75, 132, 0.1);
  font-family: Georgia, serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  border: 3px solid var(--secondary-color);
}

.author-info h4 {
  color: var(--primary-color);
  margin: 0;
  font-size: 1.1rem;
}

.author-info span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.prev-btn,
.next-btn {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev-btn:hover,
.next-btn:hover {
  background-color: white;
  color: var(--primary-color);
}

.dots {
  display: flex;
  gap: 8px;
  margin: 0 20px;
}

/* Confetti animation */
.confetti-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  background-color: gold;
  opacity: 0.8;
  border-radius: 2px;
  z-index: 1;
}

@keyframes fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  25% {
    transform: translateY(25vh) rotate(90deg);
  }
  50% {
    transform: translateY(50vh) rotate(180deg);
  }
  75% {
    transform: translateY(75vh) rotate(270deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

/* Hero video with parallax */
.hero-video-element {
  transform: scale(1.1);
  transition: transform 0.5s ease;
}

/* Video Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.video-modal-content {
  background-color: var(--dark-blue);
  border-radius: var(--border-radius);
  max-width: 800px;
  width: 90%;
  position: relative;
  padding-bottom: 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.video-modal-content video {
  width: 100%;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
}

.video-modal-content h3 {
  color: var(--white);
  text-align: center;
  margin-top: 15px;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.close-modal:hover {
  color: var(--secondary-color);
}

/* Enhanced buttons */
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.15);
}

.gold-btn {
  background: var(--gold-gradient);
  box-shadow: var(--gold-shadow);
}

.gold-btn:hover {
  background: linear-gradient(135deg, #f9d976 0%, #c99126 100%);
  box-shadow: 0 7px 14px rgba(229, 168, 35, 0.4);
}

/* Media queries for different screen sizes */
@media screen and (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .countdown-item {
    padding: 10px;
  }

  .countdown-value {
    font-size: 2rem;
  }

  .video-modal-content {
    width: 95%;
  }
}

@media screen and (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .countdown-item {
    padding: 5px;
    min-width: 60px;
  }

  .countdown-value {
    font-size: 1.5rem;
  }
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--secondary-color);
}

/* ===== Sponsors Section ===== */
.sponsors {
  background-color: white;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  align-items: center;
  margin-bottom: 60px;
}

.sponsor {
  text-align: center;
  padding: 20px;
  transition: all 0.3s ease;
}

.sponsor:hover {
  transform: scale(1.05);
}

.sponsor img {
  max-width: 100%;
  max-height: 80px;
  margin: 0 auto;
}

.single-sponsor {
  grid-column: 1 / -1;
  max-width: 400px;
  margin: 0 auto;
}

.single-sponsor img {
  max-height: 150px;
}

.become-sponsor {
  text-align: center;
  background-color: var(--light-bg);
  padding: 40px;
  border-radius: var(--border-radius);
  margin-top: 50px;
}

.become-sponsor h3 {
  color: var(--primary-color);
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.become-sponsor p {
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Contact Section ===== */
.contact {
  background-color: var(--light-bg);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-right: 20px;
  margin-top: 5px;
}

.contact-item h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.contact-form {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(26, 75, 132, 0.1);
  outline: none;
}

/* ===== Footer ===== */
footer {
  background-color: var(--dark-bg);
  color: white;
  padding: 70px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 15px;
}

.footer-logo h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-links h4 {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-newsletter h4 {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.footer-newsletter form {
  display: flex;
}

.footer-newsletter input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-family: inherit;
  font-size: 0.9rem;
}

.footer-newsletter .btn {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  background-color: var(--secondary-color);
  color: var(--text-dark);
  font-weight: 600;
  padding: 0 20px;
}

.footer-newsletter .btn:hover {
  background-color: var(--secondary-dark);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-legal a:hover {
  color: var(--secondary-color);
}

/* ===== Tournament Bracket ===== */
.tournament-bracket-frame {
  border: 4px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 10px;
  background-color: white;
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
}

.tournament-bracket-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--border-radius) - 4px);
}

.bracket-caption {
  text-align: center;
  padding: 15px 0 5px;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* ===== Video Placeholders ===== */
.video-placeholder {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-placeholder:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.video-placeholder i {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.video-placeholder span {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
  .container {
    padding: 0 30px;
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }

  .hero-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 992px) {
  .section-header h2 {
    font-size: 2.2rem;
  }

  .about-content {
    flex-direction: column;
  }

  .about-video {
    width: 100%;
  }

  .highlight-boxes {
    grid-template-columns: 1fr 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  header {
    padding: 10px 20px;
    flex-direction: column;
  }

  .logo {
    margin-bottom: 10px;
  }

  nav ul {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li a {
    font-size: 0.85rem;
    padding: 5px 3px;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 10px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .countdown-timer {
    flex-wrap: wrap;
  }

  .countdown-item {
    min-width: 80px;
  }

  .highlight-boxes {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item.featured {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.3rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

  .countdown-timer {
    gap: 10px;
  }

  .countdown-item {
    min-width: 70px;
    padding: 10px;
  }

  .countdown-value {
    font-size: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.featured {
    grid-column: span 1;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .contact-form {
    padding: 20px;
  }

  .form-row {
    flex-direction: column;
  }
}

@media (max-width: 400px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content h2 {
    font-size: 1.2rem;
  }

  .countdown-timer {
    flex-wrap: wrap;
    justify-content: center;
  }

  .countdown-item {
    min-width: 60px;
    padding: 8px;
    margin-bottom: 10px;
  }

  .countdown-value {
    font-size: 1.2rem;
  }

  nav ul {
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li {
    margin-bottom: 5px;
  }

  nav ul li a {
    font-size: 0.75rem;
    padding: 3px 2px;
  }

  .logo h1 {
    font-size: 1.2rem;
  }

  .logo img {
    height: 40px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.8rem;
  }

  section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .customer-id {
    font-size: 1.4rem;
    word-break: break-all;
  }
}

/* ===== Animation Classes ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}
