/* style/slot-games.css */

/* Core Styles for page-slot-games */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-slot-games__center-content {
  text-align: center;
}

.page-slot-games__section-title {
  font-size: 2.8em;
  color: #E3B505; /* Gold for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-slot-games__dark-section {
  background-color: #0A2463; /* Dark blue brand color */
  color: #ffffff;
  padding: 60px 0;
}

.page-slot-games__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.page-slot-games__content-wrapper:nth-child(even) {
  flex-direction: row-reverse;
}

.page-slot-games__text-block {
  flex: 1;
  min-width: 300px;
}

.page-slot-games__text-block p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-slot-games__image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-slot-games__image-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-card {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #E3B505; /* Gold auxiliary color */
  color: #0A2463; /* Dark blue text */
  border: 2px solid #E3B505;
}

.page-slot-games__btn-primary:hover {
  background-color: #ffda6a;
  border-color: #ffda6a;
}

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

.page-slot-games__btn-secondary:hover {
  background-color: #E3B505;
  color: #0A2463;
}

.page-slot-games__btn-card {
  background-color: #0A2463;
  color: #E3B505;
  border: 2px solid #E3B505;
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-slot-games__btn-card:hover {
  background-color: #E3B505;
  color: #0A2463;
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  box-sizing: border-box;
}

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

.page-slot-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(10, 36, 99, 0.7), rgba(0, 0, 0, 0.9)); /* Dark overlay */
  z-index: 2;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

.page-slot-games__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  color: #E3B505; /* Gold for hero title */
  font-weight: bold;
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
}

/* Intro Section */
.page-slot-games__intro-section p {
  font-size: 1.1em;
  color: #f0f0f0;
}

/* Game Types Section */
.page-slot-games__game-cards-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 for cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

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

.page-slot-games__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

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

.page-slot-games__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #E3B505;
}

.page-slot-games__card-title a {
  color: #E3B505;
  text-decoration: none;
}

.page-slot-games__card-title a:hover {
  text-decoration: underline;
}

.page-slot-games__card-text {
  font-size: 0.95em;
  line-height: 1.5;
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* Advantages Section */
.page-slot-games__advantage-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-slot-games__advantage-list li {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid #E3B505;
  border-radius: 5px;
  font-size: 1.1em;
  color: #ffffff;
}

.page-slot-games__advantage-list li strong {
  color: #E3B505;
}

/* Guide Section */
.page-slot-games__guide-steps-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-slot-games__guide-steps {
  flex: 2;
  min-width: 300px;
}

.page-slot-games__guide-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.page-slot-games__guide-step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #E3B505;
  color: #0A2463;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.4em;
  margin-right: 15px;
  flex-shrink: 0;
}

.page-slot-games__guide-item-title {
  font-size: 1.4em;
  color: #E3B505;
  margin-top: 0;
  margin-bottom: 5px;
}

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

/* Strategy Section */
.page-slot-games__strategy-list {
  list-style: disc;
  padding-left: 20px;
  margin-top: 20px;
  color: #f0f0f0;
}

.page-slot-games__strategy-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-slot-games__strategy-list li strong {
  color: #E3B505;
}

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

.page-slot-games__promotion-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

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

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

.page-slot-games__promotion-title {
  font-size: 1.4em;
  color: #E3B505;
  margin-bottom: 10px;
}

.page-slot-games__promotion-text {
  font-size: 0.95em;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-slot-games__center-cta {
  text-align: center;
  margin-top: 50px;
}

/* Security Section */
.page-slot-games__security-section p {
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-slot-games__security-links {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
}

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #E3B505;
  transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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 20px;
  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 20px;
}

.page-slot-games__faq-answer p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

/* Conclusion Section */
.page-slot-games__conclusion-section {
  padding: 80px 0;
}

/* Responsive Design */
/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games__container {
    padding: 20px 15px;
  }

  .page-slot-games__section-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

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

  .page-slot-games__hero-section {
    height: auto;
    min-height: 60vh;
    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: 1em;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-card,
  .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__content-wrapper {
    flex-direction: column;
  }

  .page-slot-games__content-wrapper:nth-child(even) {
    flex-direction: column;
  }

  .page-slot-games__image-fluid {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__game-cards-grid,
  .page-slot-games__promotion-grid {
    grid-template-columns: 1fr;
  }

  .page-slot-games__game-card {
    margin-bottom: 20px;
  }

  .page-slot-games__guide-steps-wrapper {
    flex-direction: column;
  }

  .page-slot-games__guide-steps {
    order: 2;
  }

  .page-slot-games__image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }

  .page-slot-games__security-links {
    flex-direction: column;
    gap: 15px;
  }

  /* Ensure all img tags are responsive */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/content to prevent overflow */
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__content-wrapper,
  .page-slot-games__game-cards-grid,
  .page-slot-games__promotion-grid,
  .page-slot-games__guide-steps-wrapper,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  
  /* Specific video styles for mobile, though no video currently */
  .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;
  }
}

/* Tablet (max-width: 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3em;
  }

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

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

  .page-slot-games__game-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}