:root {
  --primary-color: #C61F1F;
  --secondary-color: #E53030;
  --button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  --card-bg: #2A1212;
  --background-color: #140C0C;
  --text-main-color: #FFF1E8;
  --border-color: #6A1E1E;
  --gold-color: #F3C54D;
  --deep-red-color: #7E0D0D;
}

.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color); /* Light text for dark background */
  background-color: var(--background-color);
  line-height: 1.6;
}

.page-ban-ca__content-area {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-ban-ca__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-ban-ca__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-main-color);
}

/* Hero Section */
.page-ban-ca__hero-section {
  padding-top: 10px; /* Aligned with shared.css body padding-top */
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-ban-ca__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-ban-ca__hero-content {
  flex: 1 1 50%;
  text-align: left;
}

.page-ban-ca__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-ban-ca__hero-description {
  font-size: 1.15em;
  color: var(--text-main-color);
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-ban-ca__hero-cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-ban-ca__hero-image {
  flex: 1 1 40%;
  text-align: center;
}

.page-ban-ca__hero-side-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-play {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.page-ban-ca__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* White text for button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-ban-ca__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 176, 74, 0.6);
}

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

.page-ban-ca__btn-secondary:hover {
  background: var(--gold-color);
  color: var(--background-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(243, 197, 77, 0.4);
}

.page-ban-ca__btn-play {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(255, 176, 74, 0.3);
  font-size: 1em;
  padding: 10px 20px;
}

.page-ban-ca__btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 176, 74, 0.5);
}

/* Intro Section */
.page-ban-ca__intro-section {
  padding: 60px 0;
  background-color: var(--card-bg);
}

.page-ban-ca__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-ban-ca__feature-item {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background-color: var(--background-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-ban-ca__feature-item:hover {
  transform: translateY(-5px);
}

.page-ban-ca__icon-box-media {
  width: 240px;
  height: 240px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold-color);
  box-shadow: 0 0 0 5px var(--deep-red-color);
}

.page-ban-ca__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-ban-ca__feature-title {
  font-size: 1.6em;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-ban-ca__feature-text {
  font-size: 1em;
  color: var(--text-main-color);
}

/* Game Showcase Section */
.page-ban-ca__game-showcase-section {
  padding: 60px 0;
}

.page-ban-ca__game-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

.page-ban-ca__game-card:hover {
  transform: translateY(-5px);
}

.page-ban-ca__game-card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-ban-ca__game-card-content {
  padding: 20px;
  text-align: center;
}

.page-ban-ca__game-card-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-ban-ca__game-card-text {
  font-size: 0.95em;
  color: var(--text-main-color);
  margin-bottom: 20px;
}

/* Guide Section */
.page-ban-ca__guide-section {
  padding: 60px 0;
  background-color: var(--card-bg);
}

.page-ban-ca__guide-steps {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 50px;
}

.page-ban-ca__guide-image {
  flex: 1 1 50%;
  text-align: center;
}

.page-ban-ca__guide-main-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__guide-list {
  flex: 1 1 50%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-ban-ca__guide-list-item {
  background-color: var(--background-color);
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--gold-color);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-main-color);
  font-size: 1.05em;
}

.page-ban-ca__guide-list-item strong {
  color: var(--gold-color);
}

/* Promo Section */
.page-ban-ca__promo-section {
  padding: 60px 0;
}

.page-ban-ca__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-ban-ca__promo-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-ban-ca__promo-item-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-ban-ca__promo-item-text {
  font-size: 1em;
  color: var(--text-main-color);
}

.page-ban-ca__promo-cta {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-ban-ca__faq-section {
  padding: 60px 0;
  background-color: var(--card-bg);
}

.page-ban-ca__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__faq-item {
  background-color: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--gold-color);
  cursor: pointer;
  background-color: var(--deep-red-color);
  border-bottom: 1px solid var(--border-color);
  list-style: none; /* Remove default marker */
}

.page-ban-ca__faq-item[open] > .page-ban-ca__faq-question {
  border-bottom: none;
}

.page-ban-ca__faq-question::-webkit-details-marker {
  display: none;
}

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

.page-ban-ca__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1.05em;
  color: var(--text-main-color);
}

/* Final CTA Section */
.page-ban-ca__final-cta-section {
  padding: 60px 0 80px;
  text-align: center;
}

.page-ban-ca__final-cta-buttons {
  margin-top: 40px;
}

/* Universal Image Styling for content area */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
  .page-ban-ca__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-ban-ca__hero-content {
    text-align: center;
  }

  .page-ban-ca__hero-cta-buttons {
    justify-content: center;
  }

  .page-ban-ca__guide-steps {
    flex-direction: column;
    align-items: center;
  }

  .page-ban-ca__guide-image {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  /* HERO Section */
  .page-ban-ca__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-ban-ca__hero-container {
    padding: 20px 15px;
    gap: 20px;
  }

  .page-ban-ca__hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    margin-bottom: 15px;
  }

  .page-ban-ca__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-ban-ca__hero-cta-buttons {
    flex-direction: column !important;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  /* Buttons - General */
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-play,
  .page-ban-ca a[class*="button"],
  .page-ban-ca 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: 12px 20px;
    font-size: 1em;
  }

  /* Intro Section - Feature Grid */
  .page-ban-ca__intro-section,
  .page-ban-ca__game-showcase-section,
  .page-ban-ca__guide-section,
  .page-ban-ca__promo-section,
  .page-ban-ca__faq-section,
  .page-ban-ca__final-cta-section {
    padding: 40px 0;
  }

  .page-ban-ca__content-area {
    padding: 20px 15px;
  }

  .page-ban-ca__section-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-ban-ca__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-ban-ca__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-ban-ca__icon-box-media {
    width: 200px;
    height: 200px;
    margin-bottom: 15px;
    border-width: 3px;
    box-shadow: 0 0 0 4px var(--deep-red-color);
  }

  .page-ban-ca__feature-title {
    font-size: 1.4em;
  }

  /* Game Showcase Section */
  .page-ban-ca__game-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-ban-ca__game-card-image {
    height: 180px;
  }

  .page-ban-ca__game-card-title {
    font-size: 1.3em;
  }

  .page-ban-ca__game-card-content {
    padding: 15px;
  }

  /* Guide Section */
  .page-ban-ca__guide-steps {
    margin-top: 30px;
    gap: 30px;
  }

  .page-ban-ca__guide-list-item {
    padding: 15px;
    font-size: 1em;
  }

  /* Promo Section */
  .page-ban-ca__promo-list {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-ban-ca__promo-item-title {
    font-size: 1.3em;
  }

  /* FAQ Section */
  .page-ban-ca__faq-list {
    margin-top: 30px;
  }

  .page-ban-ca__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-ban-ca__faq-answer {
    padding: 12px 20px 15px;
    font-size: 1em;
  }

  /* Final CTA Section */
  .page-ban-ca__final-cta-buttons {
    margin-top: 30px;
  }

  /* Universal Image Styling for content area */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All content containers for mobile */
  .page-ban-ca__hero-section,
  .page-ban-ca__intro-section,
  .page-ban-ca__game-showcase-section,
  .page-ban-ca__guide-section,
  .page-ban-ca__promo-section,
  .page-ban-ca__faq-section,
  .page-ban-ca__final-cta-section,
  .page-ban-ca__feature-item,
  .page-ban-ca__game-card,
  .page-ban-ca__promo-item,
  .page-ban-ca__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }
}