/* style/casino.css */

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

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

.page-casino__section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  color: var(--gold-color, #F2C14E);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-casino__section-description,
.page-casino__text-block {
  font-size: 18px;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-secondary-color, #A7D9B8);
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: var(--deep-green-color, #0A4B2C);
}

.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: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  box-sizing: border-box;
}

.page-casino__hero-title {
  font-size: clamp(32px, 4vw, 56px);
  color: var(--gold-color, #F2C14E);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-casino__hero-description {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text-main-color, #F2FFF6);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.page-casino__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-casino__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-casino__btn-secondary {
  background: transparent;
  color: var(--glow-color, #57E38D);
  border: 2px solid var(--glow-color, #57E38D);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-casino__btn-secondary:hover {
  background: var(--glow-color, #57E38D);
  color: #08160F;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-casino__btn-text {
  background: transparent;
  color: var(--gold-color, #F2C14E);
  border: none;
  padding: 8px 15px;
  font-size: 16px;
}

.page-casino__btn-text:hover {
  text-decoration: underline;
  color: var(--glow-color, #57E38D);
}

/* Dark Section */
.page-casino__dark-section {
  background-color: var(--background-color, #08160F);
  padding: 80px 0;
  color: var(--text-main-color, #F2FFF6);
}

/* About Section */
.page-casino__about-section {
  padding: 80px 0;
}

/* Games Section */
.page-casino__games-section {
  padding: 80px 0;
  background-color: var(--card-bg-color, #11271B);
}

.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: var(--deep-green-color, #0A4B2C);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-casino__game-title {
  font-size: 24px;
  color: var(--gold-color, #F2C14E);
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-casino__game-title a:hover {
  text-decoration: underline;
  color: var(--glow-color, #57E38D);
}

.page-casino__game-description {
  font-size: 16px;
  color: var(--text-secondary-color, #A7D9B8);
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-casino__promotion-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background-color: var(--card-bg-color, #11271B);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-casino__promotion-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: cover;
}

.page-casino__promotion-content {
  flex: 1;
  padding: 40px;
  box-sizing: border-box;
}

.page-casino__promotion-title {
  font-size: 32px;
  color: var(--gold-color, #F2C14E);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino__promotion-description {
  font-size: 18px;
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 30px;
}

/* Security Section */
.page-casino__security-section {
  padding: 80px 0;
  background-color: var(--deep-green-color, #0A4B2C);
}

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

.page-casino__feature-item {
  background-color: var(--card-bg-color, #11271B);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.page-casino__feature-title {
  font-size: 24px;
  color: var(--gold-color, #F2C14E);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-casino__feature-description {
  font-size: 16px;
  color: var(--text-secondary-color, #A7D9B8);
}

/* Get Started Section */
.page-casino__get-started-section {
  padding: 80px 0;
}

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

.page-casino__step-item {
  background-color: var(--card-bg-color, #11271B);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-casino__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  font-size: 32px;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

.page-casino__step-title {
  font-size: 24px;
  color: var(--gold-color, #F2C14E);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-casino__step-description {
  font-size: 16px;
  color: var(--text-secondary-color, #A7D9B8);
}

/* FAQ Section */
.page-casino__faq-section {
  padding: 80px 0;
  background-color: var(--card-bg-color, #11271B);
}

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

.page-casino__faq-item {
  background-color: var(--deep-green-color, #0A4B2C);
  border: 1px solid var(--divider-color, #1E3A2A);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 20px;
  font-weight: bold;
  color: var(--text-main-color, #F2FFF6);
  cursor: pointer;
  background-color: var(--deep-green-color, #0A4B2C);
  user-select: none;
}

.page-casino__faq-item[open] .page-casino__faq-question {
  color: var(--gold-color, #F2C14E);
}

.page-casino__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-casino__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color, #F2C14E);
}

.page-casino__faq-item[open] .page-casino__faq-toggle {
  color: var(--glow-color, #57E38D);
}

.page-casino__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 16px;
  color: var(--text-secondary-color, #A7D9B8);
  line-height: 1.8;
}

/* Remove default details marker */
.page-casino__faq-item > summary {
  list-style: none;
}

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

/* Final CTA Section */
.page-casino__cta-section {
  padding: 80px 0;
  text-align: center;
}

/* Responsive adjustments */
@media (min-width: 769px) {
  .page-casino__promotion-card {
    flex-wrap: nowrap;
  }
  .page-casino__promotion-image {
    width: 50%;
  }
  .page-casino__promotion-content {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .page-casino__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino__section-title {
    font-size: 28px;
  }

  .page-casino__section-description,
  .page-casino__text-block {
    font-size: 16px;
  }

  /* Hero Section */
  .page-casino__hero-section {
    padding-bottom: 40px;
  }

  .page-casino__hero-image-wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-casino__hero-title {
    font-size: 32px;
    line-height: 1.3;
  }

  .page-casino__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-casino__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  /* Buttons */
  .page-casino__btn-primary,
  .page-casino__btn-secondary,
  .page-casino__btn-text {
    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__hero-cta-buttons,
  .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;
  }

  /* General Image & Container Responsiveness */
  .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__game-card,
  .page-casino__promotion-card,
  .page-casino__feature-item,
  .page-casino__step-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-casino__promotion-card {
    flex-direction: column;
  }

  .page-casino__promotion-image {
    width: 100%;
    max-width: none;
  }

  .page-casino__promotion-content {
    padding: 20px;
  }

  .page-casino__promotion-title {
    font-size: 24px;
  }

  .page-casino__faq-question {
    font-size: 18px;
  }
}