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

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

.page-sports__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-sports__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(180deg, #2F6BFF 0%, #003366 100%); /* Dark background for hero */
}

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

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

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 16px;
}

.page-sports__main-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #ffffff;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__intro-text {
  font-size: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

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

.page-sports__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #ffffff;
  color: #2F6BFF;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid #2F6BFF;
  cursor: pointer;
}

.page-sports__btn-secondary:hover {
  background: #2F6BFF;
  color: #ffffff;
}

.page-sports__features-section, .page-sports__promotions-section, .page-sports__responsible-gaming {
  padding: 80px 0;
  background-color: #F4F7FB; /* Background */
}

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

.page-sports__card {
  background: #FFFFFF; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
  color: #1F2D3D;
}

.page-sports__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-sports__feature-title, .page-sports__category-title, .page-sports__promo-title, .page-sports__step-title {
  font-size: 24px;
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-sports__feature-text, .page-sports__category-text, .page-sports__promo-text, .page-sports__step-text {
  font-size: 16px;
  color: #1F2D3D;
  line-height: 1.6;
}

.page-sports__sports-categories, .page-sports__getting-started-section, .page-sports__faq-section {
  padding: 80px 0;
  background-color: #F4F7FB;
}

.page-sports__category-image, .page-sports__promo-image, .page-sports__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__live-betting-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #ffffff;
}

.page-sports__live-betting-section .page-sports__section-title,
.page-sports__live-betting-section .page-sports__section-description {
  color: #ffffff;
}

.page-sports__live-betting-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-sports__live-betting-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-sports__live-betting-text {
  flex: 1;
  max-width: 50%;
  text-align: left;
}

.page-sports__live-betting-text .page-sports__subtitle {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 25px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-sports__live-betting-text p {
  font-size: 17px;
  color: #f0f0f0;
  margin-bottom: 20px;
}

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

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

.page-sports__responsible-list li {
  background: #ffffff;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  color: #1F2D3D;
  font-size: 17px;
}

.page-sports__responsible-list li p {
  margin: 0;
}

.page-sports__responsible-gaming .page-sports__btn-secondary {
  margin-top: 40px;
}

/* FAQ styles */
details.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #D6E2FF;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
details.page-sports__faq-item summary.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #1F2D3D;
}
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: #f0f5ff; /* Lighter hover for blue theme */
}
.page-sports__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D;
}
.page-sports__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #2F6BFF;
  flex-shrink: 0;
  margin-left: 20px;
  width: 32px;
  text-align: center;
}
details.page-sports__faq-item .page-sports__faq-answer {
  padding: 0 25px 25px;
  background: #F4F7FB; /* Background */
  border-radius: 0 0 12px 12px;
  color: #1F2D3D;
  font-size: 16px;
}

.page-sports__faq-answer p {
  margin-top: 10px;
  margin-bottom: 0;
}

.page-sports__contact-cta {
  padding: 60px 0;
  background: linear-gradient(180deg, #2F6BFF 0%, #003366 100%);
  color: #ffffff;
  text-align: center;
}

.page-sports__contact-cta .page-sports__section-title,
.page-sports__contact-cta .page-sports__section-description {
  color: #ffffff;
}

/* Custom Colors */
.page-sports__dark-section {
  background: linear-gradient(180deg, #2F6BFF 0%, #003366 100%);
  color: #ffffff;
}

.page-sports__dark-section .page-sports__section-title, .page-sports__dark-section .page-sports__section-description {
  color: #ffffff;
}

.page-sports__light-bg {
  background-color: #F4F7FB;
  color: #1F2D3D;
}

.page-sports__background-pattern {
  background-color: #F4F7FB;
  background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23e0eafb" fill-opacity="0.4"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

/* Responsive Styles */
@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;
  }
  /* Added for 1023px hero adjustments */
  .page-sports__hero-content {
    padding: 40px 16px;
  }
  .page-sports__main-title {
    font-size: 38px;
  }
  .page-sports__intro-text {
    font-size: 18px;
  }
  .page-sports__live-betting-content {
    flex-direction: column;
  }
  .page-sports__live-betting-image, .page-sports__live-betting-text {
    max-width: 100%;
  }
  .page-sports__live-betting-text {
    text-align: center;
  }
  .page-sports__live-betting-text .page-sports__subtitle {
    font-size: 24px;
  }
}

@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;
  }
  /* Specific styles for elements that might appear on homepage only, but required in CSS */
  .page-sports__promo-strip {
    margin-top: 16px;
  }
  .page-sports__promo-strip-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .page-sports__promo-strip-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 15px;
  }
  .page-sports__promo-strip-icon {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    flex-shrink: 0;
  }
  .page-sports__promo-strip-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
  }
  .page-sports__promo-strip-text {
    font-size: 14px;
    line-height: 1.4;
  }
  .page-sports__hot-games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }
  .page-sports__hot-games-card {
    text-align: center;
  }
  .page-sports__hot-games-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
  .page-sports__hot-games-name {
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    display: block;
  }
  .page-sports__hot-games-rtp, .page-sports__hot-games-desc {
    font-size: 13px;
    color: #555;
    display: block;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding-bottom: 40px;
  }
  .page-sports__hero-content {
    padding: 30px 16px;
  }
  .page-sports__main-title {
    font-size: 32px;
  }
  .page-sports__intro-text {
    font-size: 16px;
  }
  .page-sports__btn-primary, .page-sports__btn-secondary {
    font-size: 16px;
    padding: 12px 20px;
  }
  .page-sports__section-title {
    font-size: 28px;
  }
  .page-sports__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-sports__features-section, .page-sports__sports-categories, .page-sports__live-betting-section, .page-sports__promotions-section, .page-sports__getting-started-section, .page-sports__responsible-gaming, .page-sports__faq-section, .page-sports__contact-cta {
    padding: 40px 0;
  }
  .page-sports__features-grid, .page-sports__promotions-grid, .page-sports__categories-grid, .page-sports__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sports__card {
    padding: 25px;
  }
  .page-sports__feature-title, .page-sports__category-title, .page-sports__promo-title, .page-sports__step-title {
    font-size: 22px;
  }
  .page-sports__feature-text, .page-sports__category-text, .page-sports__promo-text, .page-sports__step-text {
    font-size: 15px;
  }
  .page-sports__live-betting-image {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  }
  .page-sports__live-betting-text .page-sports__subtitle {
    font-size: 22px;
  }
  .page-sports__live-betting-text p {
    font-size: 15px;
  }
  .page-sports__responsible-list li {
    font-size: 16px;
    padding: 12px 15px;
  }
  details.page-sports__faq-item summary.page-sports__faq-question {
    padding: 15px 18px;
  }
  .page-sports__faq-qtext {
    font-size: 16px;
  }
  .page-sports__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
    width: 28px;
  }
  details.page-sports__faq-item .page-sports__faq-answer {
    padding: 0 18px 18px;
    font-size: 15px;
  }
  /* Mobile specific for elements that might appear on homepage only, but required in CSS */
  .page-sports__promo-strip-track {
    grid-template-columns: repeat(2, 1fr) !important; /* Changed from 4 to 2 for better mobile display */
    overflow-x: hidden !important;
    gap: 10px;
  }
  .page-sports__promo-strip-item {
    flex-direction: column !important;
    text-align: center !important;
    padding: 10px;
  }
  .page-sports__promo-strip-icon {
    margin-right: 0 !important;
    margin-bottom: 10px;
  }
  .page-sports__promo-strip-title {
    font-size: 16px;
  }
  .page-sports__promo-strip-text {
    font-size: 13px;
  }
  .page-sports__hot-games-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
  }
  .page-sports__hot-games-name, .page-sports__hot-games-rtp, .page-sports__hot-games-desc {
    font-size: 14px;
  }
  .page-sports__brand-intro-section {
    padding: 30px 0;
  }
  .page-sports__brand-intro-content {
    flex-direction: column;
    text-align: center;
  }
  .page-sports__brand-intro-logo {
    margin-bottom: 20px;
  }
  .page-sports__winner-ticker {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 10px 0 !important;
    z-index: 999;
    background: rgba(0,0,0,0.8);
    color: #fff;
  }
  body {
    padding-bottom: 50px; /* Adjust for fixed ticker */
  }
  /* Universal image and container responsive styles */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-sports__container, .page-sports__card, .page-sports__section, .page-sports__hero-content, .page-sports__live-betting-text, .page-sports__responsible-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Universal button responsive styles */
  .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;
    margin-bottom: 10px;
  }
  .page-sports__cta-promotions, .page-sports__live-betting-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .page-sports__cta-promotions a, .page-sports__live-betting-text a {
    margin: 0;
  }
}

/* Game Trial Overlay & Start Button - Required by prompt for CSS file */
.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.is-hidden {
  display: none !important;
}
.page-sports__reward-modal-close {
  background: #c62828;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 20px;
}