.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__hero-section {
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  padding: 80px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-casino__hero-container {
  position: relative;
  z-index: 1;
}

.page-casino__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-casino__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

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

.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, color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
}

.page-casino__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

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

.page-casino__button--secondary {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-casino__button--tertiary {
  background-color: transparent;
  color: #FCBC45;
  border: 2px solid #FCBC45;
}

.page-casino__button--tertiary:hover {
  background-color: #FCBC45;
  color: #000000;
  transform: translateY(-2px);
}

.page-casino__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

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

.page-casino__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-casino__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-casino__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #555555;
}

.page-casino__sub-title {
  font-size: 2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-casino__content-paragraph {
  font-size: 1em;
  color: #333333;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-casino__content-paragraph--center {
  text-align: center;
  margin-top: 30px;
}

.page-casino__content-paragraph a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-casino__content-paragraph a:hover {
  text-decoration: underline;
}

.page-casino__about-section, .page-casino__security-section, .page-casino__promotions-section, .page-casino__mobile-section, .page-casino__login-guide-section, .page-casino__payment-section, .page-casino__support-section, .page-casino__faq-section, .page-casino__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

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

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

.page-casino__feature-title, .page-casino__promo-title, .page-casino__step-title, .page-casino__support-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

.page-casino__feature-text, .page-casino__promo-text, .page-casino__step-text, .page-casino__support-text {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-casino__security-content, .page-casino__mobile-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-casino__security-content:nth-child(even) {
  flex-direction: row-reverse;
}

.page-casino__security-text, .page-casino__mobile-text {
  flex: 1;
}

.page-casino__security-image-wrapper, .page-casino__mobile-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-casino__security-image, .page-casino__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-casino__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
}

.page-casino__feature-list-item {
  font-size: 1em;
  color: #333333;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-casino__feature-list-item::before {
  content: '✔';
  color: #FCBC45;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-casino__faq-list {
  margin-top: 40px;
}

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

.page-casino__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-casino__faq-answer {
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
}

.page-casino__faq-answer a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

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

.page-casino__section-title--cta {
  color: #000000;
  font-size: 3em;
}

.page-casino__section-description--cta {
  color: #333333;
  font-size: 1.2em;
  margin-bottom: 60px;
}

.page-casino__cta-section {
  background-color: #f0f0f0;
  padding: 80px 0;
  text-align: center;
}

.page-casino__cta-actions {
  display: flex;
  justify-content: center;
  gap: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-casino__hero-title {
    font-size: 2.8em;
  }

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

  .page-casino__sub-title {
    font-size: 1.8em;
  }

  .page-casino__security-content, .page-casino__mobile-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-casino__security-content:nth-child(even) {
    flex-direction: column;
  }

  .page-casino__security-image-wrapper, .page-casino__mobile-image-wrapper {
    order: -1; /* Image above text on smaller screens */
  }

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

  .page-casino__button--large {
    width: 80%;
    max-width: 350px;
  }
}

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

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

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

  .page-casino__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

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

  .page-casino__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-casino__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

  .page-casino__sub-title {
    font-size: 1.5em;
  }

  .page-casino__features-grid, .page-casino__promo-grid, .page-casino__steps-grid, .page-casino__support-channels {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-casino__security-image, .page-casino__mobile-image, .page-casino__hero-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
  }

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

  .page-casino__section-description--cta {
    font-size: 1em;
    margin-bottom: 40px;
  }

  /* Ensure content images do not overflow */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }
}