/* Base styles for the casino-truc-tuyen page */
.page-casino-truc-tuyen {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light background */
  background-color: var(--background-color, #ffffff); /* Use shared background, default to white */
}

.page-casino-truc-tuyen__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
}

.page-casino-truc-tuyen__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-casino-truc-tuyen__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-casino-truc-tuyen__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-casino-truc-tuyen__text-block a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-casino-truc-tuyen__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-casino-truc-tuyen__list li {
  margin-bottom: 10px;
}

/* Hero Section */
.page-casino-truc-tuyen__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  margin-bottom: 40px;
  text-align: center;
}

.page-casino-truc-tuyen__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-casino-truc-tuyen__hero-content {
  padding: 40px 15px;
  background-color: #ffffff; /* Explicitly white background for text contrast */
  max-width: 800px;
  margin: -80px auto 0; /* Pull up over image slightly for design effect, but text is not on image */
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-radius: 8px;
}

.page-casino-truc-tuyen__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-casino-truc-tuyen__hero-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 30px;
}

.page-casino-truc-tuyen__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%; /* Ensure container takes full width for responsive buttons */
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-casino-truc-tuyen__cta-buttons--centered {
  margin-top: 40px;
}

.page-casino-truc-tuyen__cta-buttons--large .page-casino-truc-tuyen__btn-primary,
.page-casino-truc-tuyen__cta-buttons--large .page-casino-truc-tuyen__btn-secondary {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-casino-truc-tuyen__btn-primary,
.page-casino-truc-tuyen__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-casino-truc-tuyen__btn-primary {
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff; /* White text for contrast */
  border: 2px solid #26A9E0;
}

.page-casino-truc-tuyen__btn-primary:hover {
  background-color: #1e87b3;
  border-color: #1e87b3;
}

.page-casino-truc-tuyen__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0; /* Brand color text for contrast */
  border: 2px solid #26A9E0;
}

.page-casino-truc-tuyen__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b3;
  border-color: #1e87b3;
}

/* Section specific backgrounds */
.page-casino-truc-tuyen__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-casino-truc-tuyen__dark-bg {
  background-color: #26A9E0; /* Main brand color as background */
  color: #ffffff; /* White text for contrast */
}

.page-casino-truc-tuyen__dark-bg .page-casino-truc-tuyen__section-title,
.page-casino-truc-tuyen__dark-bg .page-casino-truc-tuyen__sub-title,
.page-casino-truc-tuyen__dark-bg .page-casino-truc-tuyen__game-title,
.page-casino-truc-tuyen__dark-bg .page-casino-truc-tuyen__promo-title {
  color: #ffffff; /* White titles on dark background */
}

.page-casino-truc-tuyen__dark-bg a {
  color: #ffffff; /* White links on dark background */
}

/* Image wrappers for content images */
.page-casino-truc-tuyen__image-wrapper {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-casino-truc-tuyen__image-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

/* Game Grid Section */
.page-casino-truc-tuyen__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino-truc-tuyen__game-card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on brand color background */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino-truc-tuyen__game-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #ffffff; /* White title on dark card */
}

.page-casino-truc-tuyen__game-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
  color: #f0f0f0;
}

.page-casino-truc-tuyen__game-trial-frame {
  border: none;
  border-radius: 8px;
  margin-bottom: 20px;
  width: 100%;
  height: 300px; /* Fixed height for iframe */
}

/* Promotions Section */
.page-casino-truc-tuyen__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}