/* style/casino.css */

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

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

.page-casino__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-casino__section-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-casino__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Main color for secondary button text */
  border: 2px solid #2AD16F;
}

.page-casino__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  color: #F2FFF6;
  border-color: #F2FFF6;
  box-shadow: 0 0 15px #57E38D; /* Glow */
}

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

.page-casino__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure image covers the area */
}

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

.page-casino__hero-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

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

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

/* About Section */
.page-casino__about-section {
  padding: 80px 0;
  background-color: #08160F;
}

.page-casino__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-casino__text-block {
  flex: 1;
}

.page-casino__text-block p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #F2FFF6;
}

.page-casino__text-block p a {
  color: #57E38D;
  text-decoration: underline;
}

.page-casino__text-block p a:hover {
  color: #F2C14E;
}

.page-casino__image-block {
  flex: 1;
  min-width: 400px; /* Ensure image block has a minimum width */
}

.page-casino__image-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Games Section */
.page-casino__games-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
}

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

.page-casino__game-card {
  background-color: #08160F; /* Background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

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

.page-casino__game-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-casino__game-title {
  font-size: 1.6em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

.page-casino__game-description a:hover {
  color: #F2C14E;
}

/* Promotions Section */
.page-casino__promotions-section {
  padding: 80px 0;
  background-color: #08160F;
}

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

.page-casino__promo-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

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

.page-casino__promo-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  padding: 20px 20px 0;
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-casino__promo-description a {
  color: #57E38D;
  text-decoration: underline;
}

.page-casino__promo-description a:hover {
  color: #F2C14E;
}

.page-casino__promo-card .page-casino__btn-primary {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

/* Guide Section */
.page-casino__guide-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
}

.page-casino__guide-steps {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.page-casino__guide-block {
  background-color: #08160F; /* Background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  flex: 1;
  max-width: 500px;
}

.page-casino__guide-subtitle {
  font-size: 1.8em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 25px;
  font-weight: bold;
}

.page-casino__guide-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-casino__guide-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-casino__guide-list li strong {
  color: #F2FFF6;
}

.page-casino__guide-list li a {
  color: #57E38D;
  text-decoration: underline;
}

.page-casino__guide-list li a:hover {
  color: #F2C14E;
}

.page-casino__guide-block .page-casino__btn-primary {
  width: 100%;
}

/* Advantages Section */
.page-casino__advantages-section {
  padding: 80px 0;
  background-color: #08160F;
}

.page-casino__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-casino__advantage-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-casino__advantage-icon {
  width: 100px; /* Min size 200x200, but display smaller */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-casino__advantage-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-casino__advantage-text {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

.page-casino__advantage-text a {
  color: #57E38D;
  text-decoration: underline;
}

.page-casino__advantage-text a:hover {
  color: #F2C14E;
}

/* FAQ Section */
.page-casino__faq-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
}

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

.page-casino__faq-item {
  background-color: #08160F; /* Background */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

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

.page-casino__faq-item summary:hover {
  background-color: rgba(42, 209, 111, 0.1);
}

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

.page-casino__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  border-top: 1px solid #2E7A4E;
}

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

.page-casino__faq-answer a {
  color: #57E38D;
  text-decoration: underline;
}

.page-casino__faq-answer a:hover {
  color: #F2C14E;
}

/* Final CTA Section */
.page-casino__cta-final {
  padding: 80px 0;
  background-color: #08160F;
  text-align: center;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-casino__content-wrapper {
    flex-direction: column;
  }
  .page-casino__image-block {
    min-width: unset;
    width: 100%;
    margin-top: 40px;
  }
  .page-casino__guide-steps {
    flex-direction: column;
    align-items: center;
  }
  .page-casino__guide-block {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-casino__section-title {
    font-size: 2em;
  }
  .page-casino__hero-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .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-left: 15px;
    padding-right: 15px;
  }
  .page-casino__games-grid,
  .page-casino__promotions-grid,
  .page-casino__advantages-grid {
    grid-template-columns: 1fr;
  }
  .page-casino__hero-section,
  .page-casino__about-section,
  .page-casino__games-section,
  .page-casino__promotions-section,
  .page-casino__guide-section,
  .page-casino__advantages-section,
  .page-casino__faq-section,
  .page-casino__cta-final {
    padding: 40px 0;
  }
  .page-casino__container {
    padding: 0 15px;
  }

  /* Mobile specific image adaptation */
  .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-block,
  .page-casino__game-card,
  .page-casino__promo-card,
  .page-casino__guide-block,
  .page-casino__advantage-item,
  .page-casino__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-casino__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-casino__cta-buttons {
    flex-wrap: wrap !important;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__hero-title {
    font-size: clamp(1.6em, 8vw, 2.2em);
  }
  .page-casino__hero-description {
    font-size: 0.9em;
  }
  .page-casino__game-title,
  .page-casino__promo-title,
  .page-casino__guide-subtitle,
  .page-casino__advantage-title {
    font-size: 1.3em;
  }
}