/* style/casino.css */
.page-casino {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

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

.page-casino__section-title {
  font-size: 2.8em;
  color: #0A2463; /* Main brand color for titles */
  margin-bottom: 20px;
  font-weight: bold;
}

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

/* Hero Section */
.page-casino__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 40px;
  background-color: #f8f8f8;
  position: relative;
  overflow: hidden;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-casino__hero-content {
  max-width: 900px;
  z-index: 1;
  text-align: center;
}

.page-casino__hero-title {
  font-size: 3.5em;
  color: #0A2463;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-casino__hero-description {
  font-size: 1.3em;
  color: #333333;
  margin-bottom: 40px;
}

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

.page-casino__button {
  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.3s ease;
  cursor: pointer;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-casino__button--primary {
  background-color: #E0B000; /* Auxiliary brand color */
  color: #0A2463; /* Dark text for gold background */
  border: 2px solid #E0B000;
}

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

.page-casino__button--secondary {
  background-color: transparent;
  color: #0A2463; /* Main brand color for text */
  border: 2px solid #0A2463;
}

.page-casino__button--secondary:hover {
  background-color: #0A2463;
  color: #ffffff;
  transform: translateY(-3px);
}

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

/* About Section */
.page-casino__about {
  background-color: #ffffff;
}

.page-casino__about-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-casino__about-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-casino__about-text p {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #444444;
}

/* Game Categories Section */
.page-casino__game-categories {
  background-color: #f4f4f4;
}

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

.page-casino__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__game-image {
  width: 100%;
  height: 250px; /* Minimum 200px height */
  object-fit: cover;
  display: block;
}

.page-casino__game-card h3 {
  font-size: 1.5em;
  color: #0A2463;
  margin: 20px 20px 10px;
}

.page-casino__game-card h3 a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.page-casino__game-card h3 a:hover {
  color: #E0B000;
}

.page-casino__game-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 20px 20px;
  margin-bottom: 15px;
}

.page-casino__game-card .page-casino__button {
  margin: 0 20px 20px;
}

.page-casino__more-games-cta {
  margin-top: 60px;
}

/* Live Experience Section */
.page-casino__live-experience {
  background-color: #0A2463;
  color: #ffffff;
}

.page-casino__live-experience .page-casino__section-title {
  color: #E0B000;
}

.page-casino__live-experience .page-casino__section-description {
  color: #f0f0f0;
}

.page-casino__live-experience .page-casino__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-casino__live-content {
  flex: 1;
}

.page-casino__live-image {
  flex: 1;
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-casino__live-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  font-size: 1.1em;
}

.page-casino__live-features li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-casino__live-features li::before {
  content: '✔';
  color: #E0B000;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Promotions Section */
.page-casino__promotions {
  background-color: #ffffff;
}

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

.page-casino__promotion-card {
  background-color: #fdfdfd;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__promotion-title {
  font-size: 1.8em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-casino__promotion-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
}

.page-casino__more-promotions-cta {
  margin-top: 60px;
}

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

.page-casino__why-choose-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-casino__benefit-list {
  list-style: none;
  padding: 0;
  flex: 1;
}

.page-casino__benefit-list li {
  font-size: 1.1em;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: #444444;
}

.page-casino__benefit-list li strong {
  color: #0A2463;
}

.page-casino__benefit-list li::before {
  content: '⭐'; /* Star icon */
  position: absolute;
  left: 0;
  color: #E0B000;
  font-size: 1.2em;
}

.page-casino__why-choose-image {
  flex: 1;
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-casino__faq {
  background-color: #ffffff;
}

.page-casino__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
}

.page-casino__faq-item {
  border-bottom: 1px solid #eeeeee;
  padding: 20px 0;
}

.page-casino__faq-item:last-child {
  border-bottom: none;
}

.page-casino__faq-question {
  font-size: 1.3em;
  color: #0A2463;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-casino__faq-question::after {
  content: '+';
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
}

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

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

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

.page-casino__faq-answer p {
  margin-bottom: 10px;
}

.page-casino__faq-answer a {
  color: #0A2463;
  text-decoration: none;
}

.page-casino__faq-answer a:hover {
  text-decoration: underline;
}

.page-casino__more-faq-cta {
  margin-top: 60px;
}

/* Final CTA Section */
.page-casino__cta {
  background: linear-gradient(135deg, #0A2463 0%, #1a3a70 100%);
  color: #ffffff;
  padding: 80px 0;
}

.page-casino__cta .page-casino__section-title {
  color: #E0B000;
}

.page-casino__cta .page-casino__section-description {
  color: #f0f0f0;
}

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

.page-casino__cta-actions .page-casino__button--primary {
  background-color: #E0B000;
  color: #0A2463;
  border-color: #E0B000;
}

.page-casino__cta-actions .page-casino__button--primary:hover {
  background-color: #f0c800;
}

.page-casino__cta-actions .page-casino__button--secondary {
  background-color: transparent;
  color: #E0B000;
  border-color: #E0B000;
}

.page-casino__cta-actions .page-casino__button--secondary:hover {
  background-color: #E0B000;
  color: #0A2463;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-casino__hero-image {
    max-height: 450px;
  }

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

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

  .page-casino__about-content,
  .page-casino__live-experience .page-casino__container,
  .page-casino__why-choose-content {
    flex-direction: column;
    text-align: center;
  }

  .page-casino__about-image,
  .page-casino__live-image,
  .page-casino__why-choose-image {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .page-casino__live-content,
  .page-casino__benefit-list {
    text-align: center;
  }

  .page-casino__live-features,
  .page-casino__benefit-list {
    padding-left: 0;
  }

  .page-casino__live-features li,
  .page-casino__benefit-list li {
    padding-left: 0;
    text-align: center;
  }

  .page-casino__live-features li::before,
  .page-casino__benefit-list li::before {
    position: static;
    display: block;
    margin-bottom: 5px;
  }
}

@media (max-width: 768px) {
  .page-casino__section-title {
    font-size: 2.2em;
  }

  .page-casino__hero-section {
    padding: 60px 20px 30px;
  }

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

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

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

  .page-casino__button {
    width: 100%;
    max-width: 300px;
  }

  .page-casino__game-grid {
    grid-template-columns: 1fr;
  }

  .page-casino__promotion-grid {
    grid-template-columns: 1fr;
  }

  .page-casino__faq-question {
    font-size: 1.1em;
  }

  .page-casino__faq-answer {
    font-size: 0.9em;
  }

  .page-casino__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
}

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

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

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

  .page-casino__button {
    padding: 12px 20px;
    font-size: 1em;
  }
}