/* style/slot-games.css */
.page-slot-games {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: bold;
}

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

.page-slot-games__btn {
  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;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.page-slot-games__btn--primary {
  background-color: #E3B505;
  color: #0A2463;
  border: 2px solid #E3B505;
}

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

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

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

.page-slot-games__btn--gold {
  background-color: #E3B505;
  color: #0A2463;
  border: none;
  padding: 15px 35px;
  font-size: 1.2em;
  box-shadow: 0 4px 15px rgba(227, 181, 5, 0.4);
}

.page-slot-games__btn--gold:hover {
  background-color: #f0c20a;
  box-shadow: 0 6px 20px rgba(227, 181, 5, 0.6);
}

.page-slot-games__btn--small {
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-slot-games__btn--inline {
  padding: 5px 10px;
  font-size: 0.9em;
  margin-top: 10px;
  background-color: #0A2463;
  color: #E3B505;
  border: 1px solid #0A2463;
}

.page-slot-games__btn--inline:hover {
  background-color: #1a3a7a;
  border-color: #1a3a7a;
}

.page-slot-games__btn--center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
}

/* Hero Section */
.page-slot-games__hero-section {
  background: linear-gradient(135deg, #0A2463 0%, #1A3A7A 100%);
  color: #ffffff;
  padding: 80px 0;
  padding-top: calc(80px + var(--header-offset, 120px)); /* Adjust for header offset */
  position: relative;
  overflow: hidden;
}

.page-slot-games__hero-container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.page-slot-games__hero-content {
  flex: 1;
  max-width: 60%;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #E3B505;
  line-height: 1.1;
  font-weight: 900;
}

.page-slot-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-slot-games__hero-actions {
  display: flex;
  gap: 20px;
}

.page-slot-games__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

/* Features Section */
.page-slot-games__features-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-slot-games__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-slot-games__feature-card:hover {
  transform: translateY(-5px);
}

.page-slot-games__feature-title {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-slot-games__feature-text {
  color: #666666;
}

/* Game Showcase Section */
.page-slot-games__game-showcase-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-slot-games__game-card {
  background-color: #fdfdfd;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__game-thumbnail {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-slot-games__game-title {
  font-size: 1.3em;
  color: #0A2463;
  margin-bottom: 8px;
}

.page-slot-games__game-provider {
  font-size: 0.9em;
  color: #888888;
  margin-bottom: 15px;
}

/* Jackpot Section */
.page-slot-games__jackpot-section {
  padding: 80px 0;
  background: linear-gradient(90deg, #0A2463, #3A5A9A);
  color: #ffffff;
  text-align: center;
}

.page-slot-games__jackpot-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-slot-games__jackpot-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-slot-games__jackpot-info {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 30px;
  border-radius: 10px;
  width: 100%;
  max-width: 500px;
}

.page-slot-games__jackpot-current-label {
  font-size: 1.5em;
  color: #f0f0f0;
  margin-bottom: 10px;
}

.page-slot-games__jackpot-amount {
  font-size: 3.5em;
  font-weight: bold;
  color: #E3B505;
  margin-bottom: 30px;
  text-shadow: 0 0 15px rgba(227, 181, 5, 0.7);
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-slot-games__promo-card {
  background-color: #ffffff;
  padding-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.page-slot-games__promo-card:hover {
  transform: translateY(-5px);
}

.page-slot-games__promo-thumbnail {
  width: 100%;
  height: 200px; /* Consistent height for promo images */
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-slot-games__promo-title {
  font-size: 1.4em;
  color: #0A2463;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__promo-text {
  color: #666666;
  margin-bottom: 20px;
  padding: 0 15px;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__step-item {
  background-color: #fdfdfd;
  border: 1px solid #eee;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  position: relative;
  text-align: center;
}

.page-slot-games__step-item::before {
  counter-increment: step-counter;
  content: "Bước " counter(step-counter);
  display: block;
  font-size: 1.1em;
  font-weight: bold;
  color: #E3B505;
  margin-bottom: 10px;
}

.page-slot-games__step-title {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 10px;
}

.page-slot-games__step-text {
  color: #666666;
}

/* Tips Section */
.page-slot-games__tips-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-slot-games__tip-item {
  background-color: #ffffff;
  padding: 20px;
  border-left: 5px solid #E3B505;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-slot-games__tip-item strong {
  color: #0A2463;
}

/* Mobile Experience Section */
.page-slot-games__mobile-experience-section {
  padding: 80px 0;
  background: linear-gradient(to right, #0A2463, #1A3A7A);
  color: #ffffff;
}

.page-slot-games__mobile-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-slot-games__mobile-text-content {
  flex: 1;
  min-width: 300px;
}

.page-slot-games__mobile-text-content p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-slot-games__mobile-text-content ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-slot-games__mobile-text-content li {
  margin-bottom: 8px;
}

.page-slot-games__mobile-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
}

.page-slot-games__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

/* Call to Action Section */
.page-slot-games__cta-section {
  background-color: #0A2463;
  padding: 60px 0;
  text-align: center;
  color: #ffffff;
}

.page-slot-games__section-title--light {
  color: #E3B505;
}

.page-slot-games__section-description--light {
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3em;
  }
  .page-slot-games__hero-description {
    font-size: 1.1em;
  }
  .page-slot-games__hero-container {
    flex-direction: column-reverse;
    text-align: center;
  }
  .page-slot-games__hero-content {
    max-width: 100%;
  }
  .page-slot-games__hero-actions {
    justify-content: center;
  }
  .page-slot-games__mobile-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: calc(40px + var(--header-offset, 200px));
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__hero-title {
    font-size: 2.5em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__features-grid,
  .page-slot-games__game-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__steps-list,
  .page-slot-games__tips-list {
    grid-template-columns: 1fr;
  }
  .page-slot-games__jackpot-amount {
    font-size: 2.5em;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 2em;
  }
  .page-slot-games__hero-description {
    font-size: 0.9em;
  }
  .page-slot-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn {
    width: 100%;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-games__section-description {
    font-size: 0.9em;
  }
}