/* Base Styles & Typography */
.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Main text color for dark background */
  background-color: #0A0A0A; /* Page background color */
}

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

.page-sports__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 25px;
  padding-top: 50px;
}

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

.page-sports__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFF6D6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px;
}

.page-sports__hero-description {
  font-size: 18px;
  color: #f0e6c8;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px;
}

.page-sports__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #F2C14E;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-sports__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Buttons */
.page-sports__btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__btn-primary:hover {
  background: linear-gradient(180deg, #FFE082 0%, #E8B02F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

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

.page-sports__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A;
  transform: translateY(-1px);
}

/* Card Styles */
.page-sports__card {
  background: #111111; /* Card Background */
  border: 1px solid #3A2A12; /* Border Color */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #FFF6D6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Sections */
.page-sports__about-section,
.page-sports__guide-section,
.page-sports__promotions-section,
.page-sports__responsible-gaming-section,
.page-sports__faq-section {
  padding: 60px 0;
}

.page-sports__dark-section {
  background-color: #0d0d0d;
}

/* Feature Grid */
.page-sports__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__feature-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__feature-icon {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-sports__feature-title {
  font-size: 22px;
  font-weight: 600;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-sports__feature-text {
  font-size: 16px;
  color: #FFF6D6;
}

/* Popular Sports Section */
.page-sports__popular-sports-section {
  padding: 80px 0;
}

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

.page-sports__sport-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__sport-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-sports__sport-name {
  font-size: 24px;
  font-weight: 700;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-sports__sport-text {
  font-size: 15px;
  color: #FFF6D6;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Guide Section */
.page-sports__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__step-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__step-title {
  font-size: 22px;
  font-weight: 600;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-sports__step-text {
  font-size: 16px;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-sports__bet-types {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__bet-types li {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 16px;
  color: #FFF6D6;
}

.page-sports__bet-types li strong {
  color: #FFD36B;
}

/* Live Betting Section */
.page-sports__live-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__live-feature-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__live-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-sports__live-title {
  font-size: 22px;
  font-weight: 600;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-sports__live-text {
  font-size: 16px;
  color: #FFF6D6;
}

/* Promotions Section */
.page-sports__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__promo-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-sports__promo-title {
  font-size: 22px;
  font-weight: 600;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-sports__promo-text {
  font-size: 16px;
  color: #FFF6D6;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Responsible Gaming Section */
.page-sports__responsible-gaming-section .page-sports__container {
  text-align: center;
  padding-bottom: 40px;
}

/* FAQ Section */
details.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  overflow: hidden;
  background: #111111;
  color: #FFF6D6;
}
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: #1a1a1a;
}
.page-sports__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E;
}
.page-sports__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B;
  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: #0d0d0d;
  border-radius: 0 0 10px 10px;
  color: #FFF6D6;
}

/* --- VERBATIM HOMEPAGE CSS BLOCKS (REQUIRED FOR OUTPUT) --- */
/* Mobile-first adjustments for homepage trial (1023px) */
@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;
  }
}

/* Desktop adjustments for homepage trial (min-width: 1024px) */
@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;
  }
}

/* Mobile (max-width: 768px) for various elements */
@media (max-width: 768px) {
  /* General content area padding */
  .page-sports__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Text sizes */
  .page-sports__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }
  .page-sports__section-title {
    font-size: clamp(28px, 6vw, 36px);
  }
  .page-sports__section-description,
  .page-sports__hero-description,
  .page-sports__feature-text,
  .page-sports__sport-text,
  .page-sports__step-text,
  .page-sports__live-text,
  .page-sports__promo-text,
  .page-sports__bet-types li {
    font-size: 15px;
  }

  /* Hero Section */
  .page-sports__hero-section {
    padding-top: 10px;
    padding-bottom: 40px;
    min-height: 450px;
  }
  .page-sports__hero-content {
    padding: 15px;
  }

  /* Buttons */
  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports a[class*="button"],
  .page-sports a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-bottom: 10px;
  }
  .page-sports__cta-buttons,
  .page-sports__button-group,
  .page-sports__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Images and Containers */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__feature-grid,
  .page-sports__sport-grid,
  .page-sports__guide-steps,
  .page-sports__live-features,
  .page-sports__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__feature-icon,
  .page-sports__sport-image,
  .page-sports__live-image,
  .page-sports__promo-image {
    height: 180px;
  }

  /* FAQ Section */
  details.page-sports__faq-item summary.page-sports__faq-question { padding: 15px; }
  .page-sports__faq-qtext { font-size: 15px; }
  details.page-sports__faq-item .page-sports__faq-answer { padding: 0 15px 15px; }

  /* Placeholder for homepage promo strip (not used on sports page, but required for output) */
  .page-sports__promo-strip-track {
    grid-template-columns: repeat(2, 1fr) !important; /* Example for 2 columns on mobile */
    overflow-x: hidden !important;
  }
  .page-sports__promo-card {
    flex-direction: column !important;
    text-align: center !important;
  }
  .page-sports__promo-image {
    width: 100% !important;
    height: auto !important;
    margin-bottom: 10px !important;
  }

  /* Placeholder for homepage hot games (not used on sports page, but required for output) */
  .page-sports__hot-games-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
  .page-sports__hot-games-item .page-sports__hot-games-name,
  .page-sports__hot-games-item .page-sports__hot-games-rtp,
  .page-sports__hot-games-item .page-sports__hot-games-desc {
    display: none !important;
  }
  .page-sports__hot-games-item img {
    width: 100% !important;
    height: auto !important;
  }

  /* Placeholder for homepage brand intro (not used on sports page, but required for output) */
  .page-sports__brand-intro-content {
    padding: 20px !important;
  }
  .page-sports__brand-intro-text {
    font-size: 15px !important;
  }

  /* Placeholder for homepage winner ticker (not used on sports page, but required for output) */
  .page-sports__winner-ticker {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 999 !important;
    padding: 10px 0 !important;
  }
  body {
    padding-bottom: 50px !important; /* Adjust if ticker height varies */
  }
}

/* Common elements that might be on homepage or inner pages, but specific to this page's styling */
.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;}