/* 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: transparent; /* Body background is handled by shared.css, so keep this transparent */
}

/* Sections */
.page-casino__section {
  padding: 60px 20px;
  text-align: center;
}

.page-casino__dark-bg {
  background-color: #1a1a1a; /* Slightly darker than body background for contrast */
  color: #ffffff;
}

.page-casino__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Add some default horizontal padding */
}

/* Headings */
.page-casino__heading {
  font-size: 2.8em;
  margin-bottom: 30px;
  color: #26A9E0; /* Brand color for headings */
  font-weight: bold;
}

.page-casino__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Slightly off-white for body text */
}

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-tertiary,
.page-casino__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsive buttons */
}

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

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

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

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

.page-casino__btn-tertiary {
  background-color: #EA7C07; /* Login color for specific CTAs */
  color: #ffffff;
  border: 2px solid #EA7C07;
  margin-top: 15px;
}

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

.page-casino__btn-link {
  background-color: transparent;
  color: #26A9E0;
  padding: 0;
  border: none;
  text-decoration: underline;
  margin-top: 10px;
}

.page-casino__btn-link:hover {
  color: #1e87c0;
}

.page-casino__cta-center {
  margin-top: 40px;
}

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

.page-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.4); /* Darken image for text readability, NO COLOR CHANGE */
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

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

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

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

.page-casino__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* About Section */
.page-casino__about-section {
  background-color: #0a0a0a; /* Ensure background matches body for seamless integration */
  color: #f0f0f0;
}

/* Game Grid Section */
.page-casino__games-section {
  padding: 80px 20px;
  background-color: #1a1a1a; /* Slightly darker background for contrast with body */
}

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

.page-casino__game-card {
  background-color: #0a0a0a; /* Dark card background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}

.page-casino__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

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

.page-casino__card-text {
  font-size: 1em;
  color: #f0f0f0;
  padding: 0 15px;
  text-align: left;
  flex-grow: 1; /* Make text take up available space */
}

/* Promotions Section */
.page-casino__promotions-section {
  background-color: #0a0a0a;
  color: #f0f0f0;
}

.page-casino__promotions-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-casino__promotion-item {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-casino__promotion-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 15px;
}

/* Security Section */
.page-casino__security-section {
  padding: 80px 20px;
  background-color: #1a1a1a;
}

.page-casino__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-casino__feature-item {
  background-color: #0a0a0a;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

/* Guide Section */
.page-casino__guide-section {
  background-color: #0a0a0a;
  color: #f0f0f0;
}

.page-casino__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-casino__guide-item {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-casino__guide-step-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-casino__guide-step-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-casino__faq-section {
  padding: 80px 20px;
  background-color: #1a1a1a;
}

.page-casino__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
}