/* style/casino.css */
.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;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
  line-height: 1.2;
}

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

.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Space for content below image */
  padding-top: 10px; /* Small top padding */
  overflow: hidden;
}

.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;
  opacity: 0.3; /* Subtle overlay */
}

.page-casino__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 100px 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  margin-top: 50px;
}

.page-casino__main-title {
  font-size: 3.2em;
  font-weight: 900;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

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

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

.page-casino__cta-buttons--center {
    justify-content: center;
}

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

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

.page-casino__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-casino__btn-tertiary {
  background: #11A84E;
  color: #F2FFF6;
  border: none;
}

.page-casino__btn-tertiary:hover {
  background: #22C768;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-casino__btn-link {
  background: none;
  border: none;
  color: #57E38D; /* Glow */
  padding: 10px 0;
  text-decoration: underline;
}

.page-casino__btn-link:hover {
  color: #F2FFF6;
}

.page-casino__why-choose-section,
.page-casino__games-section,
.page-casino__live-casino-section,
.page-casino__promotions-section,
.page-casino__getting-started-section,
.page-casino__security-section,
.page-casino__mobile-section,
.page-casino__faq-section,
.page-casino__final-cta-section {
  padding: 80px 0;
}

.page-casino__dark-bg {
  background-color: #11271B; /* Card BG */
}

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

.page-casino__feature-card,
.page-casino__game-card,
.page-casino__promo-card,
.page-casino__step-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino__feature-icon,
.page-casino__game-image,
.page-casino__promo-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Minimum size */
}

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

.page-casino__feature-text,
.page-casino__game-text,
.page-casino__promo-text,
.page-casino__step-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-casino__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #57E38D; /* Glow */
  margin-bottom: 15px;
  display: block;
}

.page-casino__live-content,
.page-casino__security-content,
.page-casino__mobile-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-casino__live-image,
.page-casino__security-image,
.page-casino__mobile-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  min-height: 200px; /* Minimum size */
}

.page-casino__live-features,
.page-casino__security-text-block,
.page-casino__mobile-text-block {
  flex: 1;
  min-width: 300px;
}

.page-casino__live-feature-item {
  margin-bottom: 25px;
}

.page-casino__live-feature-title,
.page-casino__security-subtitle,
.page-casino__mobile-subtitle {
  font-size: 1.4em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-casino__live-feature-text,
.page-casino__security-paragraph,
.page-casino__mobile-paragraph {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

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

.page-casino__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  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: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  list-style: none;
}

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

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

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

.page-casino__faq-answer {
  padding: 15px 20px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

.page-casino__final-cta-section {
  text-align: center;
  padding: 100px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-casino__floating-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-casino__floating-btn {
  display: block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__floating-btn--login {
  background: #F2C14E; /* Gold */
  color: #08160F; /* Background - Dark text for gold */
}

.page-casino__floating-btn--login:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-casino__floating-btn--register {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
}

.page-casino__floating-btn--register:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-casino__main-title {
    font-size: 2.8em;
  }
  .page-casino__section-title {
    font-size: 2em;
  }
  .page-casino__hero-content {
    padding: 80px 20px;
  }
}

@media (max-width: 768px) {
  .page-casino__main-title {
    font-size: 2.2em;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__section-description {
    font-size: 1em;
  }
  .page-casino__hero-content {
    padding: 60px 15px;
  }
  .page-casino__why-choose-section,
  .page-casino__games-section,
  .page-casino__live-casino-section,
  .page-casino__promotions-section,
  .page-casino__getting-started-section,
  .page-casino__security-section,
  .page-casino__mobile-section,
  .page-casino__faq-section,
  .page-casino__final-cta-section {
    padding: 60px 0;
  }
  .page-casino__container {
    padding: 0 15px;
  }
  .page-casino__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__btn-primary,
  .page-casino__btn-secondary,
  .page-casino__btn-tertiary,
  .page-casino__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-casino__features-grid,
  .page-casino__games-grid,
  .page-casino__promotions-grid,
  .page-casino__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-casino__live-content,
  .page-casino__security-content,
  .page-casino__mobile-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-casino__live-image,
  .page-casino__security-image,
  .page-casino__mobile-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-width: unset;
    box-sizing: border-box !important;
  }
  .page-casino__live-features,
  .page-casino__security-text-block,
  .page-casino__mobile-text-block {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-casino__floating-buttons {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }
  .page-casino__floating-btn {
    padding: 10px 20px;
    font-size: 1em;
    width: auto;
  }
  .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__hero-content,
  .page-casino__cta-buttons,
  .page-casino__live-content,
  .page-casino__security-content,
  .page-casino__mobile-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-casino__video-section { /* If a video section was present */
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-casino__main-title {
    font-size: 1.8em;
  }
  .page-casino__section-title {
    font-size: 1.5em;
  }
  .page-casino__hero-content {
    padding: 40px 10px;
  }
  .page-casino__floating-buttons {
    flex-direction: row;
    left: 15px;
    right: 15px;
    width: calc(100% - 30px);
    justify-content: space-around;
  }
  .page-casino__floating-btn {
    flex: 1;
    margin: 0 5px;
  }
}