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

/* Hero Section */
.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding if body handles header offset */
  padding-bottom: 60px;
  background: linear-gradient(180deg, #F4F7FB 0%, #E6EEF9 100%); /* Light background gradient */
}

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

.page-ban-ca__hero-content {
  flex: 1 1 500px;
  max-width: 600px;
  text-align: left;
}

.page-ban-ca__hero-title {
  font-size: 3.2em;
  font-weight: 700;
  line-height: 1.2;
  color: #1F2D3D;
  margin-bottom: 20px;
}

.page-ban-ca__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #1F2D3D;
  margin-bottom: 30px;
}

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

.page-ban-ca__cta-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-ban-ca__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.6);
}

.page-ban-ca__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF; /* Border color */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__btn-secondary:hover {
  background: #e0eaff;
  color: #2F6BFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-ban-ca__hero-image-wrapper {
  flex: 1 1 450px;
  text-align: center;
  position: relative;
}

.page-ban-ca__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(47, 107, 255, 0.2);
}

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

.page-ban-ca__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 20px;
}

.page-ban-ca__section-description {
  font-size: 1.1em;
  line-height: 1.7;
  color: #1F2D3D;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Background colors for sections */
.page-ban-ca__light-bg {
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
}

.page-ban-ca__dark-bg {
  background-color: #2F6BFF; /* Main color */
  color: #ffffff;
}

.page-ban-ca__dark-bg .page-ban-ca__section-title,
.page-ban-ca__dark-bg .page-ban-ca__section-description,
.page-ban-ca__dark-bg .page-ban-ca__game-card-title,
.page-ban-ca__dark-bg .page-ban-ca__game-card-text,
.page-ban-ca__dark-bg .page-ban-ca__tips-item-title,
.page-ban-ca__dark-bg .page-ban-ca__tips-item-text {
  color: #ffffff;
}

/* Intro Section */
.page-ban-ca__icon-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.page-ban-ca__icon-box {
  flex: 1 1 300px;
  max-width: 380px;
  background-color: #FFFFFF; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
}

.page-ban-ca__icon-box:hover {
  transform: translateY(-5px);
}

.page-ban-ca__icon-box-media {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #A5C4FF; /* Glow */
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-ban-ca__icon-box-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 15px;
}

.page-ban-ca__icon-box-text {
  font-size: 1em;
  line-height: 1.6;
  color: #1F2D3D;
}

/* Game Selection Section */
.page-ban-ca__game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
}

.page-ban-ca__game-card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.page-ban-ca__game-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-ban-ca__game-card-title {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-ban-ca__game-card-text {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Game Trial Section */
.page-ban-ca__iframe-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.page-ban-ca__game-trial-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

.page-ban-ca__cta-buttons--center {
  justify-content: center;
  display: flex;
}