.page-casino {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for the page, assuming dark body background */
  background-color: var(--dark-bg-1); /* Inherited from shared.css */
  padding-top: var(--header-offset, 120px); /* Fixed header offset, assuming shared.css doesn't set it on body */
}

.page-casino__section {
  padding: 60px 0;
  position: relative;
  overflow: hidden; /* Prevent content overflow */
}

.page-casino__dark-section {
  background-color: #0A2463;
  color: #ffffff;
}

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

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

.page-casino__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #FFD700; /* Accent color for main titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-casino__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-casino__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

/* --- Hero Section --- */
.page-casino__hero-section {
  position: relative;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.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.6;
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 60px 20px;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  margin: 20px;
}

.page-casino__hero-title {
  font-size: 52px;
  font-weight: 800;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-casino__hero-description {
  font-size: 22px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

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

/* --- Buttons --- */
.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-casino__btn-primary {
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
}

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

.page-casino__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

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

.page-casino__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* --- Games Section --- */
.page-casino__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #f0f0f0;
}

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

.page-casino__game-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-casino__game-description {
  font-size: 16px;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* --- Promotions Section --- */
.page-casino__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino__promotion-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #f0f0f0;
}

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

.page-casino__promotion-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-casino__promotion-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 15px;
}

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

/* --- Security Section --- */
.page-casino__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  text-align: center;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f0f0f0;
}

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

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

.page-casino__feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 15px;
}

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

/* --- Payments Section --- */
.page-casino__payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino__method-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  text-align: center;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f0f0f0;
}

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

.page-casino__method-icon {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
}

.page-casino__method-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 15px;
}

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

/* --- Support Section --- */
.page-casino__support-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

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

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

.page-casino__support-list li {
  font-size: 18px;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-casino__support-list li strong {
  color: #FFD700;
}

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

.page-casino__support-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* --- FAQ Section --- */
.page-casino__faq-list {
  margin-top: 40px;
}

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

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  color: #FFD700;
  font-size: 20px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

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

.page-casino__faq-question h3 {
  margin: 0;
  font-size: 20px;
  color: #FFD700;
}

.page-casino__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  color: #FFD700;
}

.page-casino__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  color: #f0f0f0;
  font-size: 17px;
}

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

.page-casino__faq-item.active .page-casino__faq-answer {
  max-height: 300px; /* Adjust based on expected content height */
  padding-top: 15px;
  padding-bottom: 20px;
}

.page-casino__faq-item.active .page-casino__faq-toggle {
  transform: rotate(45deg);
}

/* --- Tips Section --- */
.page-casino__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino__tip-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #f0f0f0;
}

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

.page-casino__tip-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

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

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
  .page-casino__hero-title {
    font-size: 42px;
  }

  .page-casino__hero-description {
    font-size: 19px;
  }

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

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

@media (max-width: 768px) {
  .page-casino__hero-title {
    font-size: 36px;
  }

  .page-casino__hero-description {
    font-size: 17px;
  }

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

  .page-casino__text-block,
  .page-casino__game-description,
  .page-casino__promotion-description,
  .page-casino__feature-description,
  .page-casino__method-description,
  .page-casino__support-list li,
  .page-casino__faq-answer p,
  .page-casino__tip-description {
    font-size: 16px;
  }

  .page-casino__btn-primary,
  .page-casino__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }

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

  .page-casino__hero-content {
    padding: 40px 15px;
  }

  .page-casino__section {
    padding: 40px 0;
  }

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

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

  .page-casino__hero-description {
    font-size: 15px;
  }

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

  .page-casino__btn-primary,
  .page-casino__btn-secondary {
    padding: 10px 20px;
    font-size: 14px;
  }

  .page-casino__game-title,
  .page-casino__promotion-title,
  .page-casino__feature-title,
  .page-casino__method-title,
  .page-casino__sub-title,
  .page-casino__faq-question h3,
  .page-casino__tip-title {
    font-size: 18px;
  }

  .page-casino__game-card,
  .page-casino__promotion-card,
  .page-casino__feature-item,
  .page-casino__method-item,
  .page-casino__tip-card {
    padding: 20px;
  }
}