.page-casino {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #FFFFFF; /* Light background as per shared.css body background */
  color: #333333; /* Dark text for contrast on light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-casino__hero-section {
  position: relative;
  text-align: center;
  padding: 80px 20px 40px;
  background-color: #000000; /* Dark background for hero to contrast with main site background */
  color: #FFFFFF;
  overflow: hidden;
}

.page-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.page-casino__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

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

.page-casino__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.8;
}

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

.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.3s ease;
  white-space: nowrap;
}

.page-casino__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-casino__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  transform: translateY(-3px);
}

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

.page-casino__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

.page-casino__games-overview,
.page-casino__promotions-section,
.page-casino__why-choose-us,
.page-casino__responsible-gaming,
.page-casino__faq-section,
.page-casino__cta-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.page-casino__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  border-bottom: 3px solid #FCBC45;
  padding-bottom: 10px;
  display: inline-block;
  width: auto;
  max-width: 100%;
}

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

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

.page-casino__category-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__category-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-casino__category-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-casino__category-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-casino__category-title a:hover {
  color: #FCBC45;
}

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

.page-casino__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-casino__button--small:hover {
  background-color: transparent;
  color: #FCBC45;
}

.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-color: #000000;
  color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  opacity: 0.8;
}

.page-casino__promo-title {
  font-size: 1.8em;
  color: #FCBC45;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-casino__promo-description {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 25px;
  padding: 0 20px;
}

.page-casino__button--promo {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 12px 25px;
}

.page-casino__button--promo:hover {
  background-color: transparent;
  color: #FCBC45;
}

.page-casino__button--view-all {
  display: block;
  width: fit-content;
  margin: 0 auto;
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 15px 30px;
}

.page-casino__button--view-all:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

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

.page-casino__feature-item {
  background-color: #f0f0f0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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

.page-casino__feature-heading {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

.page-casino__feature-text {
  font-size: 0.95em;
  color: #555555;
}

.page-casino__responsible-gaming {
  background-color: #000000;
  color: #FFFFFF;
  padding: 60px 20px;
  border-radius: 15px;
  text-align: center;
}

.page-casino__responsible-gaming .page-casino__section-title {
  color: #FFFFFF;
  border-color: #FCBC45;
}

.page-casino__responsible-gaming .page-casino__section-intro {
  color: #e0e0e0;
}

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

.page-casino__responsible-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: left;
}

.page-casino__responsible-heading {
  font-size: 1.4em;
  color: #FCBC45;
  margin-bottom: 10px;
}

.page-casino__responsible-text {
  font-size: 0.95em;
  color: #e0e0e0;
}

.page-casino__button--learn-more {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 40px;
  padding: 15px 30px;
}

.page-casino__button--learn-more:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

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

.page-casino__accordion-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-casino__accordion-header {
  width: 100%;
  background-color: #000000;
  color: #FFFFFF;
  padding: 18px 25px;
  text-align: left;
  font-size: 1.1em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-casino__accordion-header:hover {
  background-color: #333333;
}

.page-casino__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-casino__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-casino__accordion-content {
  padding: 0 25px;
  background-color: #FFFFFF;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-casino__accordion-content p {
  padding: 15px 0;
  color: #333333;
  font-size: 1em;
}

.page-casino__accordion-content a {
  color: #FCBC45;
  text-decoration: none;
}

.page-casino__accordion-content a:hover {
  text-decoration: underline;
}

.page-casino__cta-section {
  background-color: #FCBC45;
  color: #000000;
  padding: 80px 20px;
  text-align: center;
  border-radius: 15px;
  margin-bottom: 60px;
}

.page-casino__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #000000;
}

.page-casino__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-casino__button--register-large {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-casino__button--register-large:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.page-casino__button--download-app {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-casino__button--download-app:hover {
  background-color: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

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

@media (max-width: 768px) {
  .page-casino {
    padding-top: var(--header-offset, 120px);
  }
  .page-casino__hero-section {
    padding: 60px 15px 30px;
  }
  .page-casino__hero-title {
    font-size: 2.2em;
  }
  .page-casino__hero-description {
    font-size: 1.1em;
  }
  .page-casino__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-casino__section-title {
    font-size: 1.8em;
    padding-bottom: 8px;
  }
  .page-casino__section-intro {
    font-size: 1em;
  }
  .page-casino__games-overview,
  .page-casino__promotions-section,
  .page-casino__why-choose-us,
  .page-casino__responsible-gaming,
  .page-casino__faq-section,
  .page-casino__cta-section {
    margin: 40px auto;
    padding: 0 15px;
  }
  .page-casino__category-image, .page-casino__promo-image {
    height: 180px;
  }
  .page-casino__feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-casino__cta-title {
    font-size: 2em;
  }
  .page-casino__cta-description {
    font-size: 1em;
  }
  .page-casino__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__button--register-large,
  .page-casino__button--download-app {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  /* Ensure all images within .page-casino are responsive */
  .page-casino img {
    max-width: 100%;
    height: auto;
    display: block; /* Prevent extra space below image */
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 1.8em;
  }
  .page-casino__hero-description {
    font-size: 0.95em;
  }
  .page-casino__section-title {
    font-size: 1.5em;
  }
  .page-casino__category-title,
  .page-casino__promo-title,
  .page-casino__feature-heading,
  .page-casino__responsible-heading {
    font-size: 1.3em;
  }
  .page-casino__accordion-header {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-casino__cta-title {
    font-size: 1.8em;
  }
  .page-casino__button,
  .page-casino__button--register-large,
  .page-casino__button--download-app {
    padding: 12px 20px;
    font-size: 1em;
  }
}