/* General styles for the page */
.page-ban-ca {
  font-family: Arial, sans-serif;
  color: #333333; /* Text Main */
  line-height: 1.6;
  background-color: #F5F7FA; /* Background */
}

.page-ban-ca__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
}

.page-ban-ca__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #E53935; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-ban-ca__section-description {
  font-size: 18px;
  color: #333333; /* Text Main */
  text-align: center;
  max-width: 800px;
  margin: -20px auto 40px auto;
  line-height: 1.5;
}

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

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button color */
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

.page-ban-ca__btn-primary:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6);
  transform: translateY(-2px);
}

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

.page-ban-ca__btn-secondary:hover {
  background: #E53935; /* Main color */
  color: #ffffff;
  box-shadow: 0 6px 15px rgba(229, 57, 53, 0.3);
  transform: translateY(-2px);
}

.page-ban-ca__btn-large {
  padding: 16px 32px;
  font-size: 20px;
}

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding */
  background-color: #000; /* Fallback for image loading */
}

.page-ban-ca__hero-image {
  width: 100%;
  height: 600px; /* Fixed height for desktop */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-ban-ca__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the area */
  display: block;
}

.page-ban-ca__hero-content {
  text-align: center;
  padding: 40px 20px;
  background-color: #F5F7FA; /* Background */
  position: relative;
  z-index: 1; /* Ensure content is above any potential background effect */
}

.page-ban-ca__main-title {
  font-size: clamp(32px, 4.5vw, 48px); /* Responsive H1 font size */
  font-weight: 900;
  color: #E53935; /* Main color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-ban-ca__hero-description {
  font-size: 20px;
  color: #333333; /* Text Main */
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-ban-ca__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Why Choose Section */
.page-ban-ca__why-choose-section {
  padding: 60px 0;
}

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

.page-ban-ca__feature-card {
  background: #ffffff; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #E0E0E0; /* Border */
}

.page-ban-ca__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-ban-ca__feature-card img {
  width: 100%;
  height: 200px; /* Fixed height for card images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-ban-ca__feature-card .page-ban-ca__card-title {
  font-size: 22px;
  font-weight: bold;
  color: #E53935; /* Main color */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-ban-ca__feature-card .page-ban-ca__card-text {
  font-size: 16px;
  color: #333333; /* Text Main */
}

/* How to Play Section */
.page-ban-ca__how-to-play-section {
  padding: 60px 0;
  background-color: #E53935; /* Dark BG */
  color: #ffffff; /* Light text for dark background */
}

.page-ban-ca__how-to-play-section .page-ban-ca__section-title {
  color: #ffffff; /* Light text */
}

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

.page-ban-ca__step-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-ban-ca__step-number {
  background: #FF5A4F; /* Accent color */
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__step-card .page-ban-ca__card-title {
  font-size: 22px;
  font-weight: bold;
  color: #ffffff; /* Light text */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-ban-ca__step-card .page-ban-ca__card-text {
  font-size: 16px;
  color: #f0f0f0; /* Slightly lighter text */
  flex-grow: 1; /* Make text fill space */
  margin-bottom: 25px;
}

.page-ban-ca__step-card .page-ban-ca__btn-primary,
.page-ban-ca__step-card .page-ban-ca__btn-secondary {
  margin-top: auto; /* Push button to bottom */
}


/* Featured Games Section */
.page-ban-ca__featured-games-section {
  padding: 60px 0;
}

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

.page-ban-ca__game-card {
  background: #ffffff; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #E0E0E0; /* Border */
  display: flex;
  flex-direction: column;
}

.page-ban-ca__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-ban-ca__game-card img {
  width: 100%;
  height: 225px; /* Fixed height for game images (800x450 -> 16:9) */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-ban-ca__game-card .page-ban-ca__card-title {
  font-size: 22px;
  font-weight: bold;
  color: #E53935; /* Main color */
  margin: 20px 20px 10px 20px;
  line-height: 1.3;
}

.page-ban-ca__game-card .page-ban-ca__card-text {
  font-size: 16px;
  color: #333333; /* Text Main */
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-ban-ca__game-card .page-ban-ca__btn-primary {
  margin: 0 20px 20px 20px;
  width: calc(100% - 40px);
}

/* Strategy Section */
.page-ban-ca__strategy-section {
  padding: 60px 0;
  background-color: #E53935; /* Dark BG */
  color: #ffffff; /* Light text */
}

.page-ban-ca__strategy-section .page-ban-ca__section-title {
  color: #ffffff; /* Light text */
}

.page-ban-ca__strategy-section .page-ban-ca__section-description {
  color: #f0f0f0; /* Light text */
}

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

.page-ban-ca__strategy-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-ban-ca__strategy-item .page-ban-ca__card-title {
  font-size: 22px;
  font-weight: bold;
  color: #ffffff; /* Light text */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-ban-ca__strategy-item .page-ban-ca__card-text {
  font-size: 16px;
  color: #f0f0f0; /* Light text */
}

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