/* style/casino.css */

/* Base styles for the casino page content */
.page-casino {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text for light backgrounds */
  line-height: 1.6;
  background-color: #FFFFFF; /* Ensures consistency with light background sections */
}

.page-casino__section-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: #26A9E0; /* Brand primary color for titles */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-casino__section-description {
  font-size: 18px;
  color: #555555;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
  background-color: #26A9E0; /* Dark background for hero */
  color: #ffffff;
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  position: relative;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-casino__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 40px 20px;
  margin-top: -150px; /* Overlap image slightly for visual flow */
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.page-casino__main-title {
  font-size: clamp(32px, 4.5vw, 56px); /* Responsive H1 font size */
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.1;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__intro-text {
  font-size: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

/* 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;
  box-sizing: border-box;
  text-align: center;
}

.page-casino__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-casino__btn-primary:hover {
  background-color: #d46a00;
  border-color: #d46a00;
}

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

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

/* Video Section */
.page-casino__video-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #f8f8f8; /* Light background */
  color: #333333;
}

.page-casino__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px; /* Max width for video */
  margin: 0 auto 30px auto;
  aspect-ratio: 16 / 9; /* Maintain 16:9 aspect ratio */
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.page-casino__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  cursor: pointer;
}

.page-casino__video-cta {
  max-width: 800px;
  margin: 0 auto;
}

.page-casino__video-cta p {
  font-size: 18px;
  margin-bottom: 25px;
}

/* Features Section */
.page-casino__features-section {
  padding: 80px 20px;
  background-color: #FFFFFF; /* Light background */
  color: #333333;
}

.page-casino__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-casino__feature-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

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

.page-casino__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-casino__feature-text {
  font-size: 16px;
  flex-grow: 1;
}

/* Games Section */
.page-casino__games-section {
  padding: 80px 20px;
  background-color: #26A9E0; /* Dark background */
  color: #FFFFFF;
}

.page-casino__games-section .page-casino__section-title {
  color: #FFFFFF;
}

.page-casino__games-section .page-casino__section-description {
  color: #f0f0f0;
}

.page-casino__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px auto;
}

.page-casino__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-casino__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.page-casino__game-image {
  width: 100%;
  height: 200px; /* Fixed height for game images */
  object-fit: cover;
  display: block;
}

.page-casino__game-title {
  font-size: 22px;
  font-weight: 700;
  padding: 15px 20px 10px;
  color: #FFFFFF;
}

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

/* Promotions Section */
.page-casino__promotions-section {
  padding: 80px 20px;
  background-color: #f8f8f8; /* Light background */
  color: #333333;
}

.page-casino__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px auto;
}

.page-casino__promo-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: #333333;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-casino__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.page-casino__promo-image {
  width: 100%;
  height: 220px; /* Fixed height for promo images */
  object-fit: cover;
  display: block;
}

.page-casino__promo-title {
  font-size: 22px;
  font-weight: 700;
  padding: 15px 20px 10px;
  color: #26A9E0;
}

.page-casino__promo-text {
  font-size: 16px;
  padding: 0 20px 20px;
  color: #555555;
  flex-grow: 1;
}

/* Safety Section */
.page-casino__safety-section {
  padding: 80px 20px;
  background-color: #26A9E0; /* Dark background */
  color: #FFFFFF;
}

.page-casino__safety-section .page-casino__section-title {
  color: #FFFFFF;
}

.page-casino__safety-section .page-casino__section-description {
  color: #f0f0f0;
}

.page-casino__safety-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-casino__safety-subtitle {
  font-size: 28px;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-casino__safety-paragraph {
  font-size: 17px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

.page-casino__safety-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Payment Section */
.page-casino__payment-section {
  padding: 80px 20px;
  background-color: #FFFFFF; /* Light background */
  color: #333333;
}

.page-casino__payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px auto;
}

.page-casino__payment-method-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  color: #333333;
}

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

.page-casino__payment-title {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-casino__payment-text {
  font-size: 16px;
}

/* FAQ Section */
.page-casino__faq-section {
  padding: 80px 20px;
  background-color: #26A9E0; /* Dark background */
  color: #FFFFFF;
}

.page-casino__faq-section .page-casino__section-title {
  color: #FFFFFF;
}

.page-casino__faq-section .page-casino__section-description {
  color: #f0f0f0;
}

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

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

.page-casino__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none; /* Remove default marker */
  color: #FFFFFF;
  transition: background-color 0.3s ease;
}

.page-casino__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit */
}

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

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

.page-casino__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
}

.page-casino__faq-item[open] .page-casino__faq-toggle {
  content: '−';
}

.page-casino__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  color: #f0f0f0;
}

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

.page-casino__faq-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Call to Action Section */
.page-casino__cta-section {
  padding: 80px 20px;
  background-color: #FFFFFF; /* Light background */
  color: #333333;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-casino__cta-content .page-casino__section-title {
  color: #26A9E0;
}

.page-casino__cta-content .page-casino__section-description {
  color: #555555;
}

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

.page-casino__cta-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Global Image/Video/Button Responsive Styles */
.page-casino img,
.page-casino video {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-casino__video-wrapper,
.page-casino__image-wrapper,
.page-casino__cta-buttons,
.page-casino__button-group,
.page-casino__btn-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
  .page-casino__hero-image-wrapper {
    max-height: 60vh;
  }
  .page-casino__hero-content {
    margin-top: -100px;
  }
  .page-casino__main-title {
    font-size: clamp(28px, 4vw, 48px);
  }
  .page-casino__intro-text {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-image-wrapper {
    max-height: 50vh;
  }
  .page-casino__hero-content {
    margin-top: -80px;
    padding: 30px 15px;
  }
  .page-casino__main-title {
    font-size: clamp(26px, 6vw, 40px);
  }
  .page-casino__intro-text {
    font-size: 16px;
  }
  .page-casino__section-title {
    font-size: clamp(24px, 5vw, 36px);
  }
  .page-casino__section-description {
    font-size: 16px;
  }
  .page-casino__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__btn-primary,
  .page-casino__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Force responsive images and videos */
  .page-casino img,
  .page-casino video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-casino__hero-image {
    filter: brightness(0.5) !important;
  }

  .page-casino__video-wrapper,
  .page-casino__hero-image-wrapper,
  .page-casino__safety-image-wrapper,
  .page-casino__cta-image-wrapper,
  .page-casino__section,
  .page-casino__card,
  .page-casino__container,
  .page-casino__feature-card,
  .page-casino__game-card,
  .page-casino__promo-card,
  .page-casino__payment-method-card,
  .page-casino__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-casino__hero-section,
  .page-casino__video-section,
  .page-casino__features-section,
  .page-casino__games-section,
  .page-casino__promotions-section,
  .page-casino__safety-section,
  .page-casino__payment-section,
  .page-casino__faq-section,
  .page-casino__cta-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Video section specific mobile padding */
  .page-casino__video-section {
    padding-top: 10px !important;
  }

  .page-casino__safety-content,
  .page-casino__cta-section {
    flex-direction: column;
  }

  .page-casino__safety-image-wrapper,
  .page-casino__cta-image-wrapper {
    min-width: unset;
  }

  .page-casino__faq-item summary {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-casino__faq-answer {
    padding: 0 20px 15px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .page-casino__main-title {
    font-size: clamp(24px, 7vw, 32px);
  }
  .page-casino__intro-text {
    font-size: 15px;
  }
  .page-casino__section-title {
    font-size: clamp(22px, 6vw, 30px);
  }
  .page-casino__section-description {
    font-size: 15px;
  }
  .page-casino__feature-card, .page-casino__game-card, .page-casino__promo-card, .page-casino__payment-method-card {
    padding: 20px;
  }
  .page-casino__feature-title, .page-casino__game-title, .page-casino__promo-title, .page-casino__payment-title {
    font-size: 20px;
  }
  .page-casino__feature-text, .page-casino__game-text, .page-casino__promo-text, .page-casino__payment-text {
    font-size: 14px;
  }
}