/* style/casino.css */
/* Body background is #08160F (dark), so text should be light */

.page-casino {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  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(2em, 4vw, 3em);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-casino__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #A7D9B8; /* Text Secondary */
  max-width: 900px;
  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;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  background: #08160F; /* Background */
  min-height: 600px;
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 1;
  opacity: 0.3; /* Slightly dim the image for text readability */
}

.page-casino__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.page-casino__hero-title {
  font-size: clamp(2.5em, 5vw, 3.8em);
  font-weight: 800;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-casino__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #A7D9B8; /* Text Secondary */
}

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

/* 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: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-casino__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: 2px solid transparent;
}

.page-casino__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-casino__btn-secondary:hover {
  background: #2AD16F;
  color: #F2FFF6;
  transform: translateY(-3px);
}

.page-casino__btn-text-link {
  color: #2AD16F;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-casino__btn-text-link:hover {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

/* Card Styling */
.page-casino__card {
  background: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
}

/* Intro Section */
.page-casino__intro-section {
  padding: 80px 0;
  background: #0A4B2C; /* Deep Green - slightly lighter than body bg for contrast */
  color: #F2FFF6;
}

.page-casino__intro-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-casino__intro-content p {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #A7D9B8;
}

.page-casino__intro-image-wrapper {
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-casino__intro-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Games Section */
.page-casino__games-section {
  padding: 80px 0;
  background: #08160F; /* Background */
}

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

.page-casino__game-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-casino__game-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #F2C14E; /* Gold */
}

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

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

.page-casino__game-description {
  font-size: 0.95em;
  color: #A7D9B8;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-casino__promotions-section {
  padding: 80px 0;
  background: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
}

.page-casino__promotions-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-direction: row-reverse; /* Image on right */
}

.page-casino__promo-content {
  flex: 1;
}

.page-casino__promo-content p {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #A7D9B8;
}

.page-casino__promo-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-casino__promo-content li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: #F2FFF6;
}

.page-casino__promo-content li::before {
  content: '✓';
  color: #2AD16F;
  position: absolute;
  left: 0;
  font-weight: 700;
}

.page-casino__promo-content a {
  color: #2AD16F;
  text-decoration: none;
}

.page-casino__promo-content a:hover {
  text-decoration: underline;
}

.page-casino__promo-image-wrapper {
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-casino__promo-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Security Section */
.page-casino__security-section {
  padding: 80px 0;
  background: #08160F; /* Background */
}

.page-casino__security-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-casino__security-image-wrapper {
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-casino__security-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-casino__security-content p {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #A7D9B8;
}

.page-casino__security-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-casino__security-content li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: #F2FFF6;
}

.page-casino__security-content li::before {
  content: '✓';
  color: #2AD16F;
  position: absolute;
  left: 0;
  font-weight: 700;
}

.page-casino__security-content a {
  color: #2AD16F;
  text-decoration: none;
}

.page-casino__security-content a:hover {
  text-decoration: underline;
}

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

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

.page-casino__guide-step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-casino__step-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-casino__guide-step p {
  font-size: 1em;
  color: #A7D9B8;
}

.page-casino__guide-cta {
  text-align: center;
}

.page-casino__guide-cta p {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #F2FFF6;
}

.page-casino__guide-cta a {
  color: #2AD16F;
  text-decoration: none;
}

/* FAQ Section */
.page-casino__faq-section {
  padding: 80px 0;
  background: #08160F; /* Background */
}

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

.page-casino__faq-item {
  margin-bottom: 20px;
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  background: #11271B; /* Card B G */
  color: #F2FFF6;
  overflow: hidden;
}

.page-casino__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2C14E; /* Gold */
  position: relative;
}

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

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

.page-casino__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 20px;
  color: #2AD16F;
  transition: transform 0.3s ease;
}

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

.page-casino__faq-answer {
  padding: 0 30px 20px;
  font-size: 1.05em;
  color: #A7D9B8;
}

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

/* Conclusion Section */
.page-casino__conclusion-section {
  padding: 80px 0;
  background: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
  text-align: center;
}

.page-casino__conclusion-section .page-casino__section-description {
  margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__intro-grid,
  .page-casino__promotions-grid,
  .page-casino__security-grid {
    flex-direction: column;
    text-align: center;
  }

  .page-casino__intro-image-wrapper,
  .page-casino__promo-image-wrapper,
  .page-casino__security-image-wrapper {
    margin-bottom: 30px;
  }

  .page-casino__promotions-grid {
    flex-direction: column; /* Ensure image is above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-casino {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-casino__hero-title {
    font-size: clamp(2em, 8vw, 2.8em);
  }

  .page-casino__hero-description {
    font-size: 1em;
  }

  .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: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-casino__section-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-casino__section-description {
    font-size: 0.95em;
  }

  .page-casino__intro-section,
  .page-casino__games-section,
  .page-casino__promotions-section,
  .page-casino__security-section,
  .page-casino__guide-section,
  .page-casino__faq-section,
  .page-casino__conclusion-section {
    padding: 40px 0;
  }

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

  /* Images responsive */
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-casino__intro-image-wrapper,
  .page-casino__promo-image-wrapper,
  .page-casino__security-image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-casino__guide-icon {
    width: 120px;
    height: 120px;
  }

  .page-casino__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: clamp(1.8em, 9vw, 2.5em);
  }

  .page-casino__hero-description {
    font-size: 0.9em;
  }

  .page-casino__game-image {
    height: 150px;
  }

  .page-casino__faq-item summary {
    font-size: 1em;
  }
}