/* style/casino.css */
.page-casino {
  color: #333333; /* Dark text for light body background */
  background-color: #f8f8f8;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-casino__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
  color: #ffffff;
  text-align: center;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-casino__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 600px; /* Minimum height for hero section */
  z-index: 2;
}

.page-casino__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
}

.page-casino__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-casino__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

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

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

.page-casino__button--primary {
  background-color: #FFD700; /* Gold accent */
  color: #1A202C; /* Dark text */
  border: 2px solid #FFD700;
}

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

.page-casino__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold accent */
  border: 2px solid #FFD700;
}

.page-casino__button--secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-2px);
}

.page-casino__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  min-width: 120px;
}

.page-casino__button--large {
  padding: 18px 35px;
  font-size: 1.2em;
  min-width: 250px;
}

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

.page-casino__section-title {
  font-size: 2.5em;
  color: #1A202C; /* Main dark color */
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.page-casino__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-casino__section-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-casino__about-section {
  padding: 60px 0;
  background-color: #f0f0f0;
}

.page-casino__game-categories-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.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-color: #1A202C; /* Dark background for cards */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

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

.page-casino__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 3px solid #FFD700;
}

.page-casino__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin: 20px 15px 10px;
}

.page-casino__card-description {
  font-size: 1em;
  color: #cccccc;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-casino__game-card .page-casino__button--small {
  margin: 0 auto 20px;
  display: block;
  width: fit-content;
}

.page-casino__promotions-section {
  padding: 60px 0;
  background-color: #f0f0f0;
}

.page-casino__why-choose-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.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-color: #f0f0f0;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.page-casino__feature-item:hover {
  background-color: #e6e6e6;
}

.page-casino__feature-title {
  font-size: 1.5em;
  color: #1A202C;
  margin-bottom: 15px;
}

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

.page-casino__how-to-start-section {
  padding: 60px 0;
  background-color: #1A202C;
  color: #ffffff;
}

.page-casino__how-to-start-section .page-casino__section-title,
.page-casino__how-to-start-section .page-casino__section-text {
  color: #ffffff;
}

.page-casino__how-to-start-section .page-casino__section-title::after {
  background-color: #FFD700;
}

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

.page-casino__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.page-casino__step-description {
  font-size: 1em;
  color: #cccccc;
}

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

.page-casino__faq-section {
  padding: 60px 0;
  background-color: #f0f0f0;
}

.page-casino__faq-item {
  background-color: #ffffff;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

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

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

.page-casino__faq-answer {
  font-size: 1em;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding-top 0.4s ease-out;
  padding-top: 0;
}

.page-casino__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding-top: 15px;
}

.page-casino__cta-section {
  padding: 80px 0;
  background-color: #1A202C; /* Dark background */
  color: #ffffff;
  text-align: center;
}

.page-casino__cta-section .page-casino__section-title,
.page-casino__cta-section .page-casino__section-text {
  color: #ffffff;
}

.page-casino__cta-section .page-casino__section-title::after {
  background-color: #FFD700;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: 3em;
  }
  .page-casino__hero-description {
    font-size: 1.2em;
  }
  .page-casino__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-container {
    padding: 60px 15px;
    min-height: 500px;
  }
  .page-casino__hero-title {
    font-size: 2.5em;
  }
  .page-casino__hero-description {
    font-size: 1.1em;
  }
  .page-casino__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__button {
    width: 100%;
    max-width: 300px;
  }
  .page-casino__container {
    padding: 30px 15px;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__section-text {
    font-size: 1em;
  }
  .page-casino__game-grid,
  .page-casino__features-grid,
  .page-casino__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-casino__game-image {
    height: 200px;
  }
  .page-casino__start-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__faq-question {
    font-size: 1.1em;
  }
  .page-casino__faq-answer {
    font-size: 0.95em;
  }
  /* Prevent image overflow on mobile */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 2em;
  }
  .page-casino__hero-description {
    font-size: 1em;
  }
  .page-casino__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-casino__section-title {
    font-size: 1.5em;
  }
  .page-casino__game-card .page-casino__button--small {
    width: 80%;
  }
}