.page-casino {
  color: #ffffff;
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

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

.page-casino__hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  box-sizing: border-box;
}

.page-casino__hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translateX(-50%) translateY(-50%);
  background-size: cover;
}

.page-casino__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 800px;
}

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

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

.page-casino__section {
  padding: 80px 0;
  background-color: var(--dark-bg-1); /* Inherited from shared.css, dark background */
  color: #ffffff;
}

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

.page-casino__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
}

.page-casino__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

.page-casino__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 10px;
  font-size: 1.1em;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-casino__btn-primary:hover {
  background-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: #1A2B4C;
  transform: translateY(-2px);
}

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

.page-casino__feature-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-casino__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-casino__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-casino__feature-description {
  color: #cccccc;
}

.page-casino__games-showcase .page-casino__game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-casino__game-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino__game-card:hover {
  transform: translateY(-10px);
}

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

.page-casino__game-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-casino__game-description {
  color: #cccccc;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-casino__game-card .page-casino__btn-secondary {
  margin-top: auto;
  margin-bottom: 20px;
  align-self: center;
}

.page-casino__guide .page-casino__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-casino__step-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

.page-casino__step-number {
  font-size: 3em;
  color: #FFD700;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-casino__step-title {
  font-size: 1.6em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-casino__step-description {
  color: #cccccc;
  margin-bottom: 20px;
}

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

.page-casino__promo-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-casino__promo-card:hover {
  transform: translateY(-10px);
}

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

.page-casino__promo-description {
  color: #cccccc;
  margin-bottom: 20px;
}

.page-casino__support-info {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.page-casino__support-info p {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

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

.page-casino__faq-item {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #1A2B4C;
  transition: background-color 0.3s ease;
}

.page-casino__faq-question:hover {
  background-color: rgba(26, 43, 76, 0.8);
}

.page-casino__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-casino__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: #cccccc;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-casino__faq-item.active .page-casino__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure it overrides */
  padding: 20px;
}

.page-casino__faq-answer p {
  margin: 0;
}

.page-casino__faq-more-btn {
  margin-top: 40px;
  display: block;
  text-align: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__call-to-action {
  text-align: center;
}

.page-casino__call-to-action .page-casino__section-title {
  margin-bottom: 30px;
}

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

@media (max-width: 768px) {
  .page-casino {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-casino__hero-section {
    height: auto;
    min-height: 600px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-casino__hero-title {
    font-size: 2.2em;
  }
  .page-casino__hero-description {
    font-size: 1em;
  }
  .page-casino__section {
    padding: 60px 0;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__section-intro {
    margin-bottom: 30px;
  }
  .page-casino__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0;
    padding: 12px 20px;
  }
  .page-casino__support-channels {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__feature-icon,
  .page-casino__game-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-casino__container,
  .page-casino__section,
  .page-casino__card,
  .page-casino__feature-item,
  .page-casino__game-card,
  .page-casino__step-item,
  .page-casino__promo-card,
  .page-casino__faq-item,
  .page-casino__support-channels {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  .page-casino__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 1.8em;
  }
  .page-casino__section-title {
    font-size: 1.5em;
  }
  .page-casino__faq-question {
    font-size: 1em;
  }
  .page-casino__feature-icon {
    max-width: 180px;
  }
}