.page-casino {
  color: #ffffff; /* Light text for dark body background */
  background-color: #000; /* Ensure consistency with body background */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-casino__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.8), rgba(255, 215, 0, 0.2)); /* Deep Red to Gold gradient overlay */
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-casino__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.page-casino__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background */
}

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

.page-casino__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-casino__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-casino__btn {
  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, transform 0.2s ease;
  white-space: nowrap;
}

.page-casino__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Deep Red */
  border: 2px solid #FFD700;
}

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

.page-casino__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-casino__btn--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-casino__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold */
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-casino__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #8B0000; /* Deep Red */
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-casino__section-intro {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.page-casino__about-section,
.page-casino__games-overview,
.page-casino__promotions-section,
.page-casino__mobile-app-section,
.page-casino__responsible-gaming-section,
.page-casino__faq-section,
.page-casino__cta-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

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

.page-casino__feature-card,
.page-casino__promo-card {
  background-color: rgba(139, 0, 0, 0.2); /* Semi-transparent Deep Red */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-casino__feature-card:hover,
.page-casino__promo-card:hover {
  transform: translateY(-5px);
  background-color: rgba(139, 0, 0, 0.4);
}

.page-casino__feature-icon,
.page-casino__promo-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  max-height: 300px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-casino__feature-title,
.page-casino__promo-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold */
  margin-bottom: 15px;
}

.page-casino__feature-description,
.page-casino__promo-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-casino__game-category {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 80px;
  background-color: rgba(255, 215, 0, 0.05); /* Very subtle gold background */
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-casino__game-category--reverse {
  flex-direction: row-reverse;
  background-color: rgba(139, 0, 0, 0.1); /* Very subtle red background */
}

.page-casino__category-title {
  font-size: 2.2em;
  color: #FFD700; /* Gold */
  margin-bottom: 25px;
}

.page-casino__category-content {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
}

.page-casino__category-image {
  width: 100%;
  max-width: 500px; /* Adjust max-width for content images */
  height: auto;
  border-radius: 12px;
  border: 2px solid #8B0000; /* Deep Red border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce minimum size for content images */
  min-height: 200px;
}

.page-casino__category-text p {
  color: #e0e0e0;
  margin-bottom: 25px;
}

.page-casino__mobile-app-section {
  display: flex;
  align-items: center;
  gap: 50px;
  background: rgba(255, 215, 0, 0.08); /* Subtle gold background */
  border-radius: 15px;
  padding: 60px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-casino__mobile-app-content {
  flex: 1;
}

.page-casino__app-features {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-casino__app-features li {
  color: #f0f0f0;
  font-size: 1.1em;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.page-casino__app-features li .page-casino__feature-icon {
  color: #FFD700; /* Gold checkmark */
  font-size: 1.5em;
  margin-right: 15px;
  max-width: 30px; /* Small icon, this is okay as it's not a content image */
  max-height: 30px;
  min-width: unset;
  min-height: unset;
}

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

.page-casino__mobile-app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 3px solid #FFD700;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

.page-casino__responsible-gaming-section {
  background-color: rgba(139, 0, 0, 0.2); /* Deep Red subtle background */
  border-radius: 15px;
  padding: 60px;
  text-align: center;
}

.page-casino__responsible-content p {
  color: #e0e0e0;
  margin-bottom: 20px;
  font-size: 1.1em;
}

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

.page-casino__responsible-list li {
  background-color: rgba(255, 215, 0, 0.1); /* Subtle gold list item background */
  border-left: 5px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  color: #f0f0f0;
  font-size: 1.05em;
}

.page-casino__responsible-list li strong {
  color: #FFD700;
}

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

.page-casino__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Light grey subtle background */
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-casino__faq-question {
  font-size: 1.5em;
  color: #FFD700; /* Gold */
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-casino__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-casino__faq-question.active::after {
  transform: rotate(45deg);
}

.page-casino__faq-answer {
  font-size: 1em;
  color: #e0e0e0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
  opacity: 0;
  padding-top: 0;
}

.page-casino__faq-answer.open {
  max-height: 200px; /* Arbitrary max height, adjust as needed */
  opacity: 1;
  padding-top: 15px;
}

.page-casino__cta-section {
  text-align: center;
  background-color: #8B0000; /* Deep Red solid background */
  padding: 80px 20px;
  border-radius: 15px;
  margin-bottom: 80px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-casino__cta-section .page-casino__section-title {
  color: #FFD700; /* Gold */
}

.page-casino__cta-section .page-casino__section-intro {
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

/* Floating Buttons */
.page-casino__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-casino__floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px; /* Adjust size as needed */
  height: 50px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.page-casino__floating-btn:hover {
  transform: translateY(-3px);
}

.page-casino__floating-btn--register {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Deep Red */
}

.page-casino__floating-btn--register:hover {
  background-color: #e6c200;
}

.page-casino__floating-btn--login {
  background-color: #8B0000; /* Deep Red */
  color: #FFD700; /* Gold */
  border: 1px solid #FFD700;
}

.page-casino__floating-btn--login:hover {
  background-color: #a30000;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: 2.8em;
  }
  .page-casino__section-title {
    font-size: 2.2em;
  }
  .page-casino__game-category,
  .page-casino__game-category--reverse {
    flex-direction: column;
    text-align: center;
  }
  .page-casino__category-content {
    flex-direction: column;
  }
  .page-casino__category-image {
    max-width: 100%;
  }
  .page-casino__mobile-app-section {
    flex-direction: column;
    text-align: center;
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .page-casino {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-casino__hero-section {
    padding: 60px 15px;
  }
  .page-casino__hero-title {
    font-size: 2.2em;
  }
  .page-casino__hero-description {
    font-size: 1em;
  }
  .page-casino__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__btn {
    width: 100%;
    padding: 12px 20px;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__section-intro {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-casino__about-section,
  .page-casino__games-overview,
  .page-casino__promotions-section,
  .page-casino__mobile-app-section,
  .page-casino__responsible-gaming-section,
  .page-casino__faq-section,
  .page-casino__cta-section {
    margin: 60px auto;
    padding: 0 15px;
  }
  .page-casino__features-grid,
  .page-casino__promos-grid {
    grid-template-columns: 1fr;
  }
  .page-casino__game-category,
  .page-casino__game-category--reverse {
    padding: 30px 20px;
  }
  .page-casino__category-title {
    font-size: 1.8em;
  }
  .page-casino__category-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Maintain minimum size */
    min-height: 200px;
  }
  .page-casino__mobile-app-section {
    padding: 40px 20px;
  }
  .page-casino__responsible-gaming-section {
    padding: 40px 20px;
  }
  .page-casino__faq-question {
    font-size: 1.2em;
  }
  .page-casino__cta-section {
    padding: 60px 15px;
  }
  .page-casino__cta-buttons {
    flex-direction: column;
  }
  .page-casino__floating-buttons {
    flex-direction: row;
    width: calc(100% - 40px);
    left: 20px;
    right: 20px;
    bottom: 15px;
    justify-content: space-around;
  }
  .page-casino__floating-btn {
    flex: 1;
    width: auto;
    max-width: 150px; /* Adjust for mobile spacing */
    height: 45px;
  }
  /* Ensure all content area images are responsive and don't overflow */
  .page-casino img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size even on mobile */
    min-height: 200px;
  }
  .page-casino__app-features li .page-casino__feature-icon {
    max-width: 24px;
    max-height: 24px;
  }
}

/* Ensure no image filters are used */
.page-casino img {
  filter: none; /* Explicitly disable any potential filters */
}

/* Ensure content area images maintain minimum size */
.page-casino__feature-card img, 
.page-casino__promo-card img, 
.page-casino__category-image, 
.page-casino__mobile-app-image {
  min-width: 200px; 
  min-height: 200px;
}