/* style/casino.css */

/* --- General Styles --- */
.page-casino {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  background-color: #FFFFFF; /* Explicitly set for content area if needed, though body is already white */
}

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

.page-casino__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Primary brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-casino__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-casino__btn-primary,
.page-casino__btn-secondary {
  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;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text break */
}

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

.page-casino__btn-primary:hover {
  background-color: #1f8ec4; /* Slightly darker primary */
  border-color: #1f8ec4;
}

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

.page-casino__btn-secondary:hover {
  background-color: #f0f8ff; /* Light blue hover */
  color: #1f8ec4;
  border-color: #1f8ec4;
}

/* --- Hero Section --- */
.page-casino__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above content */
  align-items: center;
  padding-bottom: 60px; /* Space below content */
  background-color: #f0f8ff; /* Light background for the section */
  padding-top: 10px; /* Small top padding */
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Minimum image size */
}

.page-casino__hero-content {
  max-width: 900px;
  margin-top: 40px; /* Space between image and text */
  text-align: center;
  padding: 0 20px;
}

.page-casino__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
  color: #000000; /* Darker title for readability */
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 800;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__description {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 30px;
}

.page-casino__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 500px; /* Constrain button group width */
  margin: 0 auto;
}

/* --- Video Section --- */
.page-casino__video-section {
  padding: 60px 20px;
  background-color: #ffffff;
  padding-top: 10px; /* Small top padding for this section */
}

.page-casino__video-container {
  width: 100%;
  max-width: 900px; /* Max width for video content */
  margin: 0 auto;
  box-sizing: border-box;
  text-align: center;
}

.page-casino__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-top: 30px;
  background-color: #000; /* Fallback background for video area */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-casino__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer; /* Indicate clickable */
}

.page-casino__video-cta {
  margin-top: 30px;
  text-align: center;
}

/* --- Games Overview Section (Dark Background) --- */
.page-casino__games-overview {
  padding: 80px 0;
  background-color: #26A9E0; /* Primary brand color for dark section */
  color: #ffffff; /* White text for dark background */
}

.page-casino__games-overview .page-casino__section-title,
.page-casino__games-overview .page-casino__section-description {
  color: #ffffff; /* Ensure titles/descriptions are white */
}

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

.page-casino__game-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
}

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

.page-casino__game-card-title {
  font-size: 1.5em;
  margin: 20px 15px 10px;
  color: #26A9E0; /* Primary color for card titles */
}

.page-casino__game-card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-casino__game-card-title a:hover {
  text-decoration: underline;
}

.page-casino__game-card-text {
  font-size: 0.95em;
  margin: 0 15px 20px;
  color: #555555;
}

.page-casino__game-card .page-casino__btn-secondary {
  margin-top: 10px;
}

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

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

.page-casino__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding-bottom: 20px;
}

.page-casino__promo-image {
  width: 100%;
  height: 250px; /* Fixed height for promo images */
  object-fit: cover;
  display: block;
  min-height: 200px; /* Minimum image size */
}

.page-casino__promo-title {
  font-size: 1.6em;
  margin: 25px 15px 10px;
  color: #26A9E0;
}

.page-casino__promo-text {
  font-size: 1em;
  margin: 0 15px 25px;
  color: #555555;
}

.page-casino__view-all-promos {
  text-align: center;
  margin-top: 50px;
}

/* --- Why Choose Us Section --- */
.page-casino__why-choose-us {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-casino__feature-item {
  text-align: center;
  padding: 30px;
  background-color: #f0f8ff; /* Light blue background for feature cards */
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-casino__feature-icon {
  width: 100px; /* Fixed size for feature icons */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-height: 100px; /* Minimum image size */
  min-width: 100px;
}

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

.page-casino__feature-text {
  font-size: 0.95em;
  color: #555555;
}

/* --- FAQ Section --- */
.page-casino__faq-section {
  padding: 80px 0;
  background-color: #f8f8f8; /* Light background for FAQ */
}

.page-casino__faq-list {
  max-width: 800px;
  margin: 50px auto 0;
}

.page-casino__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #fcfcfc;
  border-bottom: 1px solid #e0e0e0;
}