/* style/casino.css */

/* --- General Styles & Reset (Scoped) --- */
.page-casino {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default white */
}

/* Fixed header offset for the first content section */
.page-casino__hero-section {
  padding-top: var(--header-offset, 120px);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px; /* Adjust as needed */
  background-color: #26A9E0; /* Brand primary color for hero */
  color: #FFFFFF; /* White text for dark background */
  overflow: hidden; /* Ensure content doesn't spill */
}

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

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

.page-casino__dark-bg .page-casino__section-title {
  color: #FFFFFF; /* White titles on dark backgrounds */
}

.page-casino__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-casino__dark-bg .page-casino__sub-title {
  color: #FFFFFF;
}

.page-casino__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: left;
}

.page-casino__dark-bg .page-casino__text-block {
  color: #f0f0f0;
}

.page-casino__text-center {
  text-align: center;
}

.page-casino__highlight {
  font-weight: bold;
  color: #26A9E0; /* Highlight important keywords with brand color */
}

.page-casino__dark-bg .page-casino__highlight {
  color: #FFFFFF; /* White highlight on dark background */
}

/* --- Buttons --- */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box; /* Include padding/border in width */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
  text-align: center;
}

.page-casino__btn-primary {
  background-color: #26A9E0; /* Brand primary color */
  color: #FFFFFF;
  border: 2px solid #26A9E0;
  margin-right: 15px;
}

.page-casino__btn-primary:hover {
  background-color: #1a7fb2;
  border-color: #1a7fb2;
}

.page-casino__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-casino__hero-section .page-casino__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-casino__light-bg .page-casino__btn-secondary {
  color: #26A9E0;
  border-color: #26A9E0;
}

.page-casino__light-bg .page-casino__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-casino__btn-link {
  background-color: transparent;
  color: #26A9E0;
  border: 1px solid #26A9E0;
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-casino__btn-link:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-casino__dark-bg .page-casino__btn-link {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-casino__dark-bg .page-casino__btn-link:hover {
  background-color: #FFFFFF;
  color: #26A9E0;
}

/* --- Hero Section --- */
.page-casino__hero-content {
  max-width: 900px;
  margin-bottom: 30px;
  z-index: 1;
}

.page-casino__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-casino__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-casino__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-casino__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-casino__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
  filter: none; /* No CSS filter allowed */
}

/* --- About Section --- */
.page-casino__about-section {
  padding: 80px 0;
}

.page-casino__image-content-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-casino__image-block {
  flex: 1;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  filter: none; /* No CSS filter allowed */
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
  width: 800px; /* Display width */
  height: 600px; /* Display height */
  object-fit: cover;
}

.page-casino__text-block-right {
  flex: 1;
}

.page-casino__list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-casino__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 1.1em;
}

.page-casino__list li::before {
  content: '✅'; /* Checkmark icon */
  position: absolute;
  left: 0;
  color: #26A9E0;
}

/* --- Games Section --- */
.page-casino__games-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Dark background */
  color: #FFFFFF; /* White text */
}

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

.page-casino__card {
  background-color: #FFFFFF;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.page-casino__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  filter: none; /* No CSS filter allowed */
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-casino__card-title {
  font-size: 1.5em;
  margin: 20px 15px 10px;
  color: #26A9E0;
}

.page-casino__card-text {
  font-size: 1em;
  padding: 0 15px;
  flex-grow: 1; /* Allow text to take available space */
}

/* --- Benefits Section --- */
.page-casino__benefits-section {
  padding: 80px 0;
}

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

.page-casino__benefit-item {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  background-color: #f9f9f9;
}

.page-casino__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* No CSS filter allowed */
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-casino__benefit-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-casino__benefit-description {
  font-size: 1em;
  color: #555555;
}

/* --- Get Started Section --- */
.page-casino__get-started-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
}

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

.page-casino__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
}

.page-casino__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFFFFF;
  margin-bottom: 15px;
  background-color: rgba(255, 255, 255, 0.2);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
}

.page-casino__step-title {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-casino__step-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* --- Promotions Section --- */
.page-casino__promotions-section {
  padding: 80px 0;
}

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

/* --- FAQ Section --- */
.page-casino__faq-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-casino__faq-list {
  margin-top: 40px;
}

.page-casino__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

.page-casino__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-casino__faq-title {
  font-size: 1.3em;
  margin: 0;
  color: #FFFFFF;
}

.page-casino__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFFFFF;
  transition: transform 0.3s ease;
}

.page-casino__faq-item.active .page-casino__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-casino__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-casino__faq-item.active .page-casino__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 25px 25px;
}