/* style/casino.css */
/* Body background is #0A0A0A (very dark), so text should be light #FFF6D6 */

.page-casino {
  color: #FFF6D6; /* Main text color */
  background-color: #0A0A0A; /* Page background color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-casino__section--dark {
  background-color: #0A0A0A; /* Ensure consistency for dark sections */
}

.page-casino__section-title {
  font-size: clamp(2em, 4vw, 2.8em); /* H1 font size constraint */
  color: #F2C14E; /* Brand primary color */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-casino__section-intro {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

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

.page-casino__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit hero image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px; /* Space between image and content */
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-casino__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 60px;
  text-align: center;
}

.page-casino__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* H1 font size constraint */
  color: #FFD36B; /* Auxiliary color for highlight */
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-casino__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.7;
  color: #FFF6D6;
}

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

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  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%);
  color: #0A0A0A; /* Dark text for contrast */
  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-color: transparent;
  color: #FFD36B; /* Auxiliary color for text */
  border: 2px solid #FFD36B; /* Auxiliary color for border */
}

.page-casino__btn-secondary:hover {
  background-color: #FFD36B;
  color: #0A0A0A; /* Dark text for contrast */
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.2);
}

.page-casino__btn-primary--large {
  font-size: 1.2em;
  padding: 18px 35px;
}

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

.page-casino__category-card {
  background-color: #111111; /* Card Background */
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border color */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #FFF6D6;
}

.page-casino__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px #F2C14E); /* Subtle glow for icons */
}

.page-casino__category-title {
  font-size: 1.4em;
  color: #F2C14E; /* Primary color for titles */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-casino__category-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #FFF6D6;
}

.page-casino__image-showcase {
  margin-top: 60px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__content-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-casino__content-image--small {
  max-width: 600px; /* Example for smaller content images */
  margin: 30px auto 0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-casino__feature-card {
  background-color: #111111; /* Card Background */
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border color */
  color: #FFF6D6;
}

.page-casino__feature-title {
  font-size: 1.3em;
  color: #F2C14E; /* Primary color for titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino__feature-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #FFF6D6;
}

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

.page-casino__step-card {
  background-color: #111111; /* Card Background */
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border color */
  color: #FFF6D6;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Push button to bottom */
}

.page-casino__step-title {
  font-size: 1.5em;
  color: #FFD36B; /* Auxiliary color for titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino__step-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow description to take available space */
}

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

.page-casino__promo-card {
  background-color: #111111; /* Card Background */
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border color */
  color: #FFF6D6;
}

.page-casino__promo-title {
  font-size: 1.3em;
  color: #F2C14E; /* Primary color for titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino__promo-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #FFF6D6;
}

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

/* Providers Grid (Game Images) */
.page-casino__providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(167px, 1fr)); /* 2x5 grid, minmax for responsiveness */
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
  align-items: center;
}

.page-casino__provider-item {
  background-color: #111111; /* Card Background */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border color */
  width: 167px; /* Fixed width for game images */
  height: 127px; /* Fixed height for game images */
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-casino__provider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsible Gaming */
.page-casino__responsible-gaming-content {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.page-casino__responsible-gaming-content p,
.page-casino__responsible-gaming-content ul {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #FFF6D6;
}

.page-casino__responsible-list {
  list-style-type: disc;
  padding-left: 40px;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-casino__responsible-list li {
  margin-bottom: 8px;
}

.page-casino__responsible-gaming-content a {
  color: #FFD36B; /* Auxiliary color for links */
  text-decoration: underline;
}

.page-casino__responsible-gaming-content a:hover {
  color: #F2C14E; /* Primary color on hover */
}

/* FAQ Section */
.page-casino__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-casino__faq-item {
  background-color: #111111; /* Card Background */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #3A2A12; /* Border color */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #111111; /* Card Background */
  color: #F2C14E; /* Primary color for questions */
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-casino__faq-question:hover {
  background-color: #1c1c1c; /* Slightly lighter on hover */
}