:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --page-bg-dark: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

.page-sports {
  background-color: var(--page-bg-dark); /* Assuming body background is dark from shared.css */
  color: var(--text-main);
  font-family: Arial, sans-serif;
  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: 36px;
  font-weight: bold;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-sports__section-description {
  font-size: 18px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__text-block {
  font-size: 17px;
  color: var(--text-main);
  margin-bottom: 20px;
}

.page-sports__dark-section {
  background-color: var(--deep-green);
  color: var(--text-main);
}

.page-sports__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  margin-top: -150px; /* Overlap slightly with image for visual flow */
  padding: 0 15px;
  max-width: 900px;
}

.page-sports__main-title {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-sports__hero-description {
  font-size: 19px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-sports__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-sports__btn-secondary {
  background: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
}

.page-sports__btn-secondary:hover {
  background: var(--gold-color);
  color: var(--page-bg-dark);
  transform: translateY(-2px);
}

.page-sports__popular-sports-section .page-sports__section-title {
  color: var(--gold-color);
}

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

.page-sports__sports-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border-color);
}

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

.page-sports__sports-card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-sports__sports-card-description {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-sports__sports-card-btn {
  margin-top: auto;
  width: calc(100% - 30px);
}

.page-sports__odds-types-section .page-sports__section-title {
  color: var(--gold-color);
}

.page-sports__odds-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-sports__odds-list li {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.page-sports__odds-list h3 {
  font-size: 22px;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-sports__odds-list p {
  font-size: 16px;
  color: var(--text-secondary);
}

.page-sports__how-to-bet-section .page-sports__section-title {
  color: var(--gold-color);
}

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

.page-sports__guide-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-sports__guide-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__guide-title {
  font-size: 24px;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-sports__guide-text {
  font-size: 16px;
  color: var(--text-secondary);
}

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

.page-sports__promotions-section .page-sports__section-title {
  color: var(--gold-color);
}

.page-sports__security-section .page-sports__section-title {
  color: var(--gold-color);
}

.page-sports__faq-section .page-sports__section-title {
  color: var(--gold-color);
}

details.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
}

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: var(--deep-green);
}

.page-sports__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}

.page-sports__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color);
  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: var(--deep-green);
  border-radius: 0 0 10px 10px;
  color: var(--text-secondary);
}

.page-sports__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.page-sports__conclusion-section .page-sports__section-title {
  color: var(--gold-color);
}

/* General image responsiveness */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-sports__section-padding {
    padding: 30px 0;
  }

  .page-sports__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-sports__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-sports__text-block {
    font-size: 15px;
  }

  .page-sports__hero-content {
    margin-top: -100px;
  }

  .page-sports__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }

  .page-sports__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-sports__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-sports__sports-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__sports-card-title {
    font-size: 20px;
  }

  .page-sports__sports-card-description {
    font-size: 14px;
  }

  .page-sports__odds-list li {
    padding: 20px;
  }

  .page-sports__odds-list h3 {
    font-size: 18px;
  }

  .page-sports__odds-list p {
    font-size: 14px;
  }

  .page-sports__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__guide-title {
    font-size: 20px;
  }

  .page-sports__guide-text {
    font-size: 14px;
  }

  details.page-sports__faq-item summary.page-sports__faq-question {
    padding: 15px;
  }

  .page-sports__faq-qtext {
    font-size: 16px;
  }

  .page-sports__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

  details.page-sports__faq-item .page-sports__faq-answer {
    padding: 0 15px 15px;
  }
  
  .page-sports__container,
  .page-sports__hero-section,
  .page-sports__introduction-section,
  .page-sports__popular-sports-section,
  .page-sports__odds-types-section,
  .page-sports__how-to-bet-section,
  .page-sports__promotions-section,
  .page-sports__security-section,
  .page-sports__faq-section,
  .page-sports__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

/* Mandatory Homepage Trial CSS (as per prompt instructions for output JSON) */
@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;
  }
}

/* Additional homepage specific styles for completeness as per prompt, though not used by sports.html HTML */
.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 {
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  color: #fff;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-sports--reward-open {
  overflow: hidden;
}