/* style/casino.css */
.page-casino {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background from shared.css */
}

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

.page-casino__section {
  padding: 60px 0;
  text-align: center;
}

.page-casino__section-title {
  font-size: 2.8em;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-casino__section-intro {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Hero Section */
.page-casino__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  background: linear-gradient(135deg, #017439, #004d27);
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-casino__hero-content {
  z-index: 10;
  max-width: 900px;
}

.page-casino__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: bold;
}

.page-casino__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  line-height: 1.5;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-casino__btn-primary,
.page-casino__btn-secondary {
  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.3s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  text-align: center;
}

.page-casino__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
}

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

.page-casino__btn-secondary {
  background-color: transparent;
  border: 2px solid #FFFF00; /* Register/Login font color for border */
  color: #FFFF00; /* Register/Login font color */
}

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

.page-casino__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

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

.page-casino__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

/* Why Choose Section */
.page-casino__why-choose {
  background-color: #1a1a1a; /* Darker background for contrast */
  color: #ffffff;
}

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

.page-casino__feature-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

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

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

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

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

/* Game Types Section */
.page-casino__game-types {
  background-color: #121212;
  color: #ffffff;
}

.page-casino__game-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;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  text-align: left;
  color: #ffffff;
}

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

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

.page-casino__game-title {
  font-size: 1.6em;
  padding: 15px 20px 5px;
  color: #017439;
}

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

.page-casino__game-title a:hover {
  color: #00994d;
}

.page-casino__game-description {
  font-size: 0.95em;
  padding: 0 20px 20px;
  line-height: 1.5;
  color: #f0f0f0;
}

/* Live Experience Section */
.page-casino__live-experience {
  background-color: #017439;
  color: #ffffff;
}

.page-casino__dark-bg .page-casino__section-title,
.page-casino__dark-bg .page-casino__section-intro {
  color: #ffffff;
}

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

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

.page-casino__video-caption {
  margin-top: 15px;
  font-style: italic;
  color: #f0f0f0;
}

/* Promotions Section */
.page-casino__promotions {
  background-color: #1a1a1a;
  color: #ffffff;
}

.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.2);
  transition: transform 0.3s ease;
  text-align: left;
  color: #ffffff;
}

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

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

.page-casino__promo-title {
  font-size: 1.6em;
  padding: 15px 20px 5px;
  color: #017439;
}

.page-casino__promo-description {
  font-size: 0.95em;
  padding: 0 20px 10px;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-casino__btn-link {
  display: inline-block;
  color: #FFFF00; /* Register/Login font color */
  text-decoration: none;
  font-weight: bold;
  padding: 10px 20px;
  margin: 10px 20px 20px;
  border: 1px solid #FFFF00;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-casino__btn-link:hover {
  background-color: #FFFF00;
  color: #017439;
}

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

/* Security Section */
.page-casino__security {
  background-color: #017439;
  color: #ffffff;
}

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

.page-casino__security-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-casino__security-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-casino__security-title {
  font-size: 1.8em;
  color: #FFFF00; /* Register/Login font color */
  margin-bottom: 10px;
}

.page-casino__security-item p {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Mobile Section */
.page-casino__mobile {
  background-color: #121212;
  color: #ffffff;
}

.page-casino__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
}

.page-casino__mobile-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-casino__mobile-text p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

.page-casino__mobile-text li {
  background: url('/path/to/check-icon.svg') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-casino__mobile-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

/* Get Started Section */
.page-casino__get-started {
  background-color: #017439;
  color: #ffffff;
}

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

.page-casino__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-casino__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #FFFF00; /* Register/Login font color */
  color: #017439;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

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

.page-casino__step-item p {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

/* FAQ Section */
.page-casino__faq {
  background-color: #1a1a1a;
  color: #ffffff;
}

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

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

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

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

.page-casino__faq-question h3 {
  margin: 0;
  color: #ffffff;
}

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

.page-casino__faq-item.active .page-casino__faq-toggle {
  transform: rotate(45deg);
  color: #C30808; /* Register/Login color for active toggle */
}

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

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

.page-casino__faq-answer p {
  margin: 0;
  line-height: 1.6;
  color: #f0f0f0;
}

/* 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: 2.2em;
  }
  .page-casino__section-intro {
    font-size: 1.1em;
  }
  .page-casino__mobile-content {
    flex-direction: column;
  }
  .page-casino__mobile-text,
  .page-casino__mobile-image-wrapper {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    min-height: 60vh;
  }
  .page-casino__hero-title {
    font-size: 2.5em;
  }
  .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% !important;
    max-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__section {
    padding: 40px 0;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__section-intro {
    font-size: 0.95em;
  }
  .page-casino__feature-grid,
  .page-casino__game-grid,
  .page-casino__promo-grid,
  .page-casino__security-features,
  .page-casino__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-casino video,
  .page-casino__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-casino__video-wrapper {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-casino__section,
  .page-casino__card,
  .page-casino__container,
  .page-casino__hero-section,
  .page-casino__mobile-content,
  .page-casino__promo-card,
  .page-casino__feature-item,
  .page-casino__game-card,
  .page-casino__security-item,
  .page-casino__step-item,
  .page-casino__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-casino__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-casino__mobile-text {
    text-align: center;
  }
  .page-casino__mobile-text ul {
    padding-left: 0;
    text-align: left;
  }
  .page-casino__mobile-text li {
    padding-left: 30px;
    background-position: 5px center;
  }
  .page-casino__faq-list {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 2em;
  }
  .page-casino__hero-description {
    font-size: 0.9em;
  }
  .page-casino__section-title {
    font-size: 1.6em;
  }
  .page-casino__feature-title,
  .page-casino__game-title,
  .page-casino__promo-title,
  .page-casino__security-title,
  .page-casino__step-title {
    font-size: 1.4em;
  }
  .page-casino__btn-primary,
  .page-casino__btn-secondary,
  .page-casino__btn-large {
    padding: 12px 20px;
    font-size: 1em;
  }
}