.page-sports {
  --primary-color: #C61F1F;
  --secondary-color: #E53030;
  --card-bg: #2A1212;
  --background-main: #140C0C;
  --text-main: #FFF1E8;
  --border-color: #6A1E1E;
  --gold-color: #F3C54D;
  --deep-red-color: #7E0D0D;
}

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

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

.page-sports__section-intro {
  font-size: 18px;
  color: #ccc;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.page-sports__dark-section {
  background: var(--background-main);
  color: var(--text-main);
  padding: 60px 0;
}

.page-sports__light-bg {
  background: #f5f5f5;
  color: #333333;
  padding: 60px 0;
}

.page-sports__light-bg .page-sports__section-title, 
.page-sports__light-bg .page-sports__section-intro {
  color: #333333;
}

.page-sports__hero-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding */
  overflow: hidden;
}

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

.page-sports__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text contrast */
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 40px 15px;
  color: var(--text-main);
}

.page-sports__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--gold-color);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-sports__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-sports__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #fff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255,176,74,0.4);
}

.page-sports__btn-primary:hover {
  background: linear-gradient(180deg, #FFC06A 0%, #E87A24 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,176,74,0.6);
}

.page-sports__btn-secondary {
  background: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
  box-shadow: 0 4px 15px rgba(243,197,77,0.2);
}

.page-sports__btn-secondary:hover {
  background: var(--gold-color);
  color: var(--background-main);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243,197,77,0.4);
}

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

.page-sports__feature-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.page-sports__feature-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-sports__feature-description {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

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

.page-sports__category-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

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

.page-sports__category-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-color);
  margin: 20px 0 10px;
}

.page-sports__category-description {
  font-size: 15px;
  color: #ccc;
  padding: 0 20px 20px;
  line-height: 1.6;
}

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

.page-sports__live-betting-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.page-sports__live-betting-list {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-sports__live-betting-item {
  font-size: 18px;
  color: #555;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  line-height: 1.6;
}

.page-sports__live-betting-item::before {
  content: '✓';
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

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

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

.page-sports__promo-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.page-sports__promo-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-sports__promo-description {
  font-size: 16px;
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-sports__promo-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 3px;
  transition: all 0.3s ease;
}

.page-sports__promo-link:hover {
  color: var(--gold-color);
  border-color: var(--gold-color);
}

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

.page-sports__mobile-app-image {
  flex: 1;
  max-width: 40%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.page-sports__app-features {
  flex: 1;
}

.page-sports__app-features-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-sports__app-features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-sports__app-features-list li {
  font-size: 17px;
  color: #555;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  line-height: 1.5;
}

.page-sports__app-features-list li::before {
  content: '★';
  color: var(--gold-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

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

.page-sports__step-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.page-sports__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(255,176,74,0.4);
}

.page-sports__step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-sports__step-description {
  font-size: 16px;
  color: #ccc;
  line-height: 1.6;
}

/* FAQ Section */
details.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
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: #f5f5f5;
}
.page-sports__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333;
}
.page-sports__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555;
  line-height: 1.6;
}

.page-sports__contact-content {
  text-align: center;
  padding: 40px 15px;
}

/* General Image and Container Responsive Styles */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-sports__container, 
.page-sports__hero-cta-buttons, 
.page-sports__features-grid, 
.page-sports__category-grid, 
.page-sports__promo-grid, 
.page-sports__steps-grid,
.page-sports__faq-list {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries */
@media (max-width: 1023px) {
  .page-sports__hero-section {
    min-height: 400px;
    padding-top: 10px;
  }
  .page-sports__hero-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-sports__hero-description {
    font-size: 1rem;
  }
  .page-sports__live-betting-content,
  .page-sports__mobile-app-content {
    flex-direction: column;
    align-items: center;
  }
  .page-sports__live-betting-image,
  .page-sports__mobile-app-image {
    max-width: 80%;
    margin-bottom: 30px;
  }
  .page-sports__live-betting-list,
  .page-sports__app-features {
    text-align: center;
  }
  .page-sports__live-betting-item, .page-sports__app-features-list li {
    padding-left: 0;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
  }
  .page-sports__live-betting-item::before, .page-sports__app-features-list li::before {
    position: static;
    margin-right: 10px;
    display: inline-block;
  }
}

@media (max-width: 768px) {
  .page-sports__section-title {
    font-size: 28px;
    padding-top: 30px;
  }
  .page-sports__section-intro {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-sports__dark-section, .page-sports__light-bg {
    padding: 40px 0;
  }
  .page-sports__hero-section {
    min-height: 350px;
  }
  .page-sports__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-sports__hero-description {
    font-size: 0.95rem;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    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;
  }
  .page-sports__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-sports__features-grid,
  .page-sports__category-grid,
  .page-sports__promo-grid,
  .page-sports__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  .page-sports__feature-card,
  .page-sports__category-card,
  .page-sports__promo-card,
  .page-sports__step-card {
    padding: 20px;
  }
  .page-sports__live-betting-image,
  .page-sports__mobile-app-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-sports__live-betting-content,
  .page-sports__mobile-app-content {
    padding: 0 15px;
  }
  .page-sports__live-betting-item,
  .page-sports__app-features-list li {
    font-size: 15px;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  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; }
  .page-sports__contact-content {
    padding: 30px 15px;
  }
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-sports__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* No specific 1024px+ rules needed for this content, as it defaults to larger screen layouts */
/* The following media queries are for the game trial template, which is not used on this inner page. */
/* However, as per instructions, I will include the mandatory game trial media queries for robustness, even if they don't apply to this specific page's content. */

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

.is-hidden {
  display: none !important;
  pointer-events: none !important;
}