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

.page-casino__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero content */
  color: #ffffff;
  text-align: center;
}

.page-casino__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

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

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

.page-casino__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

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

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

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

.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: 40px 20px;
}

.page-casino__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

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

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

.page-casino__about-section {
  background-color: #f8f8f8;
  padding: 80px 0;
}

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

.page-casino__about-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__about-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-casino__about-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

.page-casino__item-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-casino__item-description {
  font-size: 1em;
  color: #666666;
  line-height: 1.6;
}

.page-casino__games-section {
  padding: 80px 0;
}

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

.page-casino__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-casino__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-casino__card-title {
  font-size: 1.6em;
  color: #000000;
  padding: 20px 20px 0 20px;
}

.page-casino__card-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

.page-casino__card-description {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.6;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-casino__button--details {
  background-color: #000000;
  color: #ffffff;
  border: 2px solid #000000;
  padding: 12px 25px;
  margin: 0 20px 20px 20px;
  align-self: flex-start;
}

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

.page-casino__promotions-section {
  background-color: #f0f0f0;
  padding: 80px 0;
  text-align: center;
}

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

.page-casino__button--claim-bonus {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-casino__button--claim-bonus:hover {
  background-color: #000000;
  border-color: #000000;
  color: #FCBC45;
}

.page-casino__mobile-app-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-casino__mobile-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
}

.page-casino__mobile-text {
  flex: 1;
  text-align: left;
}

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

.page-casino__button--download-app {
  background-color: #000000;
  color: #ffffff;
  border: 2px solid #000000;
  padding: 15px 30px;
  margin-top: 30px;
}

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

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

.page-casino__responsible-gaming-section .page-casino__section-title {
  color: #ffffff;
}

.page-casino__responsible-gaming-section .page-casino__section-title::after {
  background-color: #FCBC45;
}

.page-casino__responsible-gaming-section .page-casino__section-description {
  color: #f0f0f0;
}

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

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

.page-casino__floating-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.page-casino__floating-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__floating-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-casino__floating-button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-casino__floating-button--login {
  background-color: #FCBC45;
  color: #000000;
}

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

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

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

  .page-casino__about-image, .page-casino__card-image, .page-casino__promo-image, .page-casino__mobile-image {
    max-width: 100%;
    height: auto;
  }

  .page-casino__mobile-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-casino__mobile-text {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    padding: 30px 15px;
  }

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

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

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

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

  .page-casino__container {
    padding: 20px 15px;
  }

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

  .page-casino__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

  .page-casino__about-grid, .page-casino__game-categories {
    grid-template-columns: 1fr;
  }

  .page-casino__about-item, .page-casino__game-card {
    padding: 20px;
  }

  .page-casino__card-image {
    height: 200px;
  }

  .page-casino__button--details, .page-casino__button--claim-bonus, .page-casino__button--download-app, .page-casino__button--learn-more {
    width: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .page-casino__floating-buttons {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }

  .page-casino__floating-button {
    padding: 10px 20px;
    font-size: 1em;
  }

  .page-casino img {
    max-width: 100%;
    height: auto;
  }
}