/* style/casino.css */

/* Base styles for the casino page */
.page-casino {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body handles background */
}

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

.page-casino__section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-casino__section-description {
  font-size: clamp(16px, 2vw, 20px);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Color themes for sections */
.page-casino__dark-bg {
  background-color: #26A9E0; /* Main brand color for dark sections */
  color: #ffffff;
  padding: 60px 0;
}

.page-casino__light-bg {
  background-color: #ffffff; /* Auxiliary color for light sections */
  color: #333333; /* Dark text for light background */
  padding: 60px 0;
}

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

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: relative; /* Not absolute, to be in document flow */
  z-index: 1;
  max-height: 700px; /* Limit height for aesthetic */
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  margin-top: 30px; /* Space below image */
}

.page-casino__hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.1;
  color: #ffffff;
}

.page-casino__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  margin-bottom: 30px;
  color: #ffffff;
}

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

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-casino__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-casino__btn-primary:hover {
  background-color: #d16b00;
  border-color: #d16b00;
}

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

.page-casino__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-casino__btn-tertiary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-casino__btn-tertiary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

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

/* Why Choose Section */
.page-casino__why-choose-section .page-casino__section-title,
.page-casino__why-choose-section .page-casino__section-description {
  color: #333333;
}

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

.page-casino__feature-card {
  background-color: #f8f8f8;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-casino__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__feature-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-casino__feature-text {
  font-size: 16px;
  color: #555555;
}

/* Game Providers Section */
.page-casino__game-providers-section .page-casino__section-title,
.page-casino__game-providers-section .page-casino__section-description {
  color: #ffffff;
}

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

.page-casino__provider-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__provider-logo {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 15px;
  border-radius: 5px;
  display: block;
}

.page-casino__provider-name {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-casino__provider-description {
  font-size: 15px;
  color: #f0f0f0;
}

/* Registration Guide Section */
.page-casino__registration-guide-section .page-casino__section-title,
.page-casino__registration-guide-section .page-casino__section-description {
  color: #333333;
}

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

.page-casino__step-card {
  background-color: #f8f8f8;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__step-number {
  background-color: #26A9E0;
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(38, 169, 224, 0.3);
}

.page-casino__step-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-casino__step-text {
  font-size: 16px;
  color: #555555;
}

/* Promotions Section */
.page-casino__promotions-section .page-casino__section-title,
.page-casino__promotions-section .page-casino__section-description {
  color: #ffffff;
}

.page-casino__promotions-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.1);
  color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

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

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

.page-casino__promo-title {
  font-size: 22px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-casino__promo-text {
  font-size: 15px;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-casino__promo-card .page-casino__btn-tertiary {
  margin: 0 25px 25px;
}

/* FAQ Section */
.page-casino__faq-section .page-casino__section-title,
.page-casino__faq-section .page-casino__section-description {
  color: #333333;
}

.page-casino__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-casino__faq-item {
  background-color: #f8f8f8;
  color: #333333;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  color: #333333;
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
  list-style: none; /* For details/summary */
}

.page-casino__faq-item[open] > .page-casino__faq-question {
  border-bottom: 1px solid #eeeeee;
}

.page-casino__faq-question::-webkit-details-marker {
  display: none;
}

.page-casino__faq-qtext {
  flex-grow: 1;
}

.page-casino__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-casino__faq-answer {
  padding: 15px 25px 20px;
  font-size: 16px;
  color: #555555;
}

/* Responsible Gaming Section */
.page-casino__responsible-gaming-section .page-casino__section-title,
.page-casino__responsible-gaming-section .page-casino__section-description {
  color: #ffffff;
}

.page-casino__responsible-gaming-section .page-casino__btn-secondary {
  margin-top: 20px;
  border-color: #ffffff;
  color: #ffffff;
}

.page-casino__responsible-gaming-section .page-casino__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

/* Conclusion Section */
.page-casino__conclusion-section .page-casino__section-title,
.page-casino__conclusion-section .page-casino__section-description {
  color: #333333;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-casino__hero-image {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-casino {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-casino__container {
    padding: 0 15px;
  }

  .page-casino__section-title {
    font-size: 32px;
  }

  .page-casino__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-casino__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-casino__hero-title {
    font-size: 40px;
  }

  .page-casino__hero-description {
    font-size: 18px;
  }

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

  .page-casino__btn-primary,
  .page-casino__btn-secondary,
  .page-casino__btn-tertiary,
  .page-casino a[class*="button"],
  .page-casino a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    font-size: 16px !important;
  }

  .page-casino__hero-cta-buttons,
  .page-casino__cta-buttons--centered {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  .page-casino__features-grid,
  .page-casino__providers-grid,
  .page-casino__steps-grid,
  .page-casino__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-casino__feature-card,
  .page-casino__provider-card,
  .page-casino__step-card,
  .page-casino__promo-card {
    padding: 25px;
  }

  .page-casino__feature-title,
  .page-casino__provider-name,
  .page-casino__step-title,
  .page-casino__promo-title {
    font-size: 20px;
  }

  .page-casino__feature-text,
  .page-casino__provider-description,
  .page-casino__step-text,
  .page-casino__promo-text {
    font-size: 15px;
  }

  .page-casino__feature-icon,
  .page-casino__provider-logo {
    max-width: 150px;
  }

  .page-casino__promo-image {
    height: 150px;
  }

  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-casino__section,
  .page-casino__card,
  .page-casino__container,
  .page-casino__hero-section,
  .page-casino__why-choose-section,
  .page-casino__game-providers-section,
  .page-casino__registration-guide-section,
  .page-casino__promotions-section,
  .page-casino__faq-section,
  .page-casino__responsible-gaming-section,
  .page-casino__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-casino__faq-answer {
    padding: 10px 20px 15px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 32px;
  }

  .page-casino__hero-description {
    font-size: 16px;
  }

  .page-casino__section-title {
    font-size: 28px;
  }
}