.page-casino {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #FFFFFF);
}

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

.page-casino__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

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

.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
}

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

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

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

.page-casino__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1a8cc7;
  border-color: #1a8cc7;
}

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

.page-casino__btn-tertiary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

/* Hero Section */
.page-casino__hero-section {
  padding-top: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #26A9E0 0%, #1a8cc7 100%);
  color: #ffffff;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-casino__hero-section .page-casino__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  padding-top: 20px; /* Small top padding for hero content */
  padding-bottom: 40px;
}

.page-casino__hero-image-wrapper {
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  height: auto;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-casino__hero-content {
  max-width: 900px;
}

.page-casino__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #FFFFFF;
}

.page-casino__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

/* Logo Carousel Section */
.page-casino__logo-carousel-section {
  padding: 30px 20px;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eeeeee;
  text-align: center;
}

.page-casino__logo-carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.page-casino__logo-item {
  width: 80px;
  height: 80px;
  max-width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__logo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-casino__logo-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* About Section */
.page-casino__about-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-casino__about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: justify;
}

.page-casino__about-content p {
  font-size: 1.05em;
  line-height: 1.8;
  color: #444444;
  max-width: 900px;
}

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

/* Games Section */
.page-casino__games-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #26A9E0 0%, #1a8cc7 100%);
  color: #ffffff;
}

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

.page-casino__games-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;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-casino__game-card-title {
  font-size: 1.4em;
  font-weight: 700;
  margin: 15px 15px 10px;
  color: #26A9E0;
}

.page-casino__game-card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-casino__game-card-title a:hover {
  text-decoration: underline;
}

.page-casino__game-card-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-casino__game-card .page-casino__btn-tertiary {
  margin: 0 15px 20px;
  width: calc(100% - 30px);
}

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

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

.page-casino__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 20px;
}

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

.page-casino__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-casino__promo-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

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

.page-casino__all-promos-cta {
  text-align: center;
  margin-top: 50px;
}

/* Why Choose Us Section */
.page-casino__why-choose-us-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #26A9E0 0%, #1a8cc7 100%);
  color: #ffffff;
}

.page-casino__why-choose-us-section .page-casino__section-title,
.page-casino__why-choose-us-section .page-casino__section-description {
  color: #ffffff;
}

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

.page-casino__advantage-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-casino__advantage-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-casino__advantage-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-casino__advantage-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

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

.page-casino__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-casino__faq-item summary {
  list-style: none;
}

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

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
}

.page-casino__faq-item[open] .page-casino__faq-question {
  background-color: #e6e6e6;
  border-bottom: none;
}

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

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

.page-casino__faq-item[open] .page-casino__faq-toggle {
  content: '−';
}

.page-casino__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #555555;
  background-color: #ffffff;
}

/* Final CTA Section */
.page-casino__final-cta-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #26A9E0 0%, #1a8cc7 100%);
  color: #ffffff;
  text-align: center;
}

.page-casino__final-cta-section .page-casino__section-title,
.page-casino__final-cta-section .page-casino__section-description {
  color: #ffffff;
}

.page-casino__final-cta-section .page-casino__cta-buttons {
  margin-top: 30px;
}

/* --- General Image & Card Image Rules --- */
.page-casino img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensures images fill their space without distortion */
}

/* --- Dark/Light Background Colors (Contrast Safety) --- */
.page-casino__dark-section {
  background: linear-gradient(135deg, #26A9E0 0%, #1a8cc7 100%);
  color: #ffffff;
}

.page-casino__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-casino__section-title {
    font-size: 2em;
  }
  .page-casino__intro-text {
    font-size: 1.1em;
  }
  .page-casino__hero-section {
    min-height: 500px;
  }
  .page-casino__games-grid,
  .page-casino__promo-grid,
  .page-casino__advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  .page-casino__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  /* Hero Section Mobile */
  .page-casino__hero-section {
    padding-top: 0 !important; /* Ensure no double padding from body */
    min-height: unset;
    padding-bottom: 30px;
  }

  .page-casino__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* More restrained font size for mobile */
    margin-bottom: 10px;
  }

  .page-casino__intro-text {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-casino__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-casino__btn-primary,
  .page-casino__btn-secondary,
  .page-casino__btn-tertiary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Logo Carousel Section Mobile */
  .page-casino__logo-carousel-section {
    padding: 10px 15px 20px;
  }

  .page-casino__logo-carousel {
    gap: 15px;
    margin-top: 20px;
  }

  .page-casino__logo-item {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    min-width: 80px !important; /* Ensure it doesn't shrink */
  }

  /* About Section Mobile */
  .page-casino__about-section {
    padding: 40px 0;
  }

  .page-casino__about-content p {
    font-size: 1em;
  }

  /* Games Section Mobile */
  .page-casino__games-section {
    padding: 40px 0;
  }

  .page-casino__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-casino__game-card .page-casino__btn-tertiary {
    width: calc(100% - 30px);
  }

  /* Promotions Section Mobile */
  .page-casino__promotions-section {
    padding: 40px 0;
  }

  .page-casino__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-casino__all-promos-cta {
    margin-top: 30px;
  }

  /* Why Choose Us Section Mobile */
  .page-casino__why-choose-us-section {
    padding: 40px 0;
  }

  .page-casino__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  /* FAQ Section Mobile */
  .page-casino__faq-section {
    padding: 40px 0;
  }

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

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

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

  /* Final CTA Section Mobile */
  .page-casino__final-cta-section {
    padding: 40px 0;
  }

  /* Universal Image Responsiveness for mobile */
  .page-casino img:not(.page-casino__logo-item img) {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }
  
  .page-casino__hero-image-wrapper,
  .page-casino__about-image,
  .page-casino__game-image,
  .page-casino__promo-image,
  .page-casino__advantage-icon {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}