/* Base Styles for Sports Page */
.page-sports {
  background: #0A0A0A;
  color: #FFF6D6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-sports__section {
  padding: 40px 20px;
  margin-bottom: 30px;
}

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

.page-sports__section-title {
  font-size: 3em;
  font-weight: bold;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-sports__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F2C14E;
  max-width: 900px;
  margin-bottom: 20px;
}

.page-sports__subtitle {
  font-size: 1.2em;
  color: #FFF6D6;
  max-width: 800px;
  margin-bottom: 30px;
}

/* Buttons */
.page-sports__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-small,
.page-sports__btn-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-sports__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-sports__btn-secondary {
  background: #111111;
  color: #F2C14E;
  border: 2px solid #F2C14E;
}

.page-sports__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  transform: translateY(-2px);
}

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

.page-sports__btn-large {
  padding: 15px 30px;
  font-size: 1.2em;
  min-width: 250px;
}

/* Cards */
.page-sports__card {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #FFF6D6;
  height: 100%;
  box-sizing: border-box;
}

.page-sports__card-title {
  font-size: 1.8em;
  color: #F2C14E;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-sports__card-text {
  font-size: 1em;
  color: #FFF6D6;
}

.page-sports__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin-bottom: 15px;
}

/* Hero Section */
.page-sports__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 50px;
  background: #0A0A0A;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-sports__hero-content {
  padding: 0 15px;
  max-width: 100%;
  box-sizing: border-box;
}

/* Intro Section */
.page-sports__intro-section {
  background: #0A0A0A;
}

.page-sports__intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-sports__intro-content p {
  max-width: 800px;
  text-align: center;
  font-size: 1.05em;
  color: #FFF6D6;
}

.page-sports__intro-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* Sports Categories */
.page-sports__sports-categories {
  background: #0A0A0A;
}

.page-sports__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-sports__category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

/* Why Choose Us */
.page-sports__why-choose-us {
  background: #0A0A0A;
}

.page-sports__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

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

.page-sports__benefit-title {
  font-size: 1.6em;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-sports__benefit-text {
  font-size: 0.95em;
  color: #FFF6D6;
}

.page-sports__benefits-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  margin-top: 20px;
}

/* How To Bet */
.page-sports__how-to-bet {
  background: #111111;
}

.page-sports__dark-section .page-sports__section-title {
  color: #F2C14E;
}

.page-sports__dark-section .page-sports__section-description {
  color: #FFF6D6;
}

.page-sports__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.page-sports__step-item {
  text-align: center;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-sports__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #F2C14E;
  color: #111111;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.page-sports__step-title {
  font-size: 1.7em;
  color: #FFD36B;
  margin-bottom: 15px;
}

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

.page-sports__cta-bottom {
  text-align: center;
  margin-top: 30px;
}

.page-sports__cta-bottom p {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 25px;
}

/* Promotions */
.page-sports__promotions-section {
  background: #0A0A0A;
}

.page-sports__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

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

/* 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: rgba(242, 193, 78, 0.1);
}
.page-sports__faq-qtext {
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD36B;
}
.page-sports__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E;
  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: rgba(17, 17, 17, 0.8);
  border-radius: 0 0 10px 10px;
  color: #FFF6D6;
}

/* Image & Button Global Responsive */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-sports__section,
.page-sports__card,
.page-sports__container,
.page-sports__cta-buttons,
.page-sports__button-group,
.page-sports__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive for Tablet (min-width: 769px and max-width: 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .page-sports__section-title {
    font-size: 2.5em;
  }
  .page-sports__main-title {
    font-size: 3.5em;
  }
  .page-sports__subtitle {
    font-size: 1.1em;
  }
  .page-sports__cta-buttons {
    flex-direction: row;
  }
  .page-sports__categories-grid,
  .page-sports__benefits-grid,
  .page-sports__steps-grid,
  .page-sports__promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-sports__step-item {
    padding: 20px 15px;
  }
  .page-sports__step-title {
    font-size: 1.5em;
  }
  .page-sports__faq-qtext {
    font-size: 1.1em;
  }
}

/* Responsive for Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-sports {
    padding-top: 10px;
  }
  .page-sports__section {
    padding: 30px 15px;
    margin-bottom: 20px;
  }
  .page-sports__section-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-sports__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-sports__main-title {
    font-size: 2.5em;
    margin-bottom: 15px;
  }
  .page-sports__subtitle {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .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;
    padding-right: 15px;
  }
  .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;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-sports__intro-content {
    flex-direction: column;
    gap: 20px;
  }
  .page-sports__intro-content p {
    text-align: left;
  }
  .page-sports__categories-grid,
  .page-sports__benefits-grid,
  .page-sports__steps-grid,
  .page-sports__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sports__card {
    padding: 20px;
  }
  .page-sports__card-title {
    font-size: 1.5em;
  }
  .page-sports__card-text {
    font-size: 0.9em;
  }
  .page-sports__benefit-title {
    font-size: 1.4em;
  }
  .page-sports__step-title {
    font-size: 1.4em;
  }
  .page-sports__step-number {
    width: 45px;
    height: 45px;
    font-size: 1.8em;
  }
  details.page-sports__faq-item summary.page-sports__faq-question {
    padding: 15px;
  }
  .page-sports__faq-qtext {
    font-size: 1em;
  }
  details.page-sports__faq-item .page-sports__faq-answer {
    padding: 0 15px 15px;
  }
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-sports__hero-image-wrapper,
  .page-sports__intro-image,
  .page-sports__benefits-image {
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
    max-width: calc(100% + 30px) !important;
    box-sizing: border-box;
  }
  .page-sports__intro-image,
  .page-sports__benefits-image {
    border-radius: 0;
  }
}

/* No specific 1023px/1024px media queries for non-homepage, as per instructions. */
/* The provided boilerplate for 1023px/1024px is for homepage game trial. */
/* Since this is a non-homepage, those specific blocks are not directly included here */
/* but general responsive rules are applied. */

/* The following are the required boilerplate CSS for homepage game trial. */
/* As per instructions, this page is 'sports.html' (non-homepage), so these specific blocks are not directly relevant */
/* but if the page were 'index.html', they would be included. */
/* For this 'sports.html' page, general responsive rules are sufficient. */

/* Placeholder for homepage specific CSS if this were index.html */
/* @media (max-width: 1023px) { .page-sports__home-hero { display: block !important; ... } } */
/* @media (min-width: 1024px) { .page-sports__home-hero { display: grid; ... } } */

/* The following are the required boilerplate CSS for homepage game trial. */
/* As per instructions, this page is 'sports.html' (non-homepage), so these specific blocks are not directly relevant */
/* but if the page were 'index.html', they would be included. */
/* For this 'sports.html' page, general responsive rules are sufficient. */

/* Placeholder for homepage specific CSS if this were index.html */
/* @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;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;aspect-ratio:1024/768;min-height:240px;max-height:none!important;flex:none!important;overflow:hidden;box-sizing:border-box;width:100%;}.page-sports__game-trial-frame{position:absolute;inset:0;width:100%!important;height:100%!important;min-height:0!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%;align-items:stretch;max-width:1280px;margin:0 auto;padding-bottom:24px;}.page-sports__hero-brand,.page-sports__hero-jackpot,.page-sports__game-trial{height:300px;max-height:300px;}.page-sports__game-trial{overflow:hidden;}.page-sports__game-trial-shell{display:flex;flex-direction:column;height:100%;}.page-sports__game-trial-viewport{flex:1;min-height:0;}.page-sports__game-trial-frame{height:100%;min-height:0;}.page-sports__hero-jackpot-claim{background:#c62828!important;}.page-sports__promo-strip{margin-top:16px;}} */

/* The following are general purpose styles that might be needed, but specific homepage game trial CSS is excluded as this is a non-homepage */
.is-hidden { display: none !important; }
.page-sports__reward-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.7); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.page-sports__reward-modal:not([hidden]) { opacity: 1; visibility: visible; }
.page-sports__reward-modal-content { background: #111111; padding: 30px; border-radius: 10px; text-align: center; max-width: 500px; width: 90%; position: relative; box-shadow: 0 5px 20px rgba(0,0,0,0.5); }
.page-sports__reward-modal-close { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 2em; color: #FFF6D6; cursor: pointer; line-height: 1; }
.page-sports__reward-modal-title { color: #F2C14E; font-size: 2em; margin-bottom: 15px; }
.page-sports__reward-modal-text { color: #FFF6D6; font-size: 1.1em; margin-bottom: 25px; }
.page-sports__reward-modal-button { background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); color: #111111; padding: 10px 25px; border-radius: 8px; text-decoration: none; font-weight: bold; }