/* style/casino.css */

/* Base styles for the casino page */
.page-casino {
  background-color: #08160F;
  color: #F2FFF6; /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-casino__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F2FFF6; /* Main text color */
  line-height: 1.2;
}

.page-casino__section-description {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 40px;
  color: #A7D9B8; /* Secondary text color */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Text colors from custom palette */
.page-casino__text-main {
  color: #F2FFF6;
}

.page-casino__text-secondary {
  color: #A7D9B8;
}

/* Card background color */
.page-casino__card {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #F2FFF6; /* Ensure text is visible on card background */
}

/* Dark background color for sections */
.page-casino__dark-bg {
  background-color: #0A4B2C; /* Deep Green for contrast */
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-casino__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken video for text readability */
}

.page-casino__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  color: #F2FFF6;
}

.page-casino__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #F2FFF6;
}

.page-casino__hero-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #A7D9B8;
}

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

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
  word-wrap: normal;
  box-sizing: border-box;
  max-width: 100%;
}

.page-casino__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-casino__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

.page-casino__btn-secondary {
  background: transparent;
  color: #57E38D; /* Glow color for secondary text */
  border: 2px solid #57E38D;
}

.page-casino__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  color: #F2FFF6;
  transform: translateY(-3px);
}

.page-casino__btn-link {
  background: transparent;
  color: #F2C14E; /* Gold color for links */
  border: 1px solid #F2C14E;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 0.9rem;
}

.page-casino__btn-link:hover {
  background: rgba(242, 193, 78, 0.1);
}

/* About Section */
.page-casino__about-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

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

.page-casino__about-text p {
  margin-bottom: 20px;
  color: #A7D9B8;
}

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

.page-casino__about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  width: 800px; /* Display width */
  height: 600px; /* Display height */
}

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

.page-casino__game-card {
  text-align: center;
  padding: 20px;
}

.page-casino__game-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  width: 600px; /* Display width */
  height: 400px; /* Display height */
}

.page-casino__card-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #F2FFF6;
}

.page-casino__card-title a {
  color: #F2FFF6;
  text-decoration: none;
}

.page-casino__card-title a:hover {
  color: #2AD16F;
}

.page-casino__card-description {
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: #A7D9B8;
}

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

.page-casino__promo-card {
  text-align: center;
  padding: 20px;
}

.page-casino__promo-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  width: 800px; /* Display width */
  height: 450px; /* Display height */
}

.page-casino__button-group {
  text-align: center;
}

/* Security Section */
.page-casino__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  text-align: center;
}

.page-casino__feature-item img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-casino__feature-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #F2FFF6;
}

.page-casino__feature-description {
  font-size: 0.95rem;
  color: #A7D9B8;
}

/* FAQ Section */
.page-casino__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-casino__faq-item {
  margin-bottom: 20px;
  cursor: pointer;
  padding: 20px 25px;
  transition: background-color 0.3s ease;
}

.page-casino__faq-item:hover {
  background-color: #1a3025; /* Slightly lighter shade for hover */
}

.page-casino__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: bold;
  color: #F2FFF6;
  list-style: none;
  outline: none;
}

.page-casino__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-casino__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-casino__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E;
}

.page-casino__faq-answer {
  padding-top: 15px;
  font-size: 1rem;
  color: #A7D9B8;
  text-align: left;
}

.page-casino__faq-answer p {
  margin-bottom: 15px;
}

.page-casino__faq-answer .page-casino__btn-link {
  margin-top: 10px;
}

/* CTA Section */
.page-casino__cta-content {
  text-align: center;
  padding: 80px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  }
  .page-casino__section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .page-casino {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-casino__content-area {
    padding: 40px 15px;
  }

  .page-casino__hero-section {
    min-height: 500px;
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-casino__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-casino__hero-description {
    font-size: 1rem;
  }

  .page-casino__section-title {
    font-size: 2rem;
  }

  .page-casino__about-grid {
    flex-direction: column;
  }

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

  .page-casino__btn-primary,
  .page-casino__btn-secondary,
  .page-casino__btn-link {
    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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-casino__section,
  .page-casino__card,
  .page-casino__container,
  .page-casino__about-section,
  .page-casino__games-section,
  .page-casino__promotions-section,
  .page-casino__security-section,
  .page-casino__faq-section,
  .page-casino__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino video,
  .page-casino__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-casino__video-section,
  .page-casino__video-container,
  .page-casino__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0px; /* Video background should be full width */
    padding-right: 0px; /* Video background should be full width */
    overflow: hidden !important;
  }

  .page-casino__video-wrapper {
    padding-top: 0px !important;
  }

  .page-casino__faq-item summary {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .page-casino__main-title {
    font-size: clamp(1.5rem, 10vw, 2rem);
  }
  .page-casino__section-title {
    font-size: 1.8rem;
  }
  .page-casino__faq-item summary {
    font-size: 0.95rem;
  }
  .page-casino__faq-toggle {
    font-size: 1.2rem;
  }
}