/* style/casino.css */

/* Base styles for the casino page */
.page-casino {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--black-color); /* Inherit from shared.css, assumed dark */
}

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

.page-casino__dark-bg {
  background-color: #26A9E0; /* Brand primary color for dark sections */
  color: #ffffff; /* White text for brand primary background */
}

.page-casino__light-bg {
  background-color: #ffffff; /* White background for light sections */
  color: #333333; /* Dark text for white background */
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  min-height: 600px;
  overflow: hidden;
  background-color: #26A9E0; /* Fallback if image not loaded */
}

.page-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.8; /* Slightly dim image for text readability */
}

.page-casino__hero-section .page-casino__container {
  position: relative;
  z-index: 1;
}

.page-casino__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-casino__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #ffffff;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-casino__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
}

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

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

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

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

.page-casino__btn-center {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 300px;
}

.page-casino__btn-text {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 15px;
}

.page-casino__btn-text:hover {
  text-decoration: underline;
}

/* General Section Styling */
.page-casino__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-casino__intro-section .page-casino__section-title,
.page-casino__how-to-choose-section .page-casino__section-title,
.page-casino__promotions-section .page-casino__section-title,
.page-casino__cta-section .page-casino__section-title {
  color: #26A9E0; /* Brand primary color for light background titles */
}

.page-casino__top-games-section .page-casino__section-title,
.page-casino__video-section .page-casino__section-title,
.page-casino__tips-section .page-casino__section-title,
.page-casino__faq-section .page-casino__section-title {
  color: #ffffff; /* White text for dark background titles */
}

.page-casino__paragraph {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-casino__intro-section,
.page-casino__how-to-choose-section,
.page-casino__promotions-section,
.page-casino__cta-section {
  padding: 80px 0;
}

.page-casino__top-games-section,
.page-casino__video-section,
.page-casino__tips-section,
.page-casino__faq-section {
  padding: 80px 0;
}

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

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

.page-casino__feature-item img {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-casino__game-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #333333;
}

.page-casino__game-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

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

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

.page-casino__game-description {
  font-size: 0.95em;
  color: #555555;
  flex-grow: 1;
}

/* Video Section */
.page-casino__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background-color: #000; /* Fallback for video background */
}

.page-casino__video {
  display: block;
  width: 100%;
  height: auto;
}

.page-casino__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); /* Slightly dark overlay */
  cursor: pointer;
  z-index: 1;
}

.page-casino__video-caption {
  text-align: center;
  margin-top: 15px;
  font-style: italic;
  color: #ffffff;
  font-size: 0.9em;
}

/* Checklist */
.page-casino__checklist {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-casino__checklist-item {
  background-color: #f8f8f8;
  border-left: 5px solid #26A9E0;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.1em;
  color: #333333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-casino__checklist-item strong {
  color: #26A9E0;
}

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

.page-casino__tip-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
}

.page-casino__tip-card img {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__tip-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

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