/* style/sbobet-mobile.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-button-bg: #C30808;
  --login-button-bg: #C30808;
  --button-text-color: #FFFF00;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --section-bg-light: #ffffff;
  --section-bg-dark: var(--primary-color);
}

.page-sbobet-mobile {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: var(--site-bg-color, #f5f5f5);
}

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

/* Hero Section */
.page-sbobet-mobile__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: var(--section-bg-dark);
  color: var(--text-color-light);
  position: relative;
  overflow: hidden;
}

.page-sbobet-mobile__hero-content {
  z-index: 1;
  max-width: 800px;
  margin-bottom: 40px;
}

.page-sbobet-mobile__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-color-light);
}

.page-sbobet-mobile__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-sbobet-mobile__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin-top: 20px;
  z-index: 0;
}

.page-sbobet-mobile__hero-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* CTA Buttons */
.page-sbobet-mobile__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-sbobet-mobile__cta-buttons--center {
  margin-top: 40px;
}

.page-sbobet-mobile__btn-primary,
.page-sbobet-mobile__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-sbobet-mobile__btn-primary {
  background: var(--register-button-bg);
  color: var(--button-text-color);
  border: 2px solid var(--register-button-bg);
}

.page-sbobet-mobile__btn-primary:hover {
  background: darken(var(--register-button-bg), 10%);
  border-color: darken(var(--register-button-bg), 10%);
}

.page-sbobet-mobile__btn-secondary {
  background: transparent;
  color: var(--text-color-light);
  border: 2px solid var(--text-color-light);
}

.page-sbobet-mobile__btn-secondary:hover {
  background: var(--text-color-light);
  color: var(--primary-color);
}

/* Sections */
.page-sbobet-mobile__intro-section,
.page-sbobet-mobile__how-to-access-section,
.page-sbobet-mobile__features-section,
.page-sbobet-mobile__benefits-section,
.page-sbobet-mobile__promotions-section,
.page-sbobet-mobile__faq-section,
.page-sbobet-mobile__conclusion-section {
  padding: 80px 0;
}

.page-sbobet-mobile__light-bg {
  background-color: var(--section-bg-light);
  color: var(--text-color-dark);
}

.page-sbobet-mobile__dark-bg {
  background-color: var(--section-bg-dark);
  color: var(--text-color-light);
}

.page-sbobet-mobile__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-sbobet-mobile__subsection-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit;
}

.page-sbobet-mobile__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-sbobet-mobile__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-sbobet-mobile__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

/* How-to-Access Section Specific */
.page-sbobet-mobile__flex-wrapper {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.page-sbobet-mobile__content-card {
  flex: 1 1 calc(50% - 15px);
  background: var(--section-bg-light);
  color: var(--text-color-dark);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.page-sbobet-mobile__content-card .page-sbobet-mobile__card-title {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-bottom: 20px;
}

.page-sbobet-mobile__content-card .page-sbobet-mobile__sub-card-title {
  color: var(--primary-color);
  font-size: 1.3em;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-sbobet-mobile__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Features Section Specific */
.page-sbobet-mobile__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-sbobet-mobile__feature-card {
  background: var(--section-bg-light);
  color: var(--text-color-dark);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.page-sbobet-mobile__feature-card .page-sbobet-mobile__card-title {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-bottom: 20px;
}

.page-sbobet-mobile__feature-card .page-sbobet-mobile__sub-card-title {
  color: var(--primary-color);
  font-size: 1.3em;
  margin-top: 25px;
  margin-bottom: 15px;
}

/* Benefits Section Specific */
.page-sbobet-mobile__benefit-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-sbobet-mobile__benefit-card {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-color-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-sbobet-mobile__benefit-card .page-sbobet-mobile__card-title {
  color: var(--text-color-light);
  font-size: 1.6em;
  margin-bottom: 20px;
}

.page-sbobet-mobile__benefit-card .page-sbobet-mobile__sub-card-title {
  color: var(--text-color-light);
  font-size: 1.3em;
  margin-top: 25px;
  margin-bottom: 15px;
}

/* Promotions Section Specific */
.page-sbobet-mobile__promo-cards {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.page-sbobet-mobile__promo-card {
  flex: 1 1 calc(50% - 15px);
  background: var(--section-bg-light);
  color: var(--text-color-dark);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.page-sbobet-mobile__promo-card .page-sbobet-mobile__card-title {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-bottom: 20px;
}

.page-sbobet-mobile__promo-card .page-sbobet-mobile__sub-card-title {
  color: var(--primary-color);
  font-size: 1.3em;
  margin-top: 25px;
  margin-bottom: 15px;
}

/* FAQ Section Specific */
.page-sbobet-mobile__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-sbobet-mobile__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-sbobet-mobile__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-color-light);
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

.page-sbobet-mobile__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-sbobet-mobile__faq-item summary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-sbobet-mobile__faq-qtext {
  flex-grow: 1;
}

.page-sbobet-mobile__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  width: 20px;
  text-align: center;
}

.page-sbobet-mobile__faq-answer {
  padding: 20px 25px;
  font-size: 1.1em;
  color: var(--text-color-light);
  background: rgba(255, 255, 255, 0.02);
}

/* Conclusion Section Specific */
.page-sbobet-mobile__conclusion-section .page-sbobet-mobile__section-title {
  margin-bottom: 20px;
}

.page-sbobet-mobile__conclusion-section .page-sbobet-mobile__text-block {
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Image & Video responsiveness */
.page-sbobet-mobile img,
.page-sbobet-mobile video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sbobet-mobile__hero-title {
    font-size: 2.5em;
  }

  .page-sbobet-mobile__section-title {
    font-size: 2em;
  }

  .page-sbobet-mobile__subsection-title,
  .page-sbobet-mobile__content-card .page-sbobet-mobile__card-title,
  .page-sbobet-mobile__feature-card .page-sbobet-mobile__card-title,
  .page-sbobet-mobile__benefit-card .page-sbobet-mobile__card-title,
  .page-sbobet-mobile__promo-card .page-sbobet-mobile__card-title {
    font-size: 1.5em;
  }
}

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

  .page-sbobet-mobile__hero-section {
    padding: 40px 15px;
  }

  .page-sbobet-mobile__hero-title {
    font-size: 2em;
  }

  .page-sbobet-mobile__hero-description {
    font-size: 1em;
  }

  .page-sbobet-mobile__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-sbobet-mobile__btn-primary,
  .page-sbobet-mobile__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-sbobet-mobile__intro-section,
  .page-sbobet-mobile__how-to-access-section,
  .page-sbobet-mobile__features-section,
  .page-sbobet-mobile__benefits-section,
  .page-sbobet-mobile__promotions-section,
  .page-sbobet-mobile__faq-section,
  .page-sbobet-mobile__conclusion-section {
    padding: 50px 0;
  }

  .page-sbobet-mobile__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-sbobet-mobile__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-sbobet-mobile__subsection-title,
  .page-sbobet-mobile__content-card .page-sbobet-mobile__card-title,
  .page-sbobet-mobile__feature-card .page-sbobet-mobile__card-title,
  .page-sbobet-mobile__benefit-card .page-sbobet-mobile__card-title,
  .page-sbobet-mobile__promo-card .page-sbobet-mobile__card-title {
    font-size: 1.3em;
  }

  .page-sbobet-mobile__flex-wrapper,
  .page-sbobet-mobile__feature-grid,
  .page-sbobet-mobile__benefit-cards,
  .page-sbobet-mobile__promo-cards {
    flex-direction: column;
    gap: 20px;
  }

  .page-sbobet-mobile__content-card,
  .page-sbobet-mobile__feature-card,
  .page-sbobet-mobile__benefit-card,
  .page-sbobet-mobile__promo-card {
    flex: 1 1 100%;
    padding: 25px;
  }

  .page-sbobet-mobile img,
  .page-sbobet-mobile video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-sbobet-mobile__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-sbobet-mobile__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-sbobet-mobile__faq-answer {
    padding: 15px 20px;
    font-size: 1em;
  }
}