.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--deep-navy);
}

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

.page-sports__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  background: linear-gradient(180deg, var(--deep-navy) 0%, var(--card-bg) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-sports__hero-image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  opacity: 0.2;
}

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

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 80px; /* Adjust for content spacing */
}

.page-sports__main-title {
  font-size: 3.2em;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  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: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border: none;
  box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

.page-sports__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 6px 20px rgba(43, 115, 246, 0.6);
}

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

.page-sports__btn-secondary:hover {
  background: var(--gold);
  color: var(--deep-navy);
}

.page-sports__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-sports__intro-section,
.page-sports__categories-section,
.page-sports__guide-section,
.page-sports__tips-section,
.page-sports__faq-section {
  padding: 60px 0;
  background-color: var(--deep-navy);
}

.page-sports__text-block {
  font-size: 1.1em;
  color: var(--text-secondary);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-sports__categories-section .page-sports__section-title {
  margin-bottom: 60px;
}

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

.page-sports__category-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
  text-align: center;
}

.page-sports__category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-sports__category-title {
  font-size: 1.5em;
  font-weight: 600;
  margin: 20px 15px 10px;
  color: var(--text-main);
}

.page-sports__category-description {
  font-size: 1em;
  color: var(--text-secondary);
  padding: 0 15px 20px;
}

.page-sports__features-section {
  background-color: var(--card-bg);
  padding: 80px 0;
}

.page-sports__features-section .page-sports__section-title {
  margin-bottom: 60px;
  color: var(--text-main);
}

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

.page-sports__feature-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-sports__feature-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--glow);
}

.page-sports__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-sports__feature-description {
  font-size: 1em;
  color: var(--text-secondary);
}

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

.page-sports__guide-section {
  padding: 80px 0;
  background-color: var(--deep-navy);
}

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

.page-sports__guide-step {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-sports__step-title {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-sports__step-description {
  font-size: 1em;
  color: var(--text-secondary);
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-sports__btn-link {
  background: var(--gold);
  color: var(--deep-navy);
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.page-sports__btn-link:hover {
  background: #e0a800;
}

.page-sports__tips-section {
  padding: 80px 0;
  background-color: var(--card-bg);
}

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

.page-sports__tip-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
  text-align: center;
}

.page-sports__tip-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-sports__tip-title {
  font-size: 1.4em;
  font-weight: 600;
  margin: 20px 15px 10px;
  color: var(--text-main);
}

.page-sports__tip-description {
  font-size: 1em;
  color: var(--text-secondary);
  padding: 0 15px 20px;
}

.page-sports__faq-section {
  padding: 80px 0;
  background-color: var(--deep-navy);
}

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

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

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(255, 255, 255, 0.05);
}

.page-sports__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  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);
  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(0, 0, 0, 0.1);
  border-radius: 0 0 5px 5px;
  color: var(--text-secondary);
}

.page-sports__conclusion-section {
  padding: 80px 0;
  background-color: var(--deep-navy);
  text-align: center;
  border-top: 1px solid var(--divider);
}

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

.page-sports__conclusion-section .page-sports__text-block {
  margin-bottom: 40px;
}

/* --- Responsive Design --- */

/* Common image and container responsive styles */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-sports__section,
.page-sports__card,
.page-sports__container,
.page-sports__category-card,
.page-sports__feature-item,
.page-sports__guide-step,
.page-sports__tip-card {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Common button and button container responsive styles */
.page-sports__cta-button,
.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports a[class*="button"],
.page-sports a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

/* --- Media Queries --- */

/* Homepage specific CSS (as required by prompt for output, even if not directly used by sports.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;
    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;
  }
  /* PC specific styles for other homepage modules, if they existed on sports page */
  .page-sports__promo-strip {
    margin-top: 16px;
  }
  .page-sports__promo-strip-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .page-sports__promo-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
  .page-sports__promo-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    margin-right: 15px;
  }
  .page-sports__hot-games-grid {
    grid-template-columns: repeat(6, 1fr);
    text-align: center;
  }
  .page-sports__hot-games-name,
  .page-sports__hot-games-rtp,
  .page-sports__hot-games-desc {
    display: block;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding-top: 0;
    padding-bottom: 30px;
  }
  .page-sports__hero-content {
    padding-top: 40px;
  }
  .page-sports__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-sports__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 10px;
    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__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-sports__intro-section,
  .page-sports__categories-section,
  .page-sports__features-section,
  .page-sports__guide-section,
  .page-sports__tips-section,
  .page-sports__faq-section,
  .page-sports__conclusion-section {
    padding: 40px 0;
  }
  .page-sports__text-block {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-sports__category-grid,
  .page-sports__feature-grid,
  .page-sports__guide-steps,
  .page-sports__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sports__category-card,
  .page-sports__feature-item,
  .page-sports__guide-step,
  .page-sports__tip-card {
    padding: 20px;
  }
  .page-sports__category-image,
  .page-sports__tip-image {
    height: 180px;
  }
  .page-sports__category-title,
  .page-sports__feature-title,
  .page-sports__step-title,
  .page-sports__tip-title {
    font-size: 1.3em;
  }
  details.page-sports__faq-item summary.page-sports__faq-question {
    padding: 15px;
  }
  .page-sports__faq-qtext {
    font-size: 1em;
  }
  .page-sports__faq-toggle {
    font-size: 20px;
    width: 24px;
  }
  details.page-sports__faq-item .page-sports__faq-answer {
    padding: 0 15px 15px;
  }

  /* Homepage specific styles for 768px, as required by prompt */
  .page-sports__promo-strip-track {
    grid-template-columns: repeat(2, 1fr);
    overflow-x: hidden;
    padding: 0 15px;
    gap: 15px;
  }
  .page-sports__promo-card {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }
  .page-sports__promo-image {
    margin: 0 auto 10px;
  }
  .page-sports__hot-games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 15px;
  }
  .page-sports__hot-games-name,
  .page-sports__hot-games-rtp,
  .page-sports__hot-games-desc {
    display: none;
  }
  .page-sports__winner-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
  }
  body {
    padding-bottom: 50px; /* Adjust if winner ticker is fixed */
  }
}

/* Homepage specific CSS (as required by prompt for output, even if not directly used by sports.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 var(--gold);
  border-radius:10px;
  overflow:hidden;
}
.page-sports__reward-modal{
  position:fixed;
  inset:0;
  z-index:10000;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.page-sports__reward-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}
.page-sports__reward-modal-content {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  color: var(--text-main);
}
.page-sports__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2em;
  color: var(--text-secondary);
  cursor: pointer;
}
.page-sports__reward-modal-title {
  font-size: 2em;
  color: var(--gold);
  margin-bottom: 15px;
}
.page-sports__reward-modal-text {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 25px;
}
.page-sports__reward-modal-cta {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.3s ease;
}
.page-sports__reward-modal-cta:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}