.page-casino {
  color: #ffffff;
  /* Body background is #121212 (dark), so use light text */
}

.page-casino__hero-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--header-offset, 120px) 20px 60px;
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%); /* Using brand colors for a striking background */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-casino__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-casino__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff; /* Ensure white text on dark background */
}

.page-casino__description {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0; /* Slightly off-white for readability */
}

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

.page-casino__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-casino__hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image to ensure text contrast */
}

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

.page-casino__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700; /* Gold color for titles */
}

.page-casino__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-casino__dark-bg {
  background-color: #121212;
  color: #ffffff;
}

.page-casino__medium-bg {
  background-color: #202020;
  color: #ffffff;
}

.page-casino__light-bg {
  background-color: #f9f9f9;
  color: #333333;
}

/* About Section */
.page-casino__about-section {
  padding: 80px 0;
}

.page-casino__about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-casino__text-block p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-casino__text-block strong {
  color: #FFD700;
}

.page-casino__image-block img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Games Overview */
.page-casino__games-overview {
  padding: 80px 0;
}

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

.page-casino__game-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

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

.page-casino__game-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  flex-grow: 1;
}

.page-casino__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-casino__game-card-title {
  font-size: 20px;
  font-weight: bold;
  padding: 15px 15px 5px;
  color: #FFD700;
  text-align: center;
}

.page-casino__game-card p {
  font-size: 15px;
  padding: 0 15px 15px;
  color: #f0f0f0;
  text-align: center;
  line-height: 1.5;
}

.page-casino__all-games-cta {
  text-align: center;
  margin-top: 50px;
}

/* Promotions Section */
.page-casino__promotions-section {
  padding: 80px 0;
  background-color: #8B0000; /* Use auxiliary color as background */
  color: #ffffff;
}

.page-casino__promotions-section .page-casino__section-title {
  color: #FFD700;
}

.page-casino__promotions-section .page-casino__section-description {
  color: #f8f8f8;
}

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

.page-casino__promo-card {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.page-casino__promo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-casino__promo-content {
  padding: 20px;
}

.page-casino__promo-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-casino__promo-content p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-casino__all-promos-cta {
  text-align: center;
  margin-top: 50px;
}

/* Get Started Section */
.page-casino__get-started-section {
  padding: 80px 0;
}

.page-casino__steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.page-casino__step-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-casino__step-icon {
  margin-bottom: 20px;
  display: inline-block;
  background: #FFD700;
  border-radius: 50%;
  padding: 15px;
  line-height: 0;
}

.page-casino__step-icon img {
  
  
  object-fit: contain;
  display: block;
}

.page-casino__step-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-casino__step-card p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-casino__btn-link {
  display: inline-block;
  padding: 10px 25px;
  background: #FFD700;
  color: #121212;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-casino__btn-link:hover {
  background: #e0b800;
  color: #000000;
}

/* Payment Security Section */
.page-casino__payment-security-section {
  padding: 80px 0;
}

.page-casino__security-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-casino__contact-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-casino__faq-section {
  padding: 80px 0;
}

.page-casino__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-casino__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-casino__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700;
}

.page-casino__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-casino__faq-item.active .page-casino__faq-toggle {
  transform: rotate(180deg);
  color: #ffffff;
}

.page-casino__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: rgba(0, 0, 0, 0.3);
  color: #f0f0f0;
}

.page-casino__faq-item.active .page-casino__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

/* News Section */
.page-casino__news-section {
  padding: 80px 0;
}

.page-casino__news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.page-casino__news-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-casino__news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-casino__news-content {
  padding: 20px;
}

.page-casino__news-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

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

.page-casino__news-title a:hover {
  color: #ffffff;
}

.page-casino__news-date {
  font-size: 14px;
  color: #aaaaaa;
  margin-bottom: 10px;
}

.page-casino__news-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-casino__all-news-cta {
  text-align: center;
  margin-top: 50px;
}

/* Buttons */
.page-casino__btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background: #FFD700;
  color: #121212;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 17px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
  white-space: nowrap;
}

.page-casino__btn-primary:hover {
  background: #e0b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.6);
}

.page-casino__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  background: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 17px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__hero-content {
    padding-top: 50px;
  }

  .page-casino__main-title {
    font-size: 40px;
  }

  .page-casino__description {
    font-size: 18px;
  }

  .page-casino__section-title {
    font-size: 30px;
  }

  .page-casino__section-description {
    font-size: 16px;
  }

  .page-casino__about-content,
  .page-casino__security-content {
    grid-template-columns: 1fr;
  }

  .page-casino__game-categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-casino__steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-casino__news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-casino__game-card img,
  .page-casino__promo-card img,
  .page-casino__news-card img {
    
  }

  .page-casino__hero-banner {
    padding-top: var(--header-offset, 120px);
  }
}

@media (max-width: 768px) {
  .page-casino__hero-banner {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }

  .page-casino__hero-content {
    padding-top: 0;
    margin-bottom: 20px;
  }

  .page-casino__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-casino__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

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

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

  .page-casino__section-title {
    font-size: 26px;
    margin-bottom: 15px;
  }

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

  .page-casino__about-section,
  .page-casino__games-overview,
  .page-casino__promotions-section,
  .page-casino__get-started-section,
  .page-casino__payment-security-section,
  .page-casino__faq-section,
  .page-casino__news-section {
    padding: 50px 0;
  }

  .page-casino__about-content,
  .page-casino__security-content {
    gap: 30px;
  }

  .page-casino__text-block p {
    font-size: 15px;
  }

  .page-casino__game-categories {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-casino__game-card img {
    
  }

  .page-casino__game-card-title {
    font-size: 18px;
  }

  .page-casino__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-casino__promo-card img {
    
  }

  .page-casino__promo-title {
    font-size: 20px;
  }

  .page-casino__promo-content p {
    font-size: 14px;
  }

  .page-casino__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-casino__step-title {
    font-size: 22px;
  }

  .page-casino__step-card p {
    font-size: 15px;
  }

  .page-casino__contact-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-casino__faq-list {
    max-width: 100%;
  }

  .page-casino__faq-question {
    padding: 15px 20px;
  }

  .page-casino__faq-question h3 {
    font-size: 16px;
  }

  .page-casino__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
  }

  .page-casino__faq-answer {
    padding: 0 20px;
  }

  .page-casino__faq-item.active .page-casino__faq-answer {
    padding: 15px 20px !important;
  }

  .page-casino__news-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-casino__news-card img {
    
  }

  .page-casino__news-title {
    font-size: 18px;
  }

  .page-casino__news-content p {
    font-size: 14px;
  }

  /* General image and button responsive rules for mobile */
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-casino__section,
  .page-casino__card,
  .page-casino__container,
  .page-casino__text-block,
  .page-casino__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-casino__btn-primary,
  .page-casino__btn-secondary,
  .page-casino a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino__cta-buttons,
  .page-casino__button-group,
  .page-casino__btn-container,
  .page-casino__contact-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}