/* style/casino.css */

/* --- Base Page Styles --- */
.page-casino {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: var(--dark-bg-1, #0d0d0d); /* Fallback to a dark color if var not defined */
}

/* Fixed navigation bar spacing for the first content section */
.page-casino__hero-intro-section {
  padding-top: 120px; /* Desktop spacing for fixed header */
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

/* Ensure all images are responsive and don't overflow */
.page-casino img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure images fill their containers nicely */
}

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

/* --- Section Titles & Descriptions --- */
.page-casino__main-title {
  font-size: 3.2em;
  color: #FFD700; /* Brand gold for main title */
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.page-casino__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Brand gold for section titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.page-casino__section-description,
.page-casino__description-text {
  font-size: 1.1em;
  color: #f0f0f0; /* Light text for general descriptions */
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__description-text a,
.page-casino__section-description a,
.page-casino p a {
  color: #FFD700; /* Gold links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-casino__description-text a:hover,
.page-casino__section-description a:hover,
.page-casino p a:hover {
  color: #fff; /* White on hover */
  text-decoration: underline;
}

.page-casino__highlight-text {
  color: #FFD700; /* Gold highlight */
  font-weight: bold;
}

/* --- Buttons --- */
.page-casino__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 20px;
}

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

.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-tertiary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  border: 2px solid transparent;
}

.page-casino__btn-primary {
  background: #FFD700; /* Gold background */
  color: #000000; /* Black text for contrast */
  border-color: #FFD700;
}

.page-casino__btn-primary:hover {
  background: #e6c200; /* Slightly darker gold on hover */
  color: #ffffff;
  border-color: #e6c200;
}

.page-casino__btn-secondary {
  background: transparent;
  color: #FFD700; /* Gold text */
  border-color: #FFD700;
}

.page-casino__btn-secondary:hover {
  background: #FFD700; /* Gold background on hover */
  color: #000000; /* Black text */
}

.page-casino__btn-tertiary {
  background: #DC143C; /* Red background */
  color: #ffffff; /* White text */
  border-color: #DC143C;
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 20px;
}

.page-casino__btn-tertiary:hover {
  background: #b20f30; /* Darker red on hover */
  border-color: #b20f30;
}

.page-casino__btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
  border-radius: 20px;
}

/* --- Section Specific Styles --- */
.page-casino__dark-section {
  background-color: var(--dark-bg-2, #1a1a1a); /* Slightly lighter dark background */
  color: #f0f0f0;
  padding: 80px 0;
}

.page-casino__light-bg {
  background-color: #ffffff; /* White background */
  color: #333333; /* Dark text for light background */
  padding: 80px 0;
}

.page-casino__light-bg .page-casino__section-title,
.page-casino__light-bg .page-casino__section-description {
  color: #333333; /* Ensure titles/descriptions are dark on light bg */
}

.page-casino__light-bg .page-casino__section-description a,
.page-casino__light-bg p a {
  color: #DC143C; /* Red links on light background */
}

.page-casino__light-bg .page-casino__section-description a:hover,
.page-casino__light-bg p a:hover {
  color: #FFD700; /* Gold on hover */
}

/* --- Game Types Section --- */
.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: rgba(255, 255, 255, 0.05); /* Slightly transparent white */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
  border: 1px solid rgba(255, 215, 0, 0.3); /* Soft gold border */
}

.page-casino__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-casino__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  overflow: hidden;
  margin-bottom: 20px;
}

.page-casino__game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-casino__game-card-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold title */
  margin: 0 20px 15px;
  font-weight: 600;
}

.page-casino__game-card-text {
  font-size: 0.95em;
  color: #c0c0c0; /* Lighter text for card description */
  margin: 0 20px 20px;
  flex-grow: 1; /* Push button to bottom */
}

.page-casino__game-card .page-casino__btn-tertiary {
  align-self: flex-start;
  margin-left: 20px;
}

/* --- Promotions Section --- */
.page-casino__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino__promo-card {
  background: #f8f8f8; /* Light background for promo cards */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #eee;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__promo-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
}

.page-casino__promo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.page-casino__promo-card-title {
  font-size: 1.6em;
  color: #DC143C; /* Red title */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-casino__promo-card-text {
  font-size: 1em;
  color: #555555; /* Darker text for readability on light background */
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-casino__promo-card .page-casino__btn-primary,
.page-casino__promo-card .page-casino__btn-secondary {
  margin-top: auto; /* Push buttons to the bottom */
  width: 80%; /* Adjust button width */
}

/* --- Why Choose Section --- */
.page-casino__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino__feature-item {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for features */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}