/* style/cockfighting-betting-guide.css */

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

/* Base styles for the page content, ensuring contrast with dark body background */
.page-cockfighting-betting-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Light text for dark background */
  background-color: var(--background-main); /* Consistent with custom background */
}

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

.page-cockfighting-betting-guide__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: var(--gold-color); /* Gold color for main titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-cockfighting-betting-guide__sub-title {
  font-size: clamp(1.5em, 3vw, 2em);
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-cockfighting-betting-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-cockfighting-betting-guide__note {
  font-style: italic;
  color: var(--text-secondary);
  border-left: 4px solid var(--primary-color);
  padding-left: 15px;
  margin-top: 25px;
}

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

.page-cockfighting-betting-guide__list li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  color: var(--text-main);
}

.page-cockfighting-betting-guide__list-icon {
  color: var(--gold-color);
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2em;
  flex-shrink: 0;
}

.page-cockfighting-betting-guide__ordered-list {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-cockfighting-betting-guide__ordered-list li {
  margin-bottom: 10px;
}

.page-cockfighting-betting-guide__card {
  background-color: var(--card-bg); /* Card background */
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main); /* Light text for dark card background */
}

/* Hero Section */
.page-cockfighting-betting-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
  background: var(--deep-green);
}

.page-cockfighting-betting-guide__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting-betting-guide__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-cockfighting-betting-guide__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  margin-top: 30px;
}

.page-cockfighting-betting-guide__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em);
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.1;
}

.page-cockfighting-betting-guide__intro-description {
  font-size: clamp(1.1em, 2vw, 1.4em);
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-cockfighting-betting-guide__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-cockfighting-betting-guide__cta-center {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Buttons */
.page-cockfighting-betting-guide__btn-primary,
.page-cockfighting-betting-guide__btn-secondary {
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting-betting-guide__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-betting-guide__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting-betting-guide__btn-secondary {
  background: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
}

.page-cockfighting-betting-guide__btn-secondary:hover {
  background: rgba(var(--gold-color), 0.1);
  transform: translateY(-2px);
}

/* Content Sections */
.page-cockfighting-betting-guide__content-section,
.page-cockfighting-betting-guide__registration-section,
.page-cockfighting-betting-guide__deposit-section,
.page-cockfighting-betting-guide__rules-section,
.page-cockfighting-betting-guide__strategy-section,
.page-cockfighting-betting-guide__withdrawal-section,
.page-cockfighting-betting-guide__faq-section,
.page-cockfighting-betting-guide__conclusion-section {
  padding: 60px 0;
}

.page-cockfighting-betting-guide__dark-bg {
  background-color: var(--background-main);
  color: var(--text-main);
}

.page-cockfighting-betting-guide__light-bg {
  background-color: #0d2a1d; /* A slightly lighter green for contrast */
  color: var(--text-main);
}

/* Feature Grid */
.page-cockfighting-betting-guide__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting-betting-guide__feature-card .page-cockfighting-betting-guide__card-title {
  color: var(--secondary-color);
  font-size: 1.4em;
  margin-bottom: 15px;
}

/* Steps Grid */
.page-cockfighting-betting-guide__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting-betting-guide__step-item {
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-cockfighting-betting-guide__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-color);
  color: var(--background-main);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Image styles */
.page-cockfighting-betting-guide__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* Bet Types */
.page-cockfighting-betting-guide__bet-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting-betting-guide__bet-card .page-cockfighting-betting-guide__bet-title {
  color: var(--gold-color);
  font-size: 1.3em;
  margin-bottom: 10px;
}

/* FAQ Section */
.page-cockfighting-betting-guide__faq-list {
  margin-top: 40px;
}

.page-cockfighting-betting-guide__faq-item {
  margin-bottom: 15px;
  background-color: var(--card-bg);
  border-color: var(--divider-color);
  overflow: hidden;
}

.page-cockfighting-betting-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  color: var(--text-main);
  font-size: 1.1em;
  list-style: none; /* For details/summary */
}

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

.page-cockfighting-betting-guide__faq-qtext {
  flex-grow: 1;
  color: var(--text-main);
}

.page-cockfighting-betting-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold-color);
}

.page-cockfighting-betting-guide__faq-answer {
  padding: 0 20px 15px;
  color: var(--text-secondary);
  font-size: 0.95em;
}

/* Details element specific styles */
details.page-cockfighting-betting-guide__faq-item[open] > summary .page-cockfighting-betting-guide__faq-toggle {
  content: '−';
}

/* Global image responsiveness */
.page-cockfighting-betting-guide img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .page-cockfighting-betting-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting-betting-guide__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-cockfighting-betting-guide__hero-content {
    padding: 15px;
    margin-top: 20px;
  }

  .page-cockfighting-betting-guide__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-cockfighting-betting-guide__intro-description {
    font-size: clamp(1em, 3.5vw, 1.1em);
    margin-bottom: 25px;
  }

  .page-cockfighting-betting-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting-betting-guide__btn-primary,
  .page-cockfighting-betting-guide__btn-secondary {
    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-cockfighting-betting-guide__cta-buttons,
  .page-cockfighting-betting-guide__button-group,
  .page-cockfighting-betting-guide__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-cockfighting-betting-guide__section-title {
    font-size: clamp(1.8em, 6vw, 2.2em);
    margin-bottom: 30px;
  }

  .page-cockfighting-betting-guide__sub-title {
    font-size: clamp(1.3em, 4.5vw, 1.6em);
  }

  .page-cockfighting-betting-guide__content-section,
  .page-cockfighting-betting-guide__registration-section,
  .page-cockfighting-betting-guide__deposit-section,
  .page-cockfighting-betting-guide__rules-section,
  .page-cockfighting-betting-guide__strategy-section,
  .page-cockfighting-betting-guide__withdrawal-section,
  .page-cockfighting-betting-guide__faq-section,
  .page-cockfighting-betting-guide__conclusion-section {
    padding: 40px 0;
  }

  .page-cockfighting-betting-guide__container {
    padding: 0 15px;
  }

  .page-cockfighting-betting-guide__card {
    padding: 20px;
  }

  .page-cockfighting-betting-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting-betting-guide__section,
  .page-cockfighting-betting-guide__card,
  .page-cockfighting-betting-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting-betting-guide__video-section {
    padding-top: 10px !important; /* body đã xử lý --header-offset */
  }

  .page-cockfighting-betting-guide video,
  .page-cockfighting-betting-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting-betting-guide__video-section,
  .page-cockfighting-betting-guide__video-container,
  .page-cockfighting-betting-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting-betting-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}