/* style/ban-ca.css */
.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
}

.page-ban-ca__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px;
  box-sizing: border-box;
}

.page-ban-ca__card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF1E8;
}

.page-ban-ca__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-ban-ca__section-description {
  font-size: 1.1em;
  color: #FFF1E8;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-ban-ca__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 900;
  color: #F3C54D; /* Gold */
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 700px;
}

.page-ban-ca__hero-description {
  font-size: 1.1em;
  color: #FFF1E8;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 650px;
}

.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #140C0C;
}

.page-ban-ca__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 16px;
}

.page-ban-ca__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
}

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

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

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

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

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #FFF1E8;
  border: 2px solid transparent;
}

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

.page-ban-ca__btn-secondary {
  background: #2A1212; /* Card BG */
  color: #FFB04A;
  border: 2px solid #D86A14;
}

.page-ban-ca__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(216, 106, 20, 0.4);
}

.page-ban-ca__intro-section {
  padding: 60px 0;
}

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

.page-ban-ca__feature-item {
  text-align: center;
  padding: 30px;
}

.page-ban-ca__icon-box-media {
  width: 200px;
  height: 200px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #F3C54D;
  box-shadow: 0 0 15px rgba(243, 197, 77, 0.5);
}

.page-ban-ca__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%; /* Ensure image itself is circular within the container */
  display: block;
}

.page-ban-ca__feature-title {
  font-size: 1.5em;
  color: #F3C54D;
  margin-bottom: 15px;
}

.page-ban-ca__feature-text {
  font-size: 1em;
  color: #FFF1E8;
  line-height: 1.6;
}

.page-ban-ca__game-tabs-section {
  padding: 60px 0;
}

.page-ban-ca__tab-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 10px;
}

.page-ban-ca__tab-button {
  background-color: #2A1212;
  color: #FFF1E8;
  border: 1px solid #6A1E1E;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.05em;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.page-ban-ca__tab-button:hover,
.page-ban-ca__tab-button.is-active {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  border-color: transparent;
}

.page-ban-ca__game-panel {
  display: none;
}

.page-ban-ca__game-panel.is-active {
  display: block;
}

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

.page-ban-ca__game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.page-ban-ca__game-iframe {
  width: 100%;
  height: 250px;
  border: none;
  border-radius: 8px;
  margin-bottom: 15px;
  background-color: #140C0C;
}

.page-ban-ca__game-title {
  font-size: 1.4em;
  color: #F3C54D;
  margin-bottom: 10px;
}

.page-ban-ca__game-description {
  font-size: 0.95em;
  color: #FFF1E8;
  line-height: 1.6;
}

.page-ban-ca__guide-section {
  padding: 60px 0;
}

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

.page-ban-ca__guide-item {
  text-align: center;
}