/* style/slot-games.css */

/* Base styles for the page-slot-games scope */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Inherit from shared.css body */
  padding-top: 120px; /* Space for fixed header on desktop */
}

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

.page-slot-games__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-slot-games__section:nth-of-type(even) {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for alternating sections */
}

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #FFD700; /* Gold accent color for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-slot-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #0A246A; /* Dark blue line under title */
  border-radius: 2px;
}

.page-slot-games__subsection-title {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: left;
  border-left: 5px solid #FFD700;
  padding-left: 15px;
}

.page-slot-games__text-block {
  font-size: 17px;
  color: #f0f0f0;
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-slot-games__text-block--center {
  text-align: center;
}

.page-slot-games a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games a:hover {
  color: #ffd700cc;
}

/* Buttons */
.page-slot-games__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  border: 2px solid transparent;
}

.page-slot-games__btn--primary {
  background-color: #FFD700; /* Gold background */
  color: #0A246A; /* Dark blue text */
  border-color: #FFD700;
}

.page-slot-games__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
}

.page-slot-games__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border-color: #FFD700;
}

.page-slot-games__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A246A;
  transform: translateY(-2px);
}

.page-slot-games__btn--small {
  padding: 10px 20px;
  font-size: 16px;
}

.page-slot-games__btn--large {
  padding: 18px 40px;
  font-size: 20px;
}

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

/* Hero Section */
.page-slot-games__hero-section {
  background: linear-gradient(135deg, #0A246A, #1a4a9a);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  padding-top: 180px; /* Adjust for fixed header and hero content */
}

.page-slot-games__hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-slot-games__hero-content {
  flex: 1;
  padding-right: 40px;
  z-index: 1;
}

.page-slot-games__hero-title {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-slot-games__hero-btn {
  background-color: #FFD700;
  color: #0A246A;
  padding: 18px 35px;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-slot-games__hero-btn:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-slot-games__hero-image-wrapper {
  flex: 1;
  text-align: right;
  z-index: 1;
}

.page-slot-games__hero-image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: block;
}

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

.page-slot-games__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-slot-games__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__game-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

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

.page-slot-games__game-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  padding: 15px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Guide Steps */
.page-slot-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-slot-games__guide-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-slot-games__guide-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-slot-games__guide-item p {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-slot-games__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
}

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

.page-slot-games__promo-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFD700;
  padding: 15px 20px 10px;
}

.page-slot-games__promo-description {
  font-size: 16px;
  color: #f0f0f0;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-slot-games__promo-card .page-slot-games__btn {
  margin: 0 20px 20px;
  align-self: flex-start;
}

/* Contact Info */
.page-slot-games__contact-info {
  margin-top: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__contact-info p {
  font-size: 17px;
  color: #f0f0f0;
  margin-bottom: 10px;
}

.page-slot-games__contact-info a {
  color: #FFD700;
  text-decoration: underline;
}

.page-slot-games__contact-info a:hover {
  color: #e6c200;
}

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

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Change to X or rotate for minus */
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px !important;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.03); /* Slightly different background for expanded answer */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__faq-answer p {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 0;
}

/* Final CTA Section */
.page-slot-games__section--cta-final {
  text-align: center;
  background: linear-gradient(90deg, #0A246A, #1a4a9a);
  padding: 80px 0;
  border-radius: 15px;
  margin-top: 40px;
  margin-bottom: 0;
}

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

.page-slot-games__section--cta-final .page-slot-games__section-title {
  color: #FFD700;
  margin-bottom: 25px;
}

.page-slot-games__section--cta-final .page-slot-games__text-block {
  font-size: 18px;
  margin-bottom: 40px;
}

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

  .page-slot-games__hero-description {
    font-size: 18px;
  }

  .page-slot-games__section-title {
    font-size: 32px;
  }

  .page-slot-games__subsection-title {
    font-size: 24px;
  }

  .page-slot-games__text-block {
    font-size: 16px;
  }

  .page-slot-games__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .page-slot-games__guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

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

  .page-slot-games__game-card-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    padding-top: 100px; /* Space for fixed header on mobile */
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  .page-slot-games__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-slot-games__hero-section {
    padding-top: 120px; /* Adjust for mobile fixed header */
    padding-bottom: 60px;
  }

  .page-slot-games__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-slot-games__hero-content {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .page-slot-games__hero-title {
    font-size: 32px;
  }

  .page-slot-games__hero-description {
    font-size: 16px;
  }

  .page-slot-games__hero-btn {
    padding: 15px 30px;
    font-size: 18px;
  }

  .page-slot-games__section {
    padding: 40px 0;
  }

  .page-slot-games__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-slot-games__subsection-title {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 20px;
    padding-left: 10px;
  }

  .page-slot-games__game-grid,
  .page-slot-games__guide-steps,
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__game-card-image {
    height: 160px;
  }

  .page-slot-games__game-card-title {
    font-size: 18px;
    padding: 12px;
  }

  .page-slot-games__guide-item,
  .page-slot-games__promo-card {
    padding: 25px;
  }

  .page-slot-games__guide-title {
    font-size: 20px;
  }

  .page-slot-games__promo-image {
    height: 180px;
  }

  .page-slot-games__promo-title {
    font-size: 20px;
  }

  .page-slot-games__promo-description {
    font-size: 15px;
  }

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

  .page-slot-games__faq-question h3 {
    font-size: 16px;
  }

  .page-slot-games__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
  }

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

  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px 20px !important;
  }

  .page-slot-games__section--cta-final {
    padding: 60px 0;
  }

  .page-slot-games__section--cta-final .page-slot-games__section-title {
    font-size: 28px;
  }

  .page-slot-games__section--cta-final .page-slot-games__text-block {
    font-size: 16px;
  }

  .page-slot-games__btn--large {
    padding: 15px 30px;
    font-size: 18px;
  }
}

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

  .page-slot-games__hero-description {
    font-size: 15px;
  }

  .page-slot-games__section-title {
    font-size: 24px;
  }

  .page-slot-games__subsection-title {
    font-size: 20px;
  }

  .page-slot-games__text-block {
    font-size: 15px;
  }

  .page-slot-games__game-card-image {
    height: 140px;
  }

  .page-slot-games__game-card-title {
    font-size: 16px;
  }

  .page-slot-games__promo-image {
    height: 160px;
  }

  .page-slot-games__promo-title {
    font-size: 18px;
  }

  .page-slot-games__promo-description {
    font-size: 14px;
  }

  .page-slot-games__faq-question h3 {
    font-size: 15px;
  }

  .page-slot-games__faq-answer p {
    font-size: 14px;
  }
}