/* 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: transparent; /* Inherit from shared.css body */
}

.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;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #000; /* Fallback for hero section */
}

.page-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.6;
}

.page-casino__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text readability */
  border-radius: 10px;
}

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

.page-casino__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

/* General Section Styling */
.page-casino__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-casino__text-block {
  font-size: 1.1em;
  color: #ffffff;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  padding: 0 15px;
}

/* About Section */
.page-casino__about-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Dark background for sections */
}

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

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

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

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

/* Games Section */
.page-casino__games-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

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

.page-casino__game-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.page-casino__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
}

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

.page-casino__game-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-casino__game-description {
  font-size: 0.95em;
  color: #f0f0f0;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

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

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