/* style/casino.css */

/* Base styles for the casino page */
.page-casino {
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-casino__dark-bg {
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
}

.page-casino__light-bg {
  background-color: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
}

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

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

.page-casino__section-title {
  font-size: clamp(2.2em, 4vw, 2.8em);
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2C14E; /* Primary Color */
  letter-spacing: 1px;
}

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

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: brightness(0.7); /* Slightly darken image for text readability, NO color change */
}

.page-casino__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 40px 20px;
  box-sizing: border-box;
  margin-top: -150px; /* Pull content up slightly over the bottom of the image for visual flow */
  background: linear-gradient(0deg, #0A0A0A 50%, rgba(10, 10, 10, 0) 100%); /* Fade from background color */
}

.page-casino__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  font-weight: 900;
  color: #F2C14E; /* Primary Color */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-casino__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button Gradient */
  color: #0A0A0A; /* Dark text for contrast on gold */
  border: 2px solid transparent;
}

.page-casino__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-casino__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Primary Color */
  border: 2px solid #F2C14E; /* Border */
}

.page-casino__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A; /* Dark text for contrast on gold */
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-casino__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Why Choose Section */
.page-casino__why-choose {
  background-color: #111111; /* Card BG */
}

.page-casino__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.page-casino__feature-item {
  background-color: #0A0A0A; /* Background */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
  text-align: center;
}

.page-casino__feature-icon {
  width: 200px; /* Enforce min size */
  height: 200px; /* Enforce min size */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-casino__feature-title {
  font-size: 1.8em;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
}

.page-casino__feature-description {
  font-size: 1em;
  color: #FFF6D6;
}

/* Game Showcase Section */
.page-casino__game-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.page-casino__category-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 25px;
  color: #FFF6D6;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.page-casino__category-card:hover {
  background-color: #F2C14E;
  color: #0A0A0A;
}

.page-casino__category-icon {
  width: 30px; /* Allowed small size */
  height: 30px; /* Allowed small size */
  object-fit: contain;
}

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

.page-casino__game-card {
  background-color: #111111; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
  text-align: left;
}

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

.page-casino__game-card h3,
.page-casino__game-card p {
  padding: 0 20px;
}

.page-casino__game-title {
  font-size: 1.5em;
  color: #FFD36B; /* Glow */
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-casino__game-description {
  font-size: 0.95em;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-casino__game-card .page-casino__btn-primary {
  margin: 0 20px 20px 20px;
  width: calc(100% - 40px);
}

.page-casino__view-all-games {
  margin-top: 20px;
}

/* Promotions Section */
.page-casino__promotions {
  background-color: #111111; /* Card BG */
}

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

.page-casino__promo-card {
  background-color: #0A0A0A; /* Background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
  text-align: left;
}

.page-casino__promo-thumbnail {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-casino__promo-card h3,
.page-casino__promo-card p {
  padding: 0 20px;
}

.page-casino__promo-title {
  font-size: 1.6em;
  color: #FFD36B;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-casino__promo-description {
  font-size: 0.95em;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-casino__promo-card .page-casino__btn-primary {
  margin: 0 20px 20px 20px;
  width: calc(100% - 40px);
}

/* Access Section */
.page-casino__access-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.page-casino__access-item {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
  text-align: center;
}

.page-casino__access-icon {
  width: 200px; /* Enforce min size */
  height: 200px; /* Enforce min size */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-casino__access-title {
  font-size: 1.8em;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-casino__access-description {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-casino__access-item .page-casino__btn-secondary {
  width: auto;
  min-width: 180px;
  margin-top: 10px;
}

/* Philosophy Section */
.page-casino__philosophy {
  background-color: #111111; /* Card BG */
}

.page-casino__philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.page-casino__philosophy-item {
  background-color: #0A0A0A; /* Background */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
  text-align: left;
}