/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a1a; /* Body background from shared.css */
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Accent color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

.page-slot-games__text-block--center {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 700px;
  padding: var(--header-offset, 120px) 20px 60px;
  overflow: hidden;
  background-color: #0A192F; /* Main brand color for hero background */
  color: #ffffff;
}

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

.page-slot-games__hero-title {
  font-size: 3.8em;
  color: #FFD700; /* Accent color for main title */
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

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

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

.page-slot-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  min-width: 200px;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #FFD700; /* Accent color */
  color: #0A192F; /* Main brand color */
  border: 2px solid #FFD700;
}

.page-slot-games__btn-primary:hover {
  background-color: #e0b800;
  border-color: #e0b800;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 215, 0, 0.3);
}

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

.page-slot-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 215, 0, 0.3);
}

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

/* Section backgrounds */
.page-slot-games__dark-bg {
  background-color: #0A192F;
  color: #ffffff;
  padding: 80px 0;
}

.page-slot-games__light-bg {
  background-color: #1a1a1a; /* Body background */
  color: #f0f0f0;
  padding: 80px 0;
}

/* Intro Section */
.page-slot-games__intro-section .page-slot-games__section-title {
  color: #FFD700;
}

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

.page-slot-games__game-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-slot-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.page-slot-games__game-card .page-slot-games__card-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__game-card .page-slot-games__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  object-fit: cover;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-slot-games__game-card .page-slot-games__card-text {
  font-size: 1em;
  color: #f0f0f0;
  text-align: justify;
}

/* Features Section */
.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-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-slot-games__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.page-slot-games__feature-card .page-slot-games__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__feature-card .page-slot-games__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  object-fit: cover;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-slot-games__feature-card .page-slot-games__card-text {
  font-size: 1em;
  color: #f0f0f0;
  text-align: justify;
}

/* Why Choose Section */
.page-slot-games__reason-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__reason-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  color: #ffffff;
}

.page-slot-games__reason-item:hover {
  background-color: rgba(255, 215, 0, 0.1);
}

.page-slot-games__reason-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__reason-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Promotions Section */
.page-slot-games__promotion-banner {
  width: 100%;
  height: auto;
  border-radius: 15px;
  margin-bottom: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 2px solid #FFD700;
}

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

.page-slot-games__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-slot-games__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

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

.page-slot-games__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

.page-slot-games__step-card .page-slot-games__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-slot-games__step-card .page-slot-games__card-text {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-slot-games__btn-step {
  margin-top: auto; /* Push button to bottom */
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__strategy-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  color: #ffffff;
}

.page-slot-games__strategy-item:hover {
  background-color: rgba(255, 215, 0, 0.1);
}

.page-slot-games__strategy-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__strategy-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Video Section */
.page-slot-games__video-section {
  padding: 80px 0;
  background-color: #0A192F;
  color: #ffffff;
}

.page-slot-games__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  margin-top: 40px;
  margin-bottom: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  background-color: #000;
}

.page-slot-games__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 215, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: rgba(255, 215, 0, 0.2);
}

.page-slot-games__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #FFD700;
  font-weight: bold;
}

.page-slot-games__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 20px;
}

.page-slot-games__faq-answer p {
  margin: 0;
  font-size: 1em;
  text-align: justify;
}

/* CTA Section */
.page-slot-games__cta-section {
  padding: 100px 0;
  text-align: center;
  background-image: linear-gradient(45deg, #0A192F, #1e3a6a);
  color: #ffffff;
}

.page-slot-games__cta-content {
  max-width: 900px;
}

.page-slot-games__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-slot-games__cta-description {
  font-size: 1.3em;
  margin-bottom: 50px;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3em;
  }
  .page-slot-games__hero-description {
    font-size: 1.2em;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    min-height: 600px;
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }
  .page-slot-games__hero-title {
    font-size: 2.5em;
  }
  .page-slot-games__hero-description {
    font-size: 1.1em;
  }
  .page-slot-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 300px !important; /* Limit max width for smaller screens */
    margin-left: auto;
    margin-right: auto;
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-slot-games__text-block {
    font-size: 1em;
  }
  .page-slot-games__game-grid,
  .page-slot-games__features-grid,
  .page-slot-games__reason-list,
  .page-slot-games__promo-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__game-card,
  .page-slot-games__feature-card,
  .page-slot-games__reason-item,
  .page-slot-games__promo-card,
  .page-slot-games__step-card,
  .page-slot-games__strategy-item {
    padding: 25px;
  }
  .page-slot-games__card-title,
  .page-slot-games__reason-title,
  .page-slot-games__strategy-title {
    font-size: 1.3em;
  }
  .page-slot-games__cta-title {
    font-size: 2em;
  }
  .page-slot-games__cta-description {
    font-size: 1.1em;
  }
  .page-slot-games__promotion-banner {
    border-radius: 10px;
  }
  .page-slot-games__container {
    padding: 0 15px;
  }

  /* Mobile image responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__game-card .page-slot-games__card-image,
  .page-slot-games__feature-card .page-slot-games__card-image,
  .page-slot-games__promotion-banner {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Mobile video responsiveness */
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-slot-games__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  /* Mobile button responsiveness */
  .page-slot-games__cta-button,
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !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;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 2em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__section-title {
    font-size: 1.5em;
  }
  .page-slot-games__cta-title {
    font-size: 1.8em;
  }
  .page-slot-games__faq-question h3 {
    font-size: 1.1em;
  }
}