/* style/casino.css */

/* Base styles for the casino page */
.page-casino {
  background-color: #08160F; /* Custom Background */
  color: #F2FFF6; /* Custom Text Main */
  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__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem); /* Responsive font size for H2 */
  color: #F2FFF6; /* Custom Text Main */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-casino__text-block {
  font-size: 1rem;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 20px;
  text-align: justify;
}

.page-casino__text-link {
  color: #2AD16F; /* Brighter green for links */
  text-decoration: underline;
}

.page-casino__text-link:hover {
  color: #57E38D; /* Glow color on hover */
}

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button Gradient */
  color: #F2FFF6; /* Custom Text Main */
  border: none;
}

.page-casino__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.6); /* Glow on hover */
}

.page-casino__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Brighter green for secondary text */
  border: 2px solid #2AD16F; /* Custom Border */
}

.page-casino__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  color: #57E38D; /* Glow color on hover */
  border-color: #57E38D;
}

.page-casino__btn-small {
  padding: 8px 18px;
  font-size: 0.9rem;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  overflow: hidden;
  text-align: center;
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 40px; /* Space between image and content */
}

.page-casino__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

.page-casino__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive H1 font size */
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-casino__description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* About Section */
.page-casino__about-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green for a distinct section */
}

.page-casino__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 30px;
  object-fit: cover;
}

/* Games Section */
.page-casino__games-section {
  padding: 60px 0;
}

.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: #11271B; /* Custom Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
}

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

.page-casino__game-title {
  font-size: 1.3rem;
  color: #F2FFF6; /* Custom Text Main */
  margin: 0 15px 10px;
  font-weight: bold;
}

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

.page-casino__game-title a:hover {
  color: #57E38D;
}

.page-casino__game-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Custom Text Secondary */
  margin: 0 15px 20px;
  flex-grow: 1;
}

.page-casino__game-card .page-casino__btn-primary {
  margin: 0 15px;
}

/* Guide Section */
.page-casino__guide-section {
  padding: 60px 0;
  background-color: #0A4B2C;
}

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

.page-casino__step-card {
  background-color: #11271B; /* Custom Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-casino__step-title {
  font-size: 1.2rem;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino__step-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 20px;
}

/* Promotions Section */
.page-casino__promotions-section {
  padding: 60px 0;
}

.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: #11271B; /* Custom Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
}

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

.page-casino__promo-title {
  font-size: 1.3rem;
  color: #F2FFF6; /* Custom Text Main */
  margin: 0 15px 10px;
  font-weight: bold;
}

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

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

.page-casino__promo-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Custom Text Secondary */
  margin: 0 15px 20px;
  flex-grow: 1;
}

.page-casino__promo-card .page-casino__btn-primary {
  margin: 0 15px;
}

.page-casino__view-all-promos {
  text-align: center;
  margin-top: 40px;
}

/* Security Section */
.page-casino__security-section {
  padding: 60px 0;
  background-color: #0A4B2C;
}

.page-casino__security-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-casino__security-list li {
  background-color: #11271B; /* Custom Card BG */
  border-radius: 10px;
  padding: 25px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: #A7D9B8; /* Custom Text Secondary */
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-casino__security-list li strong {
  color: #F2FFF6; /* Custom Text Main */
  display: block;
  margin-bottom: 5px;
}

.page-casino__security-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  object-fit: contain;
  margin-top: 5px;
}

/* Support Section */
.page-casino__support-section {
  padding: 60px 0;
}

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

.page-casino__contact-card {
  background-color: #11271B; /* Custom Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__contact-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-casino__contact-title {
  font-size: 1.4rem;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-casino__contact-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1;
}

/* FAQ Section */
.page-casino__faq-section {
  padding: 60px 0;
  background-color: #0A4B2C;
}

.page-casino__faq-list {
  margin-top: 40px;
}

.page-casino__faq-item {
  background-color: #11271B; /* Custom Card BG */
  border-radius: 10px;
  margin-bottom: 15px;
  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: 20px 25px;
  cursor: pointer;
  color: #F2FFF6; /* Custom Text Main */
  font-size: 1.1rem;
  font-weight: bold;
  background-color: #1E3A2A; /* Slightly darker for question */
  border-bottom: 1px solid #2E7A4E; /* Custom Border */
  user-select: none;
  list-style: none;
}

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

.page-casino__faq-question:hover {
  background-color: #2E7A4E;
}

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

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

.page-casino__faq-answer {
  padding: 15px 25px 20px;
  color: #A7D9B8; /* Custom Text Secondary */
  font-size: 1rem;
}

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

/* Call to Action Section */
.page-casino__call-to-action-section {
  padding: 80px 0;
  text-align: center;
  background-color: #08160F;
}

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

.page-casino__hero-image-wrapper,
.page-casino__game-image,
.page-casino__promo-image,
.page-casino__image-content,
.page-casino__security-icon,
.page-casino__contact-icon,
.page-casino__video-container,
.page-casino__video-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 Mobile */
@media (max-width: 768px) {
  .page-casino__container {
    padding: 0 15px !important;
  }

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

  .page-casino__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem); /* Adjust H1 for smaller screens */
  }

  .page-casino__description {
    font-size: 1rem;
  }

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

  .page-casino__btn-primary,
  .page-casino__btn-secondary,
  .page-casino a[class*="button"],
  .page-casino a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-casino__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .page-casino__text-block {
    font-size: 0.95rem;
  }

  .page-casino img,
  .page-casino video,
  .page-casino__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-casino__section,
  .page-casino__card,
  .page-casino__container,
  .page-casino__hero-image-wrapper,
  .page-casino__game-card,
  .page-casino__promo-card,
  .page-casino__step-card,
  .page-casino__contact-card,
  .page-casino__faq-item,
  .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: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-casino__game-grid,
  .page-casino__guide-steps,
  .page-casino__promo-grid,
  .page-casino__security-list,
  .page-casino__contact-methods {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-casino__security-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-casino__security-icon {
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-section {
    padding: 10px 10px 30px !important;
  }

  .page-casino__container {
    padding: 0 10px !important;
  }
}

/* Ensure no image filters */
.page-casino img {
  filter: none !important;
}