/* style/casino.css */

/* Base Styles for .page-casino content */
.page-casino {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #0a0a0a, so text is light */
  background-color: transparent; /* Inherit from body or shared, or set to a specific color if needed for full page */
}

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

.page-casino__section {
  padding: 80px 0;
  text-align: center;
}

.page-casino__section-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff; /* Ensure title is white on dark background */
}

.page-casino__section-intro {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-casino__sub-title {
  font-size: 2em;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
  color: #26A9E0; /* Brand color for sub-titles */
}

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

.page-casino__mt-30 {
  margin-top: 30px;
}

/* Color Scheme Application */
.page-casino__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter than body bg for visual separation, still dark */
  color: #ffffff;
}

.page-casino__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text on light background */
}

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

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

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

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

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

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  width: 100%;
  height: 70vh; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below header */
  min-height: 500px; /* Minimum height for hero section */
}

.page-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5); /* Darken image for text readability, NO color change */
}

.page-casino__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay */
  z-index: 2;
}

.page-casino__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

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

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

.page-casino__hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
}

/* Why Choose Section */
.page-casino__why-choose .page-casino__section-title,
.page-casino__why-choose .page-casino__section-intro {
  color: #333333;
}

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

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

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

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

/* Game Types Section */
.page-casino__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-casino__game-card {
  background-color: rgba(255, 255, 255, 0.1); /* Translucent white on dark background */
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

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

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

.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: 1em;
  color: #f0f0f0;
  padding: 0 15px 15px;
  flex-grow: 1; /* Ensure description takes available space */
}

/* Live Casino Section */
.page-casino__live-casino .page-casino__section-title,
.page-casino__live-casino .page-casino__section-intro {
  color: #333333;
}

.page-casino__live-content {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
  flex-wrap: wrap; /* Allow content to wrap */
}

.page-casino__live-text {
  flex: 1;
  min-width: 300px;
  color: #555555;
}

.page-casino__live-text p {
  margin-bottom: 15px;
}