/* style/betting-guides.css */

:root {
  --ax88-primary-color: #11A84E;
  --ax88-secondary-color: #22C768;
  --ax88-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --ax88-card-bg: #11271B;
  --ax88-bg: #08160F;
  --ax88-text-main: #F2FFF6;
  --ax88-text-secondary: #A7D9B8;
  --ax88-border-color: #2E7A4E;
  --ax88-glow-color: #57E38D;
  --ax88-gold-color: #F2C14E;
  --ax88-divider-color: #1E3A2A;
  --ax88-deep-green: #0A4B2C;
}

.page-betting-guides {
  background-color: var(--ax88-bg);
  color: var(--ax88-text-main); /* Default text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-betting-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  padding-top: 10px;
  overflow: hidden;
}

.page-betting-guides__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-betting-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px;
}

.page-betting-guides__hero-content {
  max-width: 900px;
  margin: 20px auto 0 auto;
  padding: 0 20px;
}

.page-betting-guides__main-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--ax88-text-main);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-betting-guides__description {
  font-size: 1.1rem;
  color: var(--ax88-text-secondary);
  margin-bottom: 30px;
}

.page-betting-guides__cta-button {
  display: inline-block;
  background: var(--ax88-button-gradient);
  color: var(--ax88-text-main);
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-betting-guides__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-betting-guides__cta-button--small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.page-betting-guides__cta-button--gold {
  background: var(--ax88-gold-color);
  color: var(--ax88-deep-green);
}

.page-betting-guides__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--ax88-divider-color);
}

.page-betting-guides__section:last-of-type {
  border-bottom: none;
}

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

.page-betting-guides__section-title {
  font-size: 2.2rem;
  color: var(--ax88-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-betting-guides__section-title--white {
  color: #ffffff;
}

.page-betting-guides__paragraph {
  font-size: 1rem;
  color: var(--ax88-text-secondary);
  margin-bottom: 20px;
}

.page-betting-guides__paragraph--center {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-betting-guides__paragraph--white {
  color: #ffffff;
}

.page-betting-guides__highlight {
  color: var(--ax88-gold-color);
  font-weight: bold;
}

.page-betting-guides__grid-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-betting-guides__grid-two-cols--reversed {
  grid-template-areas: "image content";
}

.page-betting-guides__grid-two-cols--reversed .page-betting-guides__image-wrapper {
  grid-area: image;
}

.page-betting-guides__grid-two-cols--reversed .page-betting-guides__text-content {
  grid-area: content;
}

.page-betting-guides__text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-betting-guides__image-wrapper {
  text-align: center;
}

.page-betting-guides__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-betting-guides__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-betting-guides__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--ax88-text-secondary);
}

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

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

.page-betting-guides__step-card {
  background-color: var(--ax88-card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--ax88-border-color);
}

.page-betting-guides__dark-bg {
  background-color: var(--ax88-card-bg);
  color: var(--ax88-text-main);
}

.page-betting-guides__step-title {
  font-size: 1.5rem;
  color: var(--ax88-primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-betting-guides__step-description {
  font-size: 0.95rem;
  color: var(--ax88-text-secondary);
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-betting-guides__game-card {
  background-color: var(--ax88-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  text-align: center;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ax88-border-color);
}

.page-betting-guides__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-betting-guides__game-title {
  font-size: 1.4rem;
  color: var(--ax88-text-main);
  margin-bottom: 10px;
  padding: 0 15px;
  font-weight: bold;
}

.page-betting-guides__game-description {
  font-size: 0.9rem;
  color: var(--ax88-text-secondary);
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-betting-guides__tip-card {
  background-color: var(--ax88-card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--ax88-border-color);
}

.page-betting-guides__tip-title {
  font-size: 1.5rem;
  color: var(--ax88-primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-betting-guides__tip-description {
  font-size: 1rem;
  color: var(--ax88-text-secondary);
}

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

.page-betting-guides__faq-item {
  background-color: var(--ax88-card-bg);
  border: 1px solid var(--ax88-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-betting-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--ax88-text-main);
  cursor: pointer;
  background-color: var(--ax88-deep-green);
  border-bottom: 1px solid var(--ax88-border-color);
  list-style: none;
}

.page-betting-guides__faq-question::-webkit-details-marker {
  display: none;
}

.page-betting-guides__faq-question:hover {
  background-color: rgba(var(--ax88-deep-green), 0.8);
}

.page-betting-guides__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ax88-primary-color);
}

.page-betting-guides__faq-item[open] .page-betting-guides__faq-question {
  border-bottom: 1px solid var(--ax88-border-color);
}

.page-betting-guides__faq-item[open] .page-betting-guides__faq-toggle {
  content: '−';
}

.page-betting-guides__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--ax88-text-secondary);
}

.page-betting-guides__link {
  color: var(--ax88-primary-color);
  text-decoration: underline;
}

.page-betting-guides__link:hover {
  color: var(--ax88-gold-color);
}

.page-betting-guides__call-to-action {
  background-color: var(--ax88-deep-green);
  text-align: center;
  padding: 80px 20px;
  border-radius: 15px;
  margin: 40px auto;
  max-width: 1000px;
}

.page-betting-guides__call-to-action .page-betting-guides__section-title {
  margin-bottom: 20px;
}

.page-betting-guides__download-app {
  background-color: var(--ax88-bg);
  padding-bottom: 60px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-betting-guides__grid-two-cols {
    grid-template-columns: 1fr;
  }

  .page-betting-guides__grid-two-cols--reversed {
    grid-template-areas: unset;
  }

  .page-betting-guides__hero-image-wrapper {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .page-betting-guides__hero-section {
    padding-bottom: 20px;
    padding-top: 10px !important;
  }

  .page-betting-guides__main-title {
    font-size: 1.8rem;
  }

  .page-betting-guides__description {
    font-size: 1rem;
  }

  .page-betting-guides__section {
    padding: 40px 0;
  }

  .page-betting-guides__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-betting-guides__paragraph {
    font-size: 0.95rem;
  }

  .page-betting-guides__cta-button,
  .page-betting-guides__cta-button--small,
  .page-betting-guides__cta-button--gold,
  .page-betting-guides a[class*="button"],
  .page-betting-guides 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-betting-guides__cta-buttons,
  .page-betting-guides__button-group,
  .page-betting-guides__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-betting-guides__hero-image,
  .page-betting-guides__image,
  .page-betting-guides__game-image,
  .page-betting-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px;
    min-height: 200px;
  }

  .page-betting-guides__container,
  .page-betting-guides__section,
  .page-betting-guides__card,
  .page-betting-guides__step-card,
  .page-betting-guides__game-card,
  .page-betting-guides__tip-card,
  .page-betting-guides__faq-item,
  .page-betting-guides__call-to-action,
  .page-betting-guides__download-app {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }

  .page-betting-guides__game-image {
    height: auto;
  }

  .page-betting-guides__call-to-action {
    margin: 20px auto;
    padding: 40px 15px;
  }
}

@media (max-width: 480px) {
  .page-betting-guides__main-title {
    font-size: 1.5rem;
  }

  .page-betting-guides__section-title {
    font-size: 1.5rem;
  }

  .page-betting-guides__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-betting-guides__faq-answer {
    padding: 15px 20px;
  }
}