/* Base Styles */
.page-sports {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #ffffff);
  line-height: 1.6;
}

.page-sports__section-padding {
  padding: 40px 0;
}

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

.page-sports__section-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 25px;
}

.page-sports__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #555555;
}

.page-sports__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-sports__section-title--light,
.page-sports__section-description--light {
  color: #ffffff;
}

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-sports__btn-primary:hover {
  background-color: #1a8cc4;
  border-color: #1a8cc4;
}

.page-sports__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-sports__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a8cc4;
  border-color: #1a8cc4;
}

.page-sports__btn-small {
  padding: 8px 18px;
  font-size: 15px;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding for main content */
}

.page-sports__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.page-sports__hero-title {
  font-size: clamp(36px, 5vw, 50px);
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
}

.page-sports__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-sports__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Intro Section */
.page-sports__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-sports__text-block p {
  margin-bottom: 15px;
}

.page-sports__image-block img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Betting Types Section */
.page-sports__types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-sports__type-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  padding-bottom: 20px;
}

.page-sports__type-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-sports__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-sports__type-card p {
  font-size: 15px;
  color: #555555;
  padding: 0 15px;
}

/* Why Choose Section */
.page-sports__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-sports__feature-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
}

.page-sports__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 15px;
  display: block;
}

.page-sports__feature-title {
  font-size: 20px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-sports__feature-item p {
  font-size: 15px;
  color: #555555;
}

/* Tips Section */
.page-sports__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-sports__tip-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding-bottom: 20px;
}

.page-sports__tip-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-sports__tip-card .page-sports__card-title {
  font-size: 20px;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-sports__tip-card p {
  font-size: 15px;
  color: #555555;
  padding: 0 15px;
}

/* Game Trial Section */
.page-sports__game-trial-shell {
  border: 1px solid rgba(38, 169, 224, 0.45);
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 30px;
  box-sizing: border-box;
}

.page-sports__game-trial-frame {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}

.page-sports__trial-cta {
  text-align: center;
}

/* FAQ Section */
.page-sports__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

details.page-sports__faq-item summary.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-sports__faq-item summary.page-sports__faq-question::-webkit-details-marker {
  display: none;
}

details.page-sports__faq-item summary.page-sports__faq-question:hover {
  background: #f5f5f5;
}

.page-sports__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-sports__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-sports__faq-item .page-sports__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

/* CTA Footer */
.page-sports__cta-footer .page-sports__cta-content {
  text-align: center;
}

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

/* Responsive Design */
@media (max-width: 1023px) {
  .page-sports__hero-section {
    height: auto;
    padding: 10px 0 30px; /* Adjust padding for smaller screens */
  }
  .page-sports__hero-content {
    padding: 15px;
  }
  .page-sports__hero-title {
    font-size: clamp(30px, 6vw, 40px);
  }
  .page-sports__hero-description {
    font-size: 16px;
  }
  .page-sports__content-grid {
    grid-template-columns: 1fr;
  }
  .page-sports__image-block {
    order: -1; /* Image above text on mobile */
  }
  .page-sports__game-trial-frame {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .page-sports__section-padding {
    padding: 30px 0;
  }
  .page-sports__section-title {
    font-size: clamp(24px, 6vw, 30px);
    margin-bottom: 20px;
  }
  .page-sports__section-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-sports__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
  }
  .page-sports__hero-buttons,
  .page-sports__cta-buttons {
    padding: 0 15px;
  }
  .page-sports__type-card img,
  .page-sports__tip-card img {
    
  }
  .page-sports__game-trial-frame {
    height: 300px;
  }
  details.page-sports__faq-item summary.page-sports__faq-question { padding: 15px; }
  .page-sports__faq-qtext { font-size: 15px; }
  .page-sports__faq-toggle { font-size: 20px; width: 24px; height: 24px; margin-left: 10px; }
  details.page-sports__faq-item .page-sports__faq-answer { padding: 0 15px 15px; }

  /* Mobile specific image and container adaptation */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-sports__container,
  .page-sports__content-grid,
  .page-sports__types-grid,
  .page-sports__features-grid,
  .page-sports__tips-grid,
  .page-sports__game-trial-shell,
  .page-sports__faq-list,
  .page-sports__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

/* The following CSS is boilerplate required by the prompt, even if not directly used by this inner page's content */
@media (max-width: 1023px) {
  .page-sports__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-sports__hero-brand,
  .page-sports__hero-jackpot {
    display: none !important;
  }
  .page-sports__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-sports__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-sports__game-trial-topbar,
  .page-sports__game-trial-bottombar {
    display: none !important;
  }
  .page-sports__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-sports__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-sports__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-sports__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-sports__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-sports__hero-brand,
  .page-sports__hero-jackpot,
  .page-sports__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-sports__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-sports__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-sports__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-sports__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-sports__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

/* Boilerplate for homepage elements, even if not used on this inner page, as per prompt requirements */
.page-sports__promo-strip-track { /* Placeholder, assuming this is for homepage */ }
.page-sports__hot-games-grid { /* Placeholder, assuming this is for homepage */ }
.page-sports__hero-brand { /* Placeholder for homepage */ }
.page-sports__hero-jackpot { /* Placeholder for homepage */ }
.page-sports__game-trial-overlay{z-index:5;pointer-events:auto;}.page-sports__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}.page-sports__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}.page-sports__game-trial-shell{border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}.page-sports__reward-modal{position:fixed;inset:0;z-index:10000;}
.page-sports__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
  z-index: 10001;
}