/* style/casino.css */

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

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

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

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

.page-casino__section-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: #A7D9B8; /* Custom Text Secondary */
  text-align: center;
  margin-bottom: 40px;
}

.page-casino p {
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 15px;
}

.page-casino__text-link {
  color: #57E38D; /* Custom Glow */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-casino__text-link:hover {
  color: #F2C14E; /* Custom Gold */
}

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  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: #ffffff; /* Always white text for primary buttons */
  border: none;
}

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

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

.page-casino__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  color: #F2C14E; /* Custom Gold */
  border-color: #F2C14E; /* Custom Gold */
}

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

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px 20px; /* Small top padding, larger bottom */
  overflow: hidden;
  background-color: #0A4B2C; /* Deep Green for hero bg */
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

.page-casino__hero-content {
  max-width: 900px;
  position: relative; /* Ensure content is above image but not overlapping */
  z-index: 2;
}

.page-casino__hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-casino__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 30px;
}

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

/* About Section */
.page-casino__grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-casino__grid-2-cols-reversed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-casino__image-wrapper {
  width: 100%;
  max-width: 100%;
}

.page-casino__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

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

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

.page-casino__game-card {
  background-color: #11271B; /* Custom Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Custom Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(87, 227, 141, 0.2);
}

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

.page-casino__game-card-content {
  padding: 20px;
}

.page-casino__game-card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.page-casino__game-card-title a {
  color: #F2FFF6; /* Custom Text Main */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-casino__game-card-title a:hover {
  color: #57E38D; /* Custom Glow */
}

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

.page-casino__promotion-card {
  background-color: #11271B; /* Custom Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Custom Border */
}

.page-casino__promotion-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

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

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

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

.page-casino__guide-step-card {
  background-color: #11271B; /* Custom Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 1px solid #2E7A4E; /* Custom Border */
}

.page-casino__guide-step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button */
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  margin: 0 auto 20px auto;
}

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

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

.page-casino__faq-item {
  background-color: #11271B; /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-casino__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  color: #F2FFF6; /* Custom Text Main */
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color 0.3s ease;
}

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

.page-casino__faq-item summary:hover {
  background-color: #0A4B2C; /* Deep Green */
}

.page-casino__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: #57E38D; /* Custom Glow */
}

.page-casino__faq-item[open] .page-casino__faq-toggle {
  color: #F2C14E; /* Custom Gold */
}

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

.page-casino__faq-answer p {
  color: #A7D9B8; /* Custom Text Secondary */
}

/* Final CTA Section */
.page-casino__final-cta-section {
  background-color: #0A4B2C; /* Deep Green */
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-casino__grid-2-cols,
  .page-casino__grid-2-cols-reversed {
    grid-template-columns: 1fr;
  }
  .page-casino__grid-2-cols-reversed .page-casino__text-block {
    order: 2;
  }
  .page-casino__grid-2-cols-reversed .page-casino__image-wrapper {
    order: 1;
  }
}

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

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

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

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

  .page-casino__btn-primary,
  .page-casino__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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__hero-image-wrapper,
  .page-casino__image-wrapper,
  .page-casino__game-card,
  .page-casino__promotion-card,
  .page-casino__guide-step-card,
  .page-casino__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; */ /* Handled by .page-casino__container */
    /* padding-right: 15px; */ /* Handled by .page-casino__container */
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-casino__game-card-image,
  .page-casino__promotion-card-image {
    height: 180px;
  }

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

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

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

  .page-casino__section-subtitle {
    font-size: 16px;
  }

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

  .page-casino__faq-answer {
    padding: 0 15px 15px 15px;
  }
}