/* style/ban-ca.css */
:root {
  --page-ban-ca-primary-color: #2F6BFF;
  --page-ban-ca-secondary-color: #6FA3FF;
  --page-ban-ca-button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --page-ban-ca-card-bg: #FFFFFF;
  --page-ban-ca-background: #F4F7FB;
  --page-ban-ca-text-main: #1F2D3D;
  --page-ban-ca-text-dark: #000000;
  --page-ban-ca-border-color: #D6E2FF;
  --page-ban-ca-glow-color: #A5C4FF;
}

.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: var(--page-ban-ca-text-main);
  background-color: var(--page-ban-ca-background);
}

/* HERO Section */
.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  background: var(--page-ban-ca-primary-color);
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-ban-ca__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-ban-ca__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-ban-ca__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

/* General Buttons */
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary,
.page-ban-ca__btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-ban-ca__btn-primary {
  background: var(--page-ban-ca-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

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

.page-ban-ca__btn-secondary,
.page-ban-ca__btn-play {
  background: #ffffff;
  color: var(--page-ban-ca-primary-color);
  border: 2px solid var(--page-ban-ca-primary-color);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-ban-ca__btn-secondary:hover,
.page-ban-ca__btn-play:hover {
  background: var(--page-ban-ca-primary-color);
  color: #ffffff;
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.3);
  transform: translateY(-2px);
}

.page-ban-ca__inline-link {
  color: var(--page-ban-ca-primary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-ban-ca__inline-link:hover {
  text-decoration: underline;
}

.page-ban-ca__btn-margin-top {
  margin-top: 20px;
}

.page-ban-ca__cta-center {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* General Section Styling */
.page-ban-ca__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-ban-ca__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: var(--page-ban-ca-text-main);
}

.page-ban-ca__dark-section .page-ban-ca__section-title,
.page-ban-ca__dark-section .page-ban-ca__text-block {
  color: #ffffff;
}

.page-ban-ca__dark-section {
  background-color: var(--page-ban-ca-primary-color);
  color: #ffffff;
}

.page-ban-ca__light-bg {
  background-color: var(--page-ban-ca-background);
  color: var(--page-ban-ca-text-main);
}

.page-ban-ca__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-ban-ca__highlight {
  font-weight: 700;
  color: inherit;
}

/* Intro Section */
.page-ban-ca__intro-section .page-ban-ca__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Games Section */
.page-ban-ca__games-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-ban-ca__game-card {
  background: var(--page-ban-ca-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  color: var(--page-ban-ca-text-main);
}

.page-ban-ca__game-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-ban-ca__game-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  padding: 0 15px;
  color: var(--page-ban-ca-text-dark);
}

.page-ban-ca__game-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-ban-ca__btn-play {
  margin: 0 auto;
  width: fit-content;
}

/* Guide Section */
.page-ban-ca__guide-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-ban-ca__guide-layout {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-ban-ca__guide-content {
  flex: 1;
}

.page-ban-ca__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-ban-ca__guide-list li {
  margin-bottom: 25px;
}

.page-ban-ca__list-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--page-ban-ca-primary-color);
  margin-bottom: 8px;
}

.page-ban-ca__guide-list p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-ban-ca-text-main);
  margin-bottom: 0;
}

.page-ban-ca__guide-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-ban-ca__guide-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Strategy Section */
.page-ban-ca__strategy-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-ban-ca__strategy-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-ban-ca__strategy-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-ban-ca__strategy-description {
  font-size: 1rem;
  line-height: 1.6;
}

/* Promotions Section */
.page-ban-ca__promotions-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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