/* style/sports.css */

/* General page styles */
.page-sports {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #f8f8f8; /* Light background for the main content area */
}

.page-sports__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-sports__dark-bg {
    background-color: #A00000; /* Primary color */
    color: #ffffff;
}

.page-sports__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-sports__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit color from parent section */
    line-height: 1.2;
}

.page-sports__text-block {
    font-size: 18px;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: inherit;
}

/* Hero Section */
.page-sports__hero-section {
    position: relative;
    padding: 100px 0 80px;
    text-align: center;
    background: url('[GALLERY:hero_main:1920x1080:thabet 88 sports,stadium,crowd,excitement]') no-repeat center center/cover;
    /* Fixed header spacing */
    padding-top: var(--header-offset, 120px);
}

.page-sports__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: 0;
}

.page-sports__hero-section .page-sports__container {
    position: relative;
    z-index: 1;
}

.page-sports__main-title {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 20px;
    color: #FFD700; /* Secondary color for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.1;
}

.page-sports__description {
    font-size: 22px;
    margin-bottom: 40px;
    color: #f0f0f0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-sports__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-sports__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    text-align: center;
}

.page-sports__btn-primary {
    background-color: #FFD700; /* Secondary color */
    color: #A00000; /* Primary color */
    border: 2px solid #FFD700;
}

.page-sports__btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-sports__btn-secondary {
    background-color: #A00000; /* Primary color */
    color: #FFD700; /* Secondary color */
    border: 2px solid #FFD700;
}

.page-sports__btn-secondary:hover {
    background-color: #8a0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Video Section */
.page-sports__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background-color: #1a1a1a; /* Dark background for video section */
  color: #ffffff;
}

.page-sports__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-sports__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-sports__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-sports__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click event */
}

.page-sports__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-sports__video-link:hover .page-sports__video-overlay {
  opacity: 1;
}

.page-sports__video-click-hint {
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 12px 25px;
  background: rgba(255, 215, 0, 0.8); /* Use secondary color */
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.page-sports__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-sports__play-now-button {
  display: inline-block;
  padding: 18px 45px;
  background: #FFD700; /* Secondary color */
  color: #A00000; /* Primary color */
  text-decoration: none;
  border-radius: 10px;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.page-sports__play-now-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

.page-sports__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.page-sports__features-section {
    padding: 80px 0;
    text-align: center;
}

.page-sports__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-sports__feature-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-sports__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-sports__feature-icon {
    width: 100%;
    max-width: 250px; /* Adjust max-width for feature images */
    height: auto;
    margin-bottom: 25px;
    border-radius: 8px;
    object-fit: cover;
}

.page-sports__card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #A00000; /* Primary color for card titles */
    line-height: 1.3;
}

.page-sports__card-text {
    font-size: 16px;
    color: #555555;
    flex-grow: 1;
}

/* Sport Types Section */
.page-sports__sport-types-section {
    padding: 80px 0;
    text-align: center;
}

.page-sports__sport-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-sports__sport-item {
    background-color: #1e1e1e; /* Darker background for sport items */
    color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-sports__sport-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-sports__sport-image {
    width: 100%;
    max-width: 400px; /* Adjust max-width for sport images */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-sports__item-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #FFD700; /* Secondary color for item titles */
    line-height: 1.3;
}

.page-sports__item-description {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Promotions Section */
.page-sports__promotions-section {
    padding: 80px 0;
    text-align: center;
}

.page-sports__promotion-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-sports__promotion-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-sports__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-sports__promotion-image {
    width: 100%;
    max-width: 600px; /* Adjust max-width for promotion images */
    height: auto;
    margin-bottom: 25px;
    border-radius: 8px;
    object-fit: cover;
}

.page-sports__btn-container {
    margin-top: 50px;
    text-align: center;
}

/* Guide Section */
.page-sports__guide-section {
    padding: 80px 0;
    text-align: center;
}

.page-sports__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-sports__step-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1e1e1e; /* Darker background for step cards */
    color: #ffffff;
}

.page-sports__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-sports__step-card .page-sports__card-title {
    color: #FFD700; /* Secondary color */
}

.page-sports__step-card .page-sports__card-text {
    color: #cccccc;
}

/* FAQ Section */
.page-sports__faq-section {
    padding: 80px 0;
    text-align: center;
}

.page-sports__faq-list {
    max-width: 900px;
    margin: 50px auto 0;
    text-align: left;
}

.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #f0f0f0;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}