/* 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 {
  padding: 60px 0;
  text-align: center;
}

.page-casino__section-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
  font-weight: 700;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-casino__text-block {
  font-size: 16px;
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

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

.page-casino__main-title {
  font-size: clamp(36px, 5vw, 64px); /* Larger, responsive font size */
  font-weight: 900;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-casino__tagline {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

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

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

.page-casino__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-casino__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Match primary button's lighter color */
  border: 2px solid #2AD16F; /* Custom Border */
}

.page-casino__btn-secondary:hover {
  background-color: rgba(42, 209, 111, 0.1);
  transform: translateY(-2px);
}

/* About Section */
.page-casino__about-section {
  background-color: #0A4B2C; /* Deep Green */
}

/* Games Section */
.page-casino__games-section {
  background-color: #08160F; /* Custom Background */
}

.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: 12px;
  overflow: hidden;
  text-align: left;
  padding-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px #57E38D; /* Custom Glow */
}

.page-casino__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
  border-bottom: 2px solid #2E7A4E; /* Custom Border */
}

.page-casino__card-title {
  font-size: 24px;
  color: #F2FFF6; /* Custom Text Main */
  margin: 0 20px 10px;
  font-weight: 600;
}

.page-casino__card-description {
  font-size: 15px;
  color: #A7D9B8; /* Custom Text Secondary */
  margin: 0 20px 20px;
}

.page-casino__btn-text {
  display: inline-block;
  margin: 0 20px;
  padding: 10px 20px;
  background-color: #22C768; /* Auxiliary Color */
  color: #08160F; /* Dark text for contrast */
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  transition: background-color 0.3s ease;
}

.page-casino__btn-text:hover {
  background-color: #11A84E; /* Main Color */
  color: #F2FFF6; /* Light text */
}

/* Benefits Section */
.page-casino__benefits-section {
  background-color: #11A84E; /* Main Color */
  color: #F2FFF6; /* Custom Text Main */
}

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

.page-casino__benefit-item {
  background-color: rgba(17, 39, 27, 0.6); /* Semi-transparent Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-casino__benefit-title {
  font-size: 22px;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 10px;
}

.page-casino__benefit-description {
  font-size: 15px;
  color: #A7D9B8; /* Custom Text Secondary */
}

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

/* Guide Section */
.page-casino__guide-section {
  background-color: #08160F; /* Custom Background */
}

.page-casino__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-casino__guide-item {
  background-color: #11271B; /* Custom Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-casino__guide-item a {
  color: #2AD16F;
  text-decoration: none;
  font-weight: bold;
}

.page-casino__guide-item a:hover {
  text-decoration: underline;
}

.page-casino__guide-step-title {
  font-size: 22px;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 10px;
}

/* App Section */
.page-casino__app-section {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Custom Text Main */
}

.page-casino__app-content {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-casino__app-text {
  flex: 1;
}

.page-casino__app-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-casino__app-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-casino__faq-section {
  background-color: #08160F; /* Custom Background */
}

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

.page-casino__faq-item {
  background-color: #11271B; /* Custom Card BG */
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-casino__faq-item summary {
  list-style: none;
}

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

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #F2FFF6; /* Custom Text Main */
  cursor: pointer;
  background-color: #1E3A2A; /* Custom Divider */
  border-bottom: 1px solid #2E7A4E;
  transition: background-color 0.3s ease;
}

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

.page-casino__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-casino__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  color: #A7D9B8; /* Custom Text Secondary */
  text-align: left;
}

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

.page-casino__faq-answer a {
  color: #2AD16F;
  text-decoration: none;
  font-weight: bold;
}

.page-casino__faq-answer a:hover {
  text-decoration: underline;
}

/* Contact CTA Section */
.page-casino__contact-cta {
  background-color: #11271B; /* Custom Card BG */
  padding-bottom: 80px;
}

.page-casino__cta-content {
  max-width: 900px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-casino__hero-content {
    padding: 15px;
  }

  .page-casino__main-title {
    font-size: clamp(32px, 4.5vw, 56px);
  }

  .page-casino__tagline {
    font-size: clamp(16px, 2vw, 20px);
  }

  .page-casino__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-casino__benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .page-casino__app-content {
    flex-direction: column;
    text-align: center;
  }

  .page-casino__app-text, .page-casino__app-image {
    flex: none;
    width: 100%;
  }

  .page-casino__app-image {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-casino__section {
    padding: 40px 0;
  }

  .page-casino__container {
    padding: 0 15px;
  }

  .page-casino__section-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .page-casino__text-block {
    font-size: 15px;
  }

  /* Mobile image responsiveness */
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Image containers */
  .page-casino__hero-image-wrapper,
  .page-casino__game-card,
  .page-casino__app-image,
  .page-casino__section,
  .page-casino__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Specific padding for content sections */
  .page-casino__about-section .page-casino__container,
  .page-casino__games-section .page-casino__container,
  .page-casino__benefits-section .page-casino__container,
  .page-casino__guide-section .page-casino__container,
  .page-casino__app-section .page-casino__container,
  .page-casino__faq-section .page-casino__container,
  .page-casino__contact-cta .page-casino__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Mobile button responsiveness */
  .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: 12px 15px;
    font-size: 16px;
  }

  /* Ensure content wrappers don't overflow */
  .page-casino__game-grid,
  .page-casino__benefits-grid,
  .page-casino__guide-list,
  .page-casino__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-casino__faq-question {
    font-size: 16px;
    padding: 15px 20px;
  }

  .page-casino__faq-answer {
    font-size: 15px;
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-casino__main-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .page-casino__tagline {
    font-size: clamp(15px, 3.5vw, 18px);
  }

  .page-casino__hero-section {
    padding-bottom: 60px;
  }

  .page-casino__section {
    padding: 30px 0;
  }
}