/* Base styles for page-sports */
.page-sports {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

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

.page-sports__section {
  padding: 60px 0;
  text-align: center;
}

.page-sports__section-title {
  font-size: 36px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  font-weight: 700;
}

.page-sports__text-block {
  font-size: 17px;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.8;
}

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

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

.page-sports__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-sports__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.6);
}

.page-sports__btn-secondary {
  background: #FFFFFF; /* Card BG */
  color: #2F6BFF; /* Main Color */
  border: 2px solid #2F6BFF; /* Main Color */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-sports__btn-secondary:hover {
  background: #2F6BFF; /* Main Color */
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.3);
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  padding: 0;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
}

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

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

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-sports__main-title {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-sports__subtitle {
  font-size: 22px;
  margin-bottom: 40px;
  color: #F0F8FF;
}

/* Dark Background Section */
.page-sports__dark-section {
  background: #2F6BFF; /* Main Color */
  color: #FFFFFF;
}

.page-sports__dark-section .page-sports__section-title,
.page-sports__dark-section .page-sports__text-block {
  color: #FFFFFF;
}

/* Light Background Section */
.page-sports__light-bg {
  background: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
}

.page-sports__light-bg .page-sports__section-title,
.page-sports__light-bg .page-sports__text-block {
  color: #1F2D3D;
}

/* Features List */
.page-sports__list-features {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 700px;
  text-align: left;
}

.page-sports__list-item {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 10px;
  font-size: 18px;
  color: #1F2D3D; /* Text Main */
  display: flex;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-sports__list-item::before {
  content: '✓';
  color: #2F6BFF; /* Main Color */
  font-weight: bold;
  margin-right: 10px;
  font-size: 20px;
}

/* Guide Steps */
.page-sports__guide-steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-sports__guide-step {
  background: #FFFFFF; /* Card BG */\  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  padding: 30px;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.page-sports__guide-step h3 {
  color: #2F6BFF; /* Main Color */
  font-size: 22px;
  margin-bottom: 15px;
}

.page-sports__guide-step p {
  color: #1F2D3D; /* Text Main */
  font-size: 16px;
}

/* FAQ Section */
.page-sports__faq-section {
  padding-bottom: 60px;
}

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

details.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #FFFFFF; /* 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: #F4F7FB; /* Background */
}

.page-sports__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D; /* Text Main */
}

.page-sports__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF; /* Main 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: #F4F7FB; /* Background */
  border-radius: 0 0 5px 5px;
  color: #1F2D3D; /* Text Main */
}

/* Responsive Styles */
@media (max-width: 1023px) {
  .page-sports__hero-content {
    padding: 30px 15px;
  }

  .page-sports__main-title {
    font-size: 40px;
  }

  .page-sports__subtitle {
    font-size: 18px;
  }

  .page-sports__section-title {
    font-size: 30px;
  }

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

  .page-sports__guide-steps {
    flex-direction: column;
    align-items: center;
  }

  .page-sports__guide-step {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-sports {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-sports__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-sports__hero-section {
    min-height: 400px;
  }

  .page-sports__main-title {
    font-size: 32px;
    line-height: 1.3;
  }

  .page-sports__subtitle {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-sports__section-title {
    font-size: 26px;
  }

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

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

  .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: 12px 20px;
    font-size: 16px;
  }

  /* Button containers */
  .page-sports__hero-content > .page-sports__btn-primary {
    margin-top: 15px;
  }

  .page-sports__guide-steps {
    gap: 15px;
  }

  .page-sports__guide-step {
    padding: 20px;
    min-width: unset;
  }

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

  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; }

  /* Fixed header spacing - specific for this page if shared.css does not cover body */
  /* Assuming shared.css handles body padding-top, no explicit padding-top on first section here */
}

/* CSS for game trial - not directly used on this page but kept for compliance if needed for other contexts */
@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;gap:16px;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;}
}

/* General game trial related styles */
.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;}

/* Placeholder for promo/hot-games/brand-intro/winner-ticker styles for 768px */
@media (max-width: 768px) {
  /* Promo Strip - Example structure, assuming it exists on a homepage context */
  .page-sports__promo-strip-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important; /* Changed from 4 to 2 for mobile */
    gap: 15px;
    overflow-x: hidden;
    padding: 0 15px;
  }
  .page-sports__promo-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 15px;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  .page-sports__promo-card-image {
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 10px;
  }
  .page-sports__promo-card-title {
    font-size: 16px;
    margin-bottom: 5px;
  }
  .page-sports__promo-card-description {
    font-size: 13px;
  }

  /* Hot Games - Example structure */
  .page-sports__hot-games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
    padding: 0 15px;
  }
  .page-sports__hot-games-card {
    text-align: center;
    background: #FFFFFF;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  .page-sports__hot-games-image {
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 10px;
  }
  .page-sports__hot-games-name,
  .page-sports__hot-games-rtp,
  .page-sports__hot-games-desc {
    display: none !important; /* Hide details on mobile */
  }
  .page-sports__hot-games-title {
    font-size: 16px;
    margin-top: 10px;
  }

  /* Brand Intro (if present on homepage) */
  .page-sports__brand-intro {
    padding: 20px 15px;
  }
  .page-sports__brand-intro-content {
    text-align: center;
  }

  /* Winner Ticker (if present on homepage) */
  .page-sports__winner-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.8);
    color: #FFFFFF;
    padding: 10px 15px;
    z-index: 999;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
    animation: ticker-scroll 15s linear infinite;
  }
  /* Adjust body/main padding if ticker is fixed */
  body { padding-bottom: 40px; } /* Example, adjust as needed */

  /* General content area max-width/overflow */
  .page-sports__section,
  .page-sports__card,
  .page-sports__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure multiple buttons wrap */
  .page-sports__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}