/* style/casino.css */

.page-casino {
  color: #ffffff; /* Light text on dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

.page-casino__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-casino__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Accent color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-casino__section-intro {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 600px;
  background-color: #0A1931; /* Dark background for hero */
}

.page-casino__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.page-casino__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay to make text readable */
  filter: brightness(0.7); /* Darken image slightly, but NOT changing color */
  min-width: 200px; /* Enforce min image size */
  min-height: 200px;
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: #ffffff;
}

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

.page-casino__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.95);
}

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

.page-casino__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 200px; /* Minimum button width */
  text-align: center;
  cursor: pointer;
}

.page-casino__btn--primary {
  background-color: #FFD700;
  color: #0A1931;
  border: 2px solid #FFD700;
}

.page-casino__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-casino__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-casino__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A1931;
  transform: translateY(-2px);
}

.page-casino__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  min-width: unset; /* Allow smaller width for context buttons if needed, but still min 200px for images */
}

.page-casino__btn--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

/* About Section */
.page-casino__about-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.page-casino__about-content p {
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.85);
  text-align: justify;
}

.page-casino__about-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

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

.page-casino__game-category-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino__game-category-card:hover {
  transform: translateY(-5px);
}

.page-casino__category-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-casino__category-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino__game-category-card p {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  flex-grow: 1; /* Ensure paragraphs take available space */
}

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

.page-casino__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino__promo-card:hover {
  transform: translateY(-5px);
}

.page-casino__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-casino__promo-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino__promo-card p {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-casino__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-casino__feature-icon {
  width: 200px; /* Display at minimum 200px */
  height: 150px; /* Maintain aspect ratio or suitable height */
  object-fit: contain;
  margin-bottom: 20px;
  /* min-width and min-height are implicitly handled by setting width/height explicitly */
}

.page-casino__feature-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-casino__feature-item p {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.75);
}

/* Get Started Section */
.page-casino__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-casino__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino__step-number {
  font-size: 3em;
  color: #FFD700;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-casino__step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino__step-card p {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Responsible Gaming Section */
.page-casino__responsible-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.page-casino__responsible-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-casino__responsible-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 600px;
  width: 100%;
}

.page-casino__responsible-list li {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #FFD700;
  border-radius: 5px;
}

.page-casino__list-item-title {
  color: #FFD700;
  font-size: 1.3em;
  margin-bottom: 5px;
}

.page-casino__responsible-list p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95em;
}

.page-casino__responsible-callout {
  font-size: 1.1em;
  text-align: center;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}

/* FAQ Section */
.page-casino__faq-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-casino__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-casino__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
  font-weight: bold;
}

.page-casino__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-casino__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-casino__faq-answer {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.75);
  display: none; /* Hidden by default, toggled by JS */
  padding-top: 10px;
}

.page-casino__faq-question.active + .page-casino__faq-answer {
  display: block;
}


/* Call to Action Section */
.page-casino__cta-section {
  text-align: center;
  background-color: #0A1931;
  padding: 80px 20px;
}

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


/* Responsive Design */
@media (min-width: 769px) {
  .page-casino__about-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .page-casino__about-content p {
    flex: 1;
    max-width: 48%;
  }

  .page-casino__about-image {
    flex: 1;
    max-width: 48%;
  }

  .page-casino__responsible-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .page-casino__responsible-image {
    flex: 1;
    max-width: 48%;
  }

  .page-casino__responsible-list {
    flex: 1;
    max-width: 48%;
  }
}

@media (max-width: 768px) {
  .page-casino {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }

  .page-casino__hero-title {
    font-size: 2.5em;
  }

  .page-casino__hero-description {
    font-size: 1.1em;
  }

  .page-casino__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-casino__btn {
    width: 100%;
    max-width: 300px; /* Limit button width on small screens */
    margin: 0 auto;
    min-width: unset;
  }

  .page-casino__section-title {
    font-size: 2em;
  }

  .page-casino__section-intro {
    font-size: 1em;
  }

  .page-casino__about-content {
    flex-direction: column;
  }
  .page-casino__responsible-content {
    flex-direction: column;
  }

  /* Ensure content area images are responsive and don't overflow */
  .page-casino img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-casino__feature-icon {
    width: 100%; /* Make feature icons take full width */
    height: auto;
    max-width: 200px; /* But limit their max size to fit 200px requirement */
    margin-left: auto;
    margin-right: auto;
  }

  .page-casino__cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 2em;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
}