/* style/casino.css */

/* --- General Page Styles --- */
.page-casino {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Explicitly set for clarity */
}

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

.page-casino__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #26A9E0; /* Primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-casino__section-title--light {
  color: #FFFFFF; /* White for dark backgrounds */
}

.page-casino__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-casino__section-description--light {
  color: #f0f0f0; /* Light grey for dark backgrounds */
}

.page-casino__cta-center {
  text-align: center;
  margin-top: 50px;
}

.page-casino__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent; /* Ensure consistent button size */
}

.page-casino__cta-button--primary {
  background: #26A9E0; /* Primary brand color */
  color: #ffffff;
  border-color: #26A9E0;
}

.page-casino__cta-button--primary:hover {
  background: #1e87b7;
  border-color: #1e87b7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-casino__cta-button--secondary {
  background: #ffffff;
  color: #26A9E0; /* Primary brand color */
  border-color: #26A9E0;
  margin-left: 20px;
}

.page-casino__cta-button--secondary:hover {
  background: #f0f8ff;
  color: #1e87b7;
  border-color: #1e87b7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-casino__btn-text-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

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

.page-casino__arrow-icon {
  margin-left: 5px;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-casino__btn-text-link:hover .page-casino__arrow-icon {
  transform: translateX(5px);
}

/* --- Background Colors --- */
.page-casino__light-bg {
  background-color: #FFFFFF; /* Auxiliary color / default light */
  color: #333333;
}

.page-casino__dark-bg {
  background-color: #26A9E0; /* Primary color */
  color: #FFFFFF;
}

/* --- Image Styles --- */
.page-casino img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure images cover their area without distortion */
}

/* --- Hero Section --- */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background: linear-gradient(135deg, #26A9E0, #a8e0f9); /* Gradient background */
  overflow: hidden; /* Prevent image overflow */
}

.page-casino__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1; /* Ensure content is above any background layers */
}

.page-casino__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-casino__hero-image img {
  width: 100%;
  height: 675px; /* Fixed height for hero image, will be object-fit: cover */
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: #ffffff;
}

.page-casino__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-casino__hero-description {
  font-size: 20px;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

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


/* --- Introduction Section --- */
.page-casino__introduction-section {
  padding: 80px 0;
}

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

.page-casino__feature-item {
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-casino__feature-item img {
  width: 100%; /* Ensure image fills card width */
  height: 200px; /* Minimum height 200px */
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-casino__feature-title {
  font-size: 22px;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-casino__feature-text {
  font-size: 16px;
  color: #555555;
}

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

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

.page-casino__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-casino__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}