/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-slot-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2C14E; /* Main color for titles */
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-slot-games__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  max-width: 100%; /* Ensure image does not overflow */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
}

.page-slot-games__hero-title {
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD36B; /* Glow */
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
  /* No fixed font-size, rely on responsive scaling */
}

.page-slot-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF6D6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  width: auto;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Main color for border */
}

.page-slot-games__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A;
  transform: translateY(-3px);
}

.page-slot-games__btn-tertiary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  border: 1px solid #3A2A12; /* Border */
  font-size: 0.9em;
  padding: 10px 20px;
}

.page-slot-games__btn-tertiary:hover {
  background: #F2C14E;
  color: #0A0A0A;
  border-color: #F2C14E;
}

.page-slot-games__cta-center {
  margin-top: 40px;
}

/* Why Choose Section */
.page-slot-games__why-choose {
  background-color: #111111; /* Card BG */
}

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

.page-slot-games__feature-item {
  background: #0A0A0A; /* Background */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__feature-title {
  font-size: 1.5em;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__feature-text {
  color: #FFF6D6; /* Text Main */
  font-size: 1em;
}

/* Game Types Section */
.page-slot-games__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__game-card {
  background: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
}

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

.page-slot-games__game-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__game-card-title {
  font-size: 1.4em;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__game-card-text {
  color: #FFF6D6; /* Text Main */
  font-size: 0.95em;
  margin-bottom: 20px;
}

/* How to Play Section */
.page-slot-games__how-to-play {
  background-color: #0A0A0A; /* Background */
}

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

.page-slot-games__step-item {
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-top: 60px;
}

.page-slot-games__step-number {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-slot-games__step-title {
  font-size: 1.4em;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__step-text {
  color: #FFF6D6; /* Text Main */
  font-size: 0.95em;
}

/* Promotions Section */
.page-slot-games__promotions {
  background-color: #111111; /* Card BG */
}

.page-slot-games__promotion-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__promotion-card {
  background: #0A0A0A; /* Background */
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-slot-games__promotion-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  max-width: 100%;
}

.page-slot-games__promotion-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__promotion-card-title {
  font-size: 1.4em;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__promotion-card-text {
  color: #FFF6D6; /* Text Main */
  font-size: 0.95em;
  margin-bottom: 20px;
}

/* Safety & Responsibility Section */
.page-slot-games__safety-responsibility {
  background-color: #0A0A0A; /* Background */
}

.page-slot-games__safety-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__safety-item {
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__safety-title {
  font-size: 1.5em;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__safety-text {
  color: #FFF6D6; /* Text Main */
  font-size: 1em;
  margin-bottom: 15px;
}

/* FAQ Section */
.page-slot-games__faq-section {
  background-color: #111111; /* Card BG */
}

.page-slot-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-slot-games__faq-item {
  background: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2C14E; /* Main color */
  position: relative;
}

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

.page-slot-games__faq-question::marker {
  display: none;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FFD36B; /* Glow */
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: '−';
}

.page-slot-games__faq-answer {
  padding: 0 25px 20px;
  color: #FFF6D6; /* Text Main */
  font-size: 1em;
  line-height: 1.7;
}

.page-slot-games__faq-answer p {
  margin-bottom: 10px;
}

.page-slot-games__faq-link {
  color: #F2C14E; /* Main color */
  text-decoration: underline;
}

.page-slot-games__faq-link:hover {
  color: #FFD36B;
}

/* Final CTA Section */
.page-slot-games__cta-final {
  padding-bottom: 100px; /* Add space for floating buttons */
}

/* Floating Buttons */
.page-slot-games__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-slot-games__floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.page-slot-games__floating-btn--register {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-slot-games__floating-btn--register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-slot-games__floating-btn--login {
  background: #111111; /* Card BG */
  border: 1px solid #F2C14E; /* Main color */
  color: #F2C14E;
}

.page-slot-games__floating-btn--login:hover {
  background: #F2C14E;
  color: #0A0A0A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__hero-title {
    font-size: 2.8em;
  }
}

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

  .page-slot-games__section-title {
    font-size: 1.8em;
  }

  .page-slot-games__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-slot-games__hero-section {
    padding: 40px 15px 20px;
    padding-top: 10px !important; /* body handles --header-offset */
  }

  .page-slot-games__hero-title {
    font-size: 2.2em;
  }

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

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-tertiary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__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;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
  }

  /* Image and Video Responsiveness */
  .page-slot-games img,
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__hero-image-wrapper,
  .page-slot-games__game-card-image,
  .page-slot-games__promotion-card-image,
  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-slot-games__floating-buttons {
    flex-direction: row;
    width: calc(100% - 40px);
    left: 20px;
    right: 20px;
    bottom: 15px;
    justify-content: space-around;
  }

  .page-slot-games__floating-btn {
    flex: 1;
    margin: 0 5px;
    font-size: 0.9em;
    padding: 10px 15px;
  }

  .page-slot-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-slot-games__faq-answer {
    padding: 0 20px 15px;
  }

  .page-slot-games__feature-item,
  .page-slot-games__game-card,
  .page-slot-games__promotion-card,
  .page-slot-games__step-item,
  .page-slot-games__safety-item {
    padding: 20px;
  }

  .page-slot-games__step-item {
    padding-top: 50px;
  }

  .page-slot-games__step-number {
    width: 35px;
    height: 35px;
    font-size: 1em;
    top: 15px;
    left: 15px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 1.8em;
  }

  .page-slot-games__section-title {
    font-size: 1.5em;
  }

  .page-slot-games__floating-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-slot-games__floating-btn {
    margin: 0;
  }
}