.page-casino {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: #f8f8f8;
  line-height: 1.6;
}

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

.page-casino__section-title {
  font-size: 36px;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-casino__text-block {
  font-size: 17px;
  margin-bottom: 25px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__cta-button,
.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button adapts to container */
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__cta-button {
  background: #EA7C07;
  color: #ffffff;
  margin-top: 30px;
  border: 2px solid transparent;
}

.page-casino__cta-button:hover {
  background: #d46c06;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-casino__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid transparent;
  margin-top: 20px;
  margin-left: 10px;
  margin-right: 10px;
}

.page-casino__btn-primary:hover {
  background: #1e87bb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-casino__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin-top: 20px;
  margin-left: 10px;
  margin-right: 10px;
}

.page-casino__btn-secondary:hover {
  background: #e0f2f7;
  color: #1e87bb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* HERO Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #f0faff;
}

.page-casino__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-casino__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-casino__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-casino__hero-content h1 {
  font-size: clamp(30px, 4.5vw, 56px);
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 800;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__hero-content p {
  font-size: 20px;
  color: #555555;
  max-width: 700px;
  margin: 0 auto 30px auto;
}

/* Intro Section */
.page-casino__intro-section {
  padding: 80px 0;
  background-color: #ffffff;
}

/* Games Section */
.page-casino__games-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-casino__games-section .page-casino__section-title {
  color: #ffffff;
}

.page-casino__games-section .page-casino__text-block {
  color: #e0f2f7;
}

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

.page-casino__game-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__game-card img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Enforce minimum size for card images */
}

.page-casino__game-card .page-casino__card-title {
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino__game-card p {
  font-size: 16px;
  color: #e0f2f7;
  line-height: 1.5;
  text-align: center;
}

/* Promotions Section */
.page-casino__promotions-section {
  padding: 80px 0;
  background-color: #f0faff;
}

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

.page-casino__promo-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__promo-card img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Enforce minimum size for card images */
}

.page-casino__promo-card .page-casino__card-title {
  font-size: 24px;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino__promo-card p {
  font-size: 16px;
  color: #555555;
  line-height: 1.5;
  text-align: center;
}

/* Security Section */
.page-casino__security-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-casino__security-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-casino__security-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 17px;
  color: #444444;
}

.page-casino__security-icon {
  font-size: 28px;
  color: #26A9E0;
  margin-right: 15px;
  flex-shrink: 0;
}

.page-casino__security-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 50px auto 0 auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Download Section */
.page-casino__download-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-casino__download-section .page-casino__section-title {
  color: #ffffff;
}

.page-casino__download-section .page-casino__text-block {
  color: #e0f2f7;
}

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

.page-casino__download-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 50px auto 0 auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-casino__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

details.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

details.page-casino__faq-item summary.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-casino__faq-item summary.page-casino__faq-question:hover {
  background: #f5f5f5;
}

.page-casino__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-casino__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #26A9E0;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-casino__faq-item .page-casino__faq-answer {
  padding: 0 25px 25px;
  background: #f9f9f9;
  border-radius: 0 0 10px 10px;
  color: #555555;
  font-size: 16px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-casino__hero-content h1 {
    font-size: clamp(30px, 4.5vw, 48px);
  }
  .page-casino__hero-content p {
    font-size: 18px;
  }
  .page-casino__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino__hero-image img {
    border-radius: 8px;
  }

  .page-casino__hero-content h1 {
    font-size: clamp(28px, 6vw, 40px);
  }

  .page-casino__hero-content p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-casino__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-casino__btn-primary,
  .page-casino__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0;
    margin-right: 0;
  }

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

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

  .page-casino__text-block {
    font-size: 16px;
  }

  .page-casino__game-grid,
  .page-casino__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-casino__game-card img,
  .page-casino__promo-card img {
    min-
  }

  .page-casino__game-card .page-casino__card-title,
  .page-casino__promo-card .page-casino__card-title {
    font-size: 20px;
  }

  .page-casino__security-list {
    margin: 30px auto;
  }

  .page-casino__security-list li {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .page-casino__security-icon {
    font-size: 24px;
    margin-right: 10px;
  }

  details.page-casino__faq-item summary.page-casino__faq-question {
    padding: 15px 20px;
  }

  .page-casino__faq-qtext {
    font-size: 16px;
  }

  .page-casino__faq-toggle {
    font-size: 24px;
    width: 25px;
  }

  details.page-casino__faq-item .page-casino__faq-answer {
    padding: 0 20px 20px;
    font-size: 15px;
  }

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

  .page-casino__section,
  .page-casino__card,
  .page-casino__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Default text color for light background */
.page-casino {
  color: #333333;
}

/* Dark sections for contrast */
.page-casino__dark-section {
  background: #26A9E0;
  color: #ffffff;
}
.page-casino__dark-section .page-casino__text-block {
  color: #e0f2f7;
}
.page-casino__dark-section .page-casino__card-title {
  color: #ffffff;
}
.page-casino__dark-section .page-casino__game-card {
  background: rgba(255, 255, 255, 0.1);
}

/* Ensure contrast for buttons */
.page-casino__btn-primary {
  background: #26A9E0;
  color: #ffffff;
}
.page-casino__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}
.page-casino__cta-button {
  background: #EA7C07;
  color: #ffffff;
}

/* Footer placeholder text color */
.shared-footer {
  color: #cccccc; /* Example, actual color from shared.css */
}

/* Image min-height enforcement */
.page-casino__hero-image img,
.page-casino__game-card img,
.page-casino__promo-card img,
.page-casino__security-image,
.page-casino__download-image {
  min-height: 200px; /* Global minimum height for all content images */
}