/* style/slot-games.css */
/* General styles for the slot-games page */
.page-slot-games {
  font-family: Arial, sans-serif;
  color: #ffffff; /* Light text for dark body background */
  background-color: #1a1a1a; /* Inherited from body via shared.css */
  line-height: 1.6;
}

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

.page-slot-games__section-title {
  font-size: 2.5rem;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #0d0d0d; /* Slightly darker than body for contrast */
}

.page-slot-games__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.7); /* Overlay for readability */
}

.page-slot-games__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken video to ensure text contrast */
}

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

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

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

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-play,
.page-slot-games__btn-details {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

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

.page-slot-games__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-slot-games__btn-play {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
  padding: 10px 25px;
  font-size: 1rem;
  width: 100%; /* Ensure play button takes full width of card */
}

.page-slot-games__btn-play:hover {
  background-color: #02944b;
  border-color: #02944b;
}

.page-slot-games__btn-details {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
  padding: 10px 25px;
  font-size: 1rem;
}

.page-slot-games__btn-details:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-slot-games__btn-large {
  padding: 18px 45px;
  font-size: 1.2rem;
}

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

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

.page-slot-games__feature-card {
  background-color: #2a2a2a; /* Darker background for cards on dark section */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-slot-games__feature-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 10px; /* Slightly rounded corners for images */
}

.page-slot-games__feature-title {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-slot-games__feature-description {
  font-size: 1rem;
  color: #cccccc;
}

/* Popular Games Section */
.page-slot-games__popular-games-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

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

.page-slot-games__game-card {
  background-color: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-slot-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 1px solid #017439;
}

.page-slot-games__game-title {
  font-size: 1.4rem;
  margin: 20px 15px 10px;
  color: #ffffff;
}

.page-slot-games__game-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games__game-title a:hover {
  color: #017439;
}

.page-slot-games__game-provider {
  font-size: 0.9rem;
  color: #aaaaaa;
  margin-bottom: 10px;
}

.page-slot-games__game-description {
  font-size: 0.95rem;
  color: #cccccc;
  padding: 0 15px 15px;
  flex-grow: 1;
}

.page-slot-games__btn-play {
  margin: 0 15px 20px;
  display: block; /* Make it block level to take full width */
}

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

.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  max-width: 800px;
  margin: 0 auto;
}

.page-slot-games__step-item {
  background-color: #2a2a2a;
  margin-bottom: 25px;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-left: 80px;
  color: #ffffff;
}

.page-slot-games__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #017439;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.page-slot-games__step-title {
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-slot-games__step-description {
  font-size: 1rem;
  color: #cccccc;
}

.page-slot-games__step-description a {
  color: #FFFF00; /* Yellow for links within text */
  text-decoration: underline;
}

.page-slot-games__step-description a:hover {
  color: #017439;
}

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

/* Strategy Section */
.page-slot-games__strategy-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

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

.page-slot-games__strategy-card {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-slot-games__strategy-title {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-slot-games__strategy-description {
  font-size: 1rem;
  color: #cccccc;
}

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

.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: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-slot-games__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #017439;
}

.page-slot-games__promo-title {
  font-size: 1.4rem;
  margin: 20px 15px 10px;
  color: #ffffff;
}

.page-slot-games__promo-description {
  font-size: 1rem;
  color: #cccccc;
  padding: 0 15px 20px;
  flex-grow: 1; /* Push button to bottom */
}

.page-slot-games__btn-details {
  margin: 0 15px 20px;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games__faq-item {
  background-color: #2a2a2a;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px 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;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  background-color: #017439; /* Brand color for question background */
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.page-slot-games__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

.page-slot-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff;
}

.page-slot-games__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #cccccc;
  background-color: #2a2a2a;
}

/* CTA Section at bottom */
.page-slot-games__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #017439; /* Primary brand color for strong CTA */
  color: #ffffff;
}

.page-slot-games__cta-title {
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-slot-games__cta-description {
  font-size: 1.2rem;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3rem;
  }
  .page-slot-games__hero-description {
    font-size: 1.15rem;
  }
  .page-slot-games__section-title {
    font-size: 2.2rem;
  }
}