.page-casino {
  color: #ffffff; /* Body background is dark, so text should be light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.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-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

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

.page-casino__hero-content {
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

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

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

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

.page-casino__section {
  padding: 60px 0;
  background-color: #121212; /* Dark background from body */
}

.page-casino__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-casino__section-description {
  font-size: 1.1em;
  color: #f0f0f0; /* Light text for readability on dark background */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-casino__about-section {
  background-color: #1a1a1a;
}

.page-casino__games-section {
  background-color: #0d0d0d;
}

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

.page-casino__game-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter card background */
  border-radius: 10px;
  overflow: hidden;
  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: #ffffff;
}

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

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

.page-casino__game-title {
  font-size: 1.5em;
  color: #017439; /* Brand color for card titles */
  margin: 20px 20px 10px 20px;
}

.page-casino__game-title a {
  color: #017439; /* Link color for card titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-casino__game-title a:hover {
  color: #FFFFFF; /* White on hover for contrast */
}

.page-casino__game-text {
  font-size: 1em;
  color: #f0f0f0;
  padding: 0 20px 20px 20px;
}

.page-casino__live-casino-section {
  background-color: #1a1a1a;
}

.page-casino__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-casino__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
}

.page-casino__promotions-section {
  background-color: #0d0d0d;
}

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

.page-casino__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  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: #ffffff;
}

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

.page-casino__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-casino__promo-title {
  font-size: 1.4em;
  color: #017439;
  margin: 20px 20px 10px 20px;
}

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

.page-casino__promo-title a:hover {
  color: #FFFFFF;
}

.page-casino__promo-text {
  font-size: 0.95em;
  color: #f0f0f0;
  padding: 0 20px 20px 20px;
}

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

.page-casino__security-section {
  background-color: #017439; /* Brand primary color as background */
  color: #ffffff; /* White text on brand primary background */
}

.page-casino__security-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 800px;
  text-align: left;
}

.page-casino__security-list li {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-size: 1.1em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-casino__icon-check {
  color: #FFFF00; /* Yellow for checkmark for contrast */
  font-size: 1.2em;
  margin-right: 15px;
}

.page-casino__guide-section {
  background-color: #1a1a1a;
}

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

.page-casino__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino__step-icon {
  width: 60px;
  height: 60px;
  background-color: #017439;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

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

.page-casino__step-text {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-casino__btn-text {
  display: inline-block;
  margin-top: auto;
  color: #FFFF00; /* Yellow for text link */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-casino__btn-text:hover {
  color: #FFFFFF;
}

.page-casino__faq-section {
  background-color: #0d0d0d;
}

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

.page-casino__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  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;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439; /* Brand color for question */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-casino__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  color: #FFFF00; /* Yellow toggle icon */
  transition: transform 0.3s ease;
}

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

.page-casino__faq-item.active .page-casino__faq-toggle {
  transform: rotate(45deg);
  color: #FFFFFF; /* White toggle when active */
}

.page-casino__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0; /* Light text for answer */
}

.page-casino__faq-item.active .page-casino__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

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

.page-casino__cta-bottom {
  padding: 80px 0;
  background-color: #017439; /* Brand primary color for final CTA */
  text-align: center;
}

.page-casino__cta-bottom .page-casino__section-title,
.page-casino__cta-bottom .page-casino__section-description {
  color: #FFFFFF;
}

/* Buttons */
.page-casino__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Custom red for primary action */
  color: #FFFF00; /* Custom yellow for button text */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-casino__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #FFFFFF;
  padding: 15px 30px;
  border: 2px solid #FFFFFF;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

@media (max-width: 768px) {
  .page-casino__hero-section {
    height: 80vh;
  }
  .page-casino__hero-title {
    font-size: 2.2em;
  }
  .page-casino__hero-description {
    font-size: 1em;
  }
  .page-casino__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__btn-primary, .page-casino__btn-secondary {
    width: 100%;
    max-width: 300px; /* Constrain max width for mobile buttons */
    margin: 0 auto;
    padding: 12px 20px;
  }

  .page-casino__section {
    padding: 40px 0;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-casino__game-grid, .page-casino__promo-grid, .page-casino__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-casino__game-image, .page-casino__promo-image {
    height: 180px;
  }
  .page-casino__game-title, .page-casino__promo-title {
    font-size: 1.3em;
  }
  .page-casino__security-list {
    padding: 0 15px;
  }
  .page-casino__security-list li {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-casino__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-casino__faq-answer {
    padding: 0 20px;
  }
  .page-casino__faq-item.active .page-casino__faq-answer {
    padding: 10px 20px;
  }
  
  /* Force responsive images, videos, and containers */
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-casino video,
  .page-casino__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-casino__container,
  .page-casino__game-grid,
  .page-casino__promo-grid,
  .page-casino__guide-steps,
  .page-casino__faq-list,
  .page-casino__hero-content,
  .page-casino__hero-buttons,
  .page-casino__cta-center,
  .page-casino__live-casino-section .page-casino__container,
  .page-casino__security-section .page-casino__container,
  .page-casino__guide-section .page-casino__container,
  .page-casino__faq-section .page-casino__container,
  .page-casino__cta-bottom .page-casino__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .page-casino__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-casino__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
  }
}

@media (max-width: 480px) {
  .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__btn-primary, .page-casino__btn-secondary {
    font-size: 1em;
  }
  .page-casino__game-title, .page-casino__promo-title {
    font-size: 1.2em;
  }
  .page-casino__faq-question {
    font-size: 1em;
  }
  .page-casino__step-title {
    font-size: 1.4em;
  }
}