/* style/casino.css */
.page-casino {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Inherited from body via shared.css */
}

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

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  overflow: hidden;
  color: #ffffff;
  background-color: #017439; /* Brand primary color for hero */
}

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

.page-casino__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Slightly transparent to let text stand out */
}

.page-casino__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

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

.page-casino__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #ffffff;
}

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

/* General Section Styles */
.page-casino__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
}

.page-casino__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #ffffff;
}

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

/* Background Colors */
.page-casino__dark-bg {
  background-color: #1a1a2e; /* Body background color */
  color: #ffffff;
  padding: 80px 0;
}

.page-casino__light-bg {
  background-color: #FFFFFF;
  color: #333333; /* Dark text for light background */
  padding: 80px 0;
}

.page-casino__light-bg .page-casino__section-title,
.page-casino__light-bg .page-casino__paragraph,
.page-casino__light-bg .page-casino__game-card-title,
.page-casino__light-bg .page-casino__game-card-description,
.page-casino__light-bg .page-casino__benefit-title,
.page-casino__light-bg .page-casino__benefit-description,
.page-casino__light-bg .page-casino__step-title,
.page-casino__light-bg .page-casino__step-description,
.page-casino__light-bg .page-casino__feature-heading,
.page-casino__light-bg .page-casino__feature-text,
.page-casino__light-bg .page-casino__faq-qtext {
  color: #333333;
}

.page-casino__light-bg .page-casino__faq-toggle {
  color: #017439;
}

.page-casino__light-bg a {
  color: #017439; /* Links in light sections */
}

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.page-casino__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

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

.page-casino__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

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

.page-casino__btn-tertiary:hover {
  background-color: #005f2c;
  border-color: #005f2c;
}

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

.page-casino__cta-buttons--center {
  justify-content: center;
}

/* Introduction Section */
.page-casino__introduction-section .page-casino__section-title {
  color: #333333;
}

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