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

.page-casino__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #000000; /* Main color for hero background */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-casino__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
}

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

.page-casino__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #FCBC45; /* Login button color for emphasis */
}

.page-casino__hero-description {
  font-size: 1.3rem;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

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

.page-casino__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s 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__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-casino__section-title {
  font-size: 2.8rem;
  font-weight: bold;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 20px;
  color: #000000;
}

.page-casino__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
  color: #555555;
}

.page-casino__game-categories {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.page-casino__category-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.page-casino__category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-casino__card-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #000000;
}

.page-casino__card-title a {
  color: #000000;
  text-decoration: none;
}

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

.page-casino__card-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.page-casino__why-choose {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-casino__feature-item {
  text-align: center;
  padding: 30px;
  background-color: #fdfdfd;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-casino__feature-item:hover {
  transform: translateY(-5px);
}

.page-casino__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: contain;
  margin-bottom: 25px;
}

.page-casino__feature-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #000000;
}

.page-casino__feature-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #666666;
}

.page-casino__feature-description a {
  color: #FCBC45;
  text-decoration: none;
}

.page-casino__feature-description a:hover {
  text-decoration: underline;
}

.page-casino__guide-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-casino__guide-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-casino__guide-text {
  flex: 1;
  min-width: 300px;
}

.page-casino__guide-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #444444;
}

.page-casino__guide-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-casino__guide-list li {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: #444444;
}

.page-casino__guide-list li strong {
  color: #000000;
}

.page-casino__guide-list li a {
  color: #FCBC45;
  text-decoration: none;
}

.page-casino__guide-list li a:hover {
  text-decoration: underline;
}

.page-casino__guide-list li::before {
  content: counter(list-item) ".";
  counter-increment: list-item;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: #FCBC45;
}

.page-casino__guide-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-casino__guide-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.page-casino__button--primary:hover {
  background-color: transparent;
  color: #000000;
  border-color: #000000;
}

.page-casino__responsible-gaming {
  padding: 80px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-casino__button--secondary {
  background-color: #555555;
  color: #ffffff;
  border: 2px solid #555555;
  margin-top: 30px;
}

.page-casino__button--secondary:hover {
  background-color: transparent;
  color: #555555;
}

.page-casino__cta-section {
  background-color: #000000;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-casino__cta-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FCBC45;
}

.page-casino__cta-description {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-casino__button--large {
  padding: 18px 40px;
  font-size: 1.25rem;
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: 3rem;
  }

  .page-casino__section-title {
    font-size: 2.2rem;
  }

  .page-casino__cta-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }

  .page-casino__hero-title {
    font-size: 2.5rem;
  }

  .page-casino__hero-description {
    font-size: 1rem;
  }

  .page-casino__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-casino__button {
    width: 100%;
    max-width: 300px;
  }

  .page-casino__section-title {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 15px;
  }

  .page-casino__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-casino__category-grid, .page-casino__features-grid {
    grid-template-columns: 1fr;
  }

  .page-casino__category-card, .page-casino__feature-item {
    padding: 20px;
  }

  .page-casino__category-image {
    height: 180px;
  }

  .page-casino__card-title {
    font-size: 1.5rem;
  }

  .page-casino__feature-title {
    font-size: 1.6rem;
  }

  .page-casino__guide-content {
    flex-direction: column;
  }

  .page-casino__guide-image {
    max-width: 100%;
    height: auto;
  }

  .page-casino__cta-title {
    font-size: 2rem;
  }

  .page-casino__cta-description {
    font-size: 1rem;
  }

  .page-casino__button--large {
    font-size: 1.1rem;
    padding: 15px 30px;
  }

  /* Ensure all images within .page-casino are responsive and don't overflow */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 2rem;
  }

  .page-casino__section-title {
    font-size: 1.8rem;
  }

  .page-casino__cta-title {
    font-size: 1.8rem;
  }
  .page-casino__button {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .page-casino__button--large {
    font-size: 1rem;
    padding: 12px 25px;
  }
}