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

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

.page-casino__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #E53935;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-casino__section-subtitle {
  font-size: 18px;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Assuming body has padding-top from shared.css */
  background: #E53935;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-height: 600px;
}

.page-casino__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(229, 57, 53, 0.9) 0%, rgba(255, 90, 79, 0.9) 100%);
  border-radius: 8px;
  margin-top: -80px;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-casino__hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
}

.page-casino__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
}

.page-casino__btn-primary:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

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

.page-casino__btn-secondary:hover {
  background: #f0f0f0;
  color: #FF5A4F;
  border-color: #FF5A4F;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

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

.page-casino__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-casino__text-block p {
  margin-bottom: 15px;
  color: #333333;
}

.page-casino__text-block .page-casino__btn-learn-more {
  margin-top: 20px;
}

.page-casino__image-block img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

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

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

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

.page-casino__game-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-casino__game-card .page-casino__game-title {
  font-size: 22px;
  font-weight: 700;
  color: #E53935;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-casino__game-card .page-casino__game-description {
  font-size: 15px;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 20px;
  flex-grow: 1;
}

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

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

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

.page-casino__promo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-casino__promo-card .page-casino__promo-title {
  font-size: 20px;
  font-weight: 700;
  color: #E53935;
  margin: 20px 20px 10px;
  flex-grow: 1;
}

.page-casino__promo-card .page-casino__promo-description {
  font-size: 15px;
  color: #555555;
  margin: 0 20px 20px;
}

.page-casino__promo-card .page-casino__btn-primary {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

.page-casino__view-all-promos {
  text-align: center;
}

/* Why Choose Us Section */
.page-casino__why-choose-us {
  padding: 80px 0;
  background: #FF5A4F;
  color: #ffffff;
}

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

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

.page-casino__feature-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-casino__feature-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  display: inline-block;
}

.page-casino__feature-item .page-casino__feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

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

/* Providers Section */
.page-casino__providers-section {
  padding: 80px 0;
}

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

.page-casino__providers-grid img {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
  display: block;
}

.page-casino__providers-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* CTA Section */
.page-casino__cta-section {
  padding: 80px 0;
  background: #E53935;
  color: #ffffff;
  text-align: center;
}

.page-casino__cta-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-casino__cta-description {
  font-size: 20px;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-casino__btn-large {
  padding: 18px 40px;
  font-size: 20px;
}

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

details.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-casino__faq-item summary.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  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: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-casino__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-casino__faq-item .page-casino__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-casino__hero-image {
    max-height: 500px;
  }
  .page-casino__hero-content {
    margin-top: -60px;
    padding: 30px 20px;
  }
  .page-casino__hero-title {
    font-size: clamp(26px, 3.5vw, 40px);
  }
  .page-casino__section-title {
    font-size: 32px;
  }
  .page-casino__content-grid {
    grid-template-columns: 1fr;
  }
  .page-casino__image-block {
    order: -1;
  }
  .page-casino__games-grid,
  .page-casino__promo-grid,
  .page-casino__features-grid,
  .page-casino__providers-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-casino__cta-title {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .page-casino__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-casino__hero-section {
    padding-top: 10px;
  }
  .page-casino__hero-image {
    max-height: 400px !important;
    object-fit: contain !important; /* Specific for Banner as per U888 */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-casino__hero-content {
    margin-top: -40px;
    padding: 25px 15px;
    max-width: calc(100% - 30px) !important;
  }
  .page-casino__hero-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .page-casino__hero-description {
    font-size: 16px;
  }
  .page-casino__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-casino__btn-primary,
  .page-casino__btn-secondary,
  .page-casino a[class*="button"],
  .page-casino a[class*="btn"] {
    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;
  }

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

  .page-casino__about-section,
  .page-casino__games-section,
  .page-casino__promotions-section,
  .page-casino__why-choose-us,
  .page-casino__providers-section,
  .page-casino__cta-section,
  .page-casino__faq-section {
    padding: 40px 0;
  }

  .page-casino__content-grid {
    gap: 30px;
  }

  .page-casino__games-grid,
  .page-casino__promo-grid,
  .page-casino__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-casino__game-card img,
  .page-casino__promo-card img {
    
  }

  .page-casino__providers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-casino__cta-title {
    font-size: 28px;
  }
  .page-casino__cta-description {
    font-size: 18px;
  }
  .page-casino__btn-large {
    font-size: 18px;
    padding: 15px 30px;
  }

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

  /* General image and container responsiveness */
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-casino__section,
  .page-casino__card,
  .page-casino__container,
  .page-casino__content-grid,
  .page-casino__games-grid,
  .page-casino__promo-grid,
  .page-casino__features-grid,
  .page-casino__providers-grid,
  .page-casino__hero-cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* U888 Template Specifics for mobile - these are NOT used on inner pages like casino.html */
/* The prompt specifies these for HOMEPAGE modules only, but if they were to be applied, they'd look like this: */
/* .page-casino__category-card-link img { aspect-ratio: 1/1; width: 100%; object-fit: contain; border: none; box-shadow: none; } */
/* @media (max-width: 768px) { .page-casino__category-lobby__grid { grid-template-columns: repeat(2, 1fr); } } */
/* (Placeholder for blog slider if it were on this page) */