/* style/casino.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1E90FF; /* Dodger Blue */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f9f9f9;
  --border-color: #e0e0e0;
}

/* Base styles for the page content */
.page-casino {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light background */
  background-color: #ffffff; /* Explicitly set for clarity, though shared.css might define body bg */
}

.page-casino__section-padding {
  padding: 80px 20px;
}

.page-casino__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Added for inner content spacing */
}

.page-casino__section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--secondary-color); /* Using blue for titles for contrast */
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.page-casino__section-title--light {
  color: var(--text-light);
}

.page-casino__section-subtitle {
  font-size: 18px;
  color: #666666;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__section-subtitle--light {
  color: #e0e0e0;
}

/* CTA Buttons */
.page-casino__cta-buttons {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent; /* Default transparent border */
  box-sizing: border-box; /* Ensure padding/border included in width */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
  max-width: 100%; /* Ensure responsiveness */
}

.page-casino__btn-primary,
.page-casino__cta-button {
  background: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.page-casino__btn-primary:hover,
.page-casino__cta-button:hover {
  background: #e6c200; /* Slightly darker gold */
  border-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.page-casino__btn-secondary {
  background: var(--secondary-color); /* Blue background for secondary */
  color: var(--text-light);
  border-color: var(--secondary-color);
  box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
}

.page-casino__btn-secondary:hover {
  background: #1a7ae0; /* Slightly darker blue */
  border-color: #1a7ae0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 144, 255, 0.4);
}

.page-casino__text-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-casino__text-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* HERO Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; 
  padding-top: var(--header-offset, 120px); 
  overflow: hidden; 
  background-color: #0d0d0d; /* Dark background for hero */
}

.page-casino__hero-container {
  position: relative;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1; 
}

.page-casino__hero-image {
  width: 100%;
  max-height: 70vh; /* Limit height for hero image */
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.page-casino__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the entire area */
  display: block;
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
  padding: 40px 20px;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 12px;
  margin-top: 5vh; 
  margin-bottom: 5vh;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-casino__hero-title {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-casino__hero-description {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

/* Intro Section */
.page-casino__intro-section {
  background-color: #ffffff;
}

.page-casino__intro-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-casino__intro-image {
  width: 50%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  min-width: 200px; /* Ensure minimum size */
}

.page-casino__text-block {
  width: 50%;
}

.page-casino__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--text-dark);
}

/* Games Section */
.page-casino__dark-bg {
  background-color: #0d0d0d; /* Dark background */
  color: var(--text-light);
}

.page-casino__game-category {
  margin-bottom: 60px;
  text-align: center;
}

.page-casino__game-category:last-child {
  margin-bottom: 0;
}

.page-casino__game-category-title {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 25px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.page-casino__game-category-image {
  width: 80%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  margin: 0 auto 30px auto;
  display: block;
  min-width: 200px; /* Ensure minimum size */
}

.page-casino__game-category p {
  font-size: 17px;
  max-width: 900px;
  margin: 0 auto 20px auto;
  color: #f0f0f0;
}

.page-casino__game-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px auto;
  max-width: 900px;
  text-align: left;
}

.page-casino__game-list li {
  background: rgba(255, 215, 0, 0.1); /* Light gold background for list items */
  border-left: 4px solid var(--primary-color);
  padding: 10px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 16px;
  color: var(--text-light);
}

.page-casino__game-list li strong {
  color: var(--primary-color);
}

/* Promotions Section */
.page-casino__promotions-section {
  background-color: var(--background-light);
}

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

.page-casino__promotion-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 200px; /* Ensure minimum size */
}

.page-casino__promotion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.page-casino__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-casino__promotion-content {
  padding: 0 15px;
}

.page-casino__promotion-card h3 {
  font-size: 22px;
  color: var(--secondary-color);
  margin: 20px 0 10px 0;
}

.page-casino__promotion-card p {
  font-size: 15px;
  color: #555555;
  padding-bottom: 20px;
}

/* Getting Started Section */
.page-casino__getting-started-section {
  background-color: #ffffff;
}

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

.page-casino__step-card {
  background: var(--background-light);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}