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

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

.page-casino__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure hero section has a minimum height */
}

.page-casino__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.7; /* Slightly dim the image for text readability */
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text */
  border-radius: 10px;
}

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

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

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

.page-casino__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

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

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

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

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

.page-casino__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 40px;
  color: #FCBC45; /* Using accent color for titles */
  position: relative;
  padding-bottom: 15px;
}

.page-casino__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

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

.page-casino__about-grid,
.page-casino__game-categories-grid,
.page-casino__featured-games-grid,
.page-casino__promo-cards-grid {
  display: grid;
  gap: 30px;
  margin-bottom: 60px;
}

.page-casino__about-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-casino__about-item {
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-casino__about-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.page-casino__about-icon {
  width: 200px; /* Min size */
  height: 150px; /* Min size */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-casino__about-item-title {
  font-size: 1.8em;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-casino__about-item-text {
  font-size: 1em;
  color: #cccccc;
}

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

.page-casino__category-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-casino__category-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
}

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

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

.page-casino__btn--details {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 25px;
  margin-bottom: 20px;
}

.page-casino__btn--details:hover {
  background-color: #e6a83d;
}

.page-casino__featured-games-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-casino__game-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-casino__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-casino__game-title {
  font-size: 1.5em;
  color: #ffffff;
  margin: 10px 0 5px;
  padding: 0 15px;
}

.page-casino__game-provider {
  font-size: 0.9em;
  color: #FCBC45;
  margin-bottom: 10px;
}

.page-casino__game-description {
  font-size: 0.95em;
  color: #b0b0b0;
  padding: 0 15px 20px;
}

.page-casino__btn--play {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 25px;
  font-size: 1em;
  border-radius: 25px;
}

.page-casino__btn--play:hover {
  background-color: #e6a83d;
}

.page-casino__promo-cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-casino__promo-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.page-casino__promo-image {
  width: 100%;
  height: 225px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-casino__promo-title {
  font-size: 1.6em;
  color: #ffffff;
  margin: 10px 0 5px;
  padding: 0 15px;
}

.page-casino__promo-description {
  font-size: 0.95em;
  color: #b0b0b0;
  padding: 0 15px 20px;
}

.page-casino__btn--view-promo {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 25px;
  font-size: 0.95em;
  border-radius: 25px;
}

.page-casino__btn--view-promo:hover {
  background-color: #e6a83d;
}

.page-casino__view-all-promos {
  text-align: center;
  margin-top: 40px;
}

.page-casino__btn--primary {
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

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

.page-casino__guide-list {
  display: grid;
  gap: 30px;
}

.page-casino__guide-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-casino__guide-item-title a {
  color: #FCBC45;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-casino__guide-item-title a:hover {
  color: #e6a83d;
  text-decoration: underline;
}

.page-casino__guide-item-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-casino__btn--read-more {
  background-color: #FFFFFF;
  color: #000000;
  padding: 10px 25px;
  font-size: 0.95em;
  border-radius: 25px;
  border: 2px solid #FFFFFF;
}

.page-casino__btn--read-more:hover {
  background-color: #e0e0e0;
}

.page-casino__cta-section {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(20, 20, 20, 0.9));
  padding: 80px 20px;
  text-align: center;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-casino__cta-description {
  font-size: 1.4em;
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-casino__btn--secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.page-casino__btn--secondary:hover {
  background-color: #FFFFFF;
  color: #000000;
  transform: translateY(-2px);
}

.page-casino__responsible-gaming-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #0a0a0a;
}

.page-casino__responsible-gaming-links {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.page-casino__link {
  color: #FCBC45;
  text-decoration: none;
  font-size: 1em;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.page-casino__link:hover {
  color: #e6a83d;
  text-decoration: underline;
}

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

  .page-casino__hero-description {
    font-size: 1.1em;
  }

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

@media (max-width: 768px) {
  .page-casino {
    padding-top: var(--header-offset, 120px);
  }

  .page-casino__hero-section {
    min-height: 500px;
  }

  .page-casino__hero-content {
    padding: 30px;
    max-width: 90%;
  }

  .page-casino__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-casino__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

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

  .page-casino__btn {
    width: 100%;
    max-width: 280px;
  }

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

  .page-casino__section-intro {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-casino__about-item-title,
  .page-casino__category-title,
  .page-casino__game-title,
  .page-casino__promo-title,
  .page-casino__guide-item-title {
    font-size: 1.4em;
  }

  .page-casino__about-icon,
  .page-casino__category-image,
  .page-casino__game-image,
  .page-casino__promo-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and don't overflow */
    min-width: 200px;
    min-height: 150px;
  }

  .page-casino__cta-title {
    font-size: 2.2em;
  }

  .page-casino__cta-description {
    font-size: 1.1em;
  }

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

  .page-casino__btn--primary,
  .page-casino__btn--secondary {
    width: 100%;
    max-width: 300px;
  }

  .page-casino__responsible-gaming-links {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-content {
    padding: 20px;
  }

  .page-casino__hero-title {
    font-size: 1.8em;
  }

  .page-casino__hero-description {
    font-size: 0.9em;
  }

  .page-casino__section-title {
    font-size: 1.5em;
  }

  .page-casino__cta-title {
    font-size: 1.8em;
  }
}