/* style/casino.css */

/* --- General Page Styles --- */
.page-casino {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #ffffff; /* Default body background */
}

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

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

.page-casino__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

.page-casino__section-title--light {
  color: #ffffff;
}

.page-casino__section-title--light::after {
  background-color: #ffffff;
}

.page-casino__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

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

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

.page-casino__text-block a {
  color: #EA7C07; /* Login color for links */
  text-decoration: none;
  font-weight: bold;
}

.page-casino__text-block a:hover {
  text-decoration: underline;
}

/* --- Buttons --- */
.page-casino__cta-button,
.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  margin: 10px; /* Add margin for spacing between buttons */
  box-sizing: border-box;
}

.page-casino__cta-button {
  background: #26A9E0; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-casino__cta-button:hover {
  background: #1e87c7;
  border-color: #1e87c7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-casino__cta-button--secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-casino__cta-button--secondary:hover {
  background: #e0f2f7;
  color: #1e87c7;
  border-color: #1e87c7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-casino__btn-primary {
  background: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-casino__btn-primary:hover {
  background: #d46c06;
  border-color: #d46c06;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-casino__btn-secondary:hover {
  background: #fff0e0;
  color: #d46c06;
  border-color: #d46c06;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-casino__button-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  margin-top: 30px;
  margin-bottom: 20px;
}

/* --- Hero Section --- */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  background: linear-gradient(135deg, #26A9E0, #FFFFFF); /* Gradient background */
}

.page-casino__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1; /* Ensure content is above potential background elements */
}

.page-casino__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-casino__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: #ffffff; /* White text for hero content */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.page-casino__main-title {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-casino__main-description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}


/* --- Section Specific Styles --- */
.page-casino__introduction-section,
.page-casino__promotions-section,
.page-casino__guide-section,
.page-casino__faq-section {
  padding: 80px 0;
  background-color: #f8fcfd; /* Light background for contrast */
}

.page-casino__games-section,
.page-casino__why-choose-section,
.page-casino__tips-section,
.page-casino__conclusion-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Brand primary color for dark sections */
  color: #ffffff;
}

/* --- Games Grid --- */
.page-casino__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-casino__game-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-casino__game-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-casino__card-title {
  font-size: 22px;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-casino__card-description {
  font-size: 15px;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
  text-align: justify;
}

.page-casino__card-button {
  display: inline-block;
  padding: 10px 25px;
  background: #EA7C07;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-casino__card-button:hover {
  background: #d46c06;
}

/* --- Promotions Section --- */
.page-casino__promo-banner {
  width: 100%;
  height: auto;
  max-width: 900px;
  display: block;
  margin: 0 auto 40px auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-casino__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.page-casino__promo-item {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #26A9E0;
}

.page-casino__promo-item strong {
  color: #26A9E0;
  font-size: 18px;
  display: block;
  margin-bottom: 10px;
}

/* --- Features Grid (Why Choose) --- */
.page-casino__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-casino__feature-card {
  background: rgba(255, 255, 255, 0.15); /* Slightly transparent white on dark background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-casino__feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.25);
}

.page-casino__feature-card img {
  width: 100%;
   /* Fixed height for consistency */
  object-fit: contain; /* Use contain for icons/symbols */
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2)); /* Add shadow, not color filter */
}

.page-casino__feature-card--dark .page-casino__card-title,
.page-casino__feature-card--dark .page-casino__card-description {
  color: #ffffff;
}

/* --- Guide List --- */
.page-casino__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-casino__guide-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.page-casino__guide-item:last-child {
  margin-bottom: 0;
}

.page-casino__guide-step-title {
  font-size: 24px;
  color: #26A9E0;
  margin-top: 0;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.page-casino__guide-step-title::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background-color: #EA7C07;
  color: #ffffff;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
}

.page-casino__guide-list {
  counter-reset: step-counter;
}