/* style/slot-games.css */

:root {
  --df99-primary: #11A84E;
  --df99-secondary: #22C768;
  --df99-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --df99-card-bg: #11271B;
  --df99-background: #08160F;
  --df99-text-main: #F2FFF6;
  --df99-text-secondary: #A7D9B8;
  --df99-border: #2E7A4E;
  --df99-glow: #57E38D;
  --df99-gold: #F2C14E;
  --df99-divider: #1E3A2A;
  --df99-deep-green: #0A4B2C;
}

.page-slot-games {
  background-color: var(--df99-background);
  color: var(--df99-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  text-align: center;
  background-color: var(--df99-background);
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  padding: 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over the image for better visual flow */
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: var(--df99-gold);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-slot-games__description {
  font-size: 1.15rem;
  color: var(--df99-text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-card,
.page-slot-games__btn-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background: var(--df99-button-gradient);
  color: var(--df99-text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: var(--df99-primary);
  border: 2px solid var(--df99-primary);
}

.page-slot-games__btn-secondary:hover {
  background-color: var(--df99-primary);
  color: var(--df99-text-main);
  transform: translateY(-2px);
}

.page-slot-games__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--df99-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-slot-games__text-block {
  font-size: 1.05rem;
  color: var(--df99-text-secondary);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
}

.page-slot-games__dark-section {
  background-color: var(--df99-card-bg);
}

.page-slot-games__grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-slot-games__grid-layout--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-slot-games__feature-content,
.page-slot-games__process-content,
.page-slot-games__tips-content {
  padding: 20px;
}

.page-slot-games__feature-image-wrapper,
.page-slot-games__process-image-wrapper,
.page-slot-games__tips-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__feature-image,
.page-slot-games__process-image,
.page-slot-games__tips-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__feature-list,
.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.page-slot-games__feature-item,
.page-slot-games__tips-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--df99-text-main);
  font-size: 1.05rem;
}

.page-slot-games__feature-item::before,
.page-slot-games__tips-item::before {
  content: '✔';
  color: var(--df99-glow);
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-slot-games__card {
  background-color: var(--df99-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 25px;
  border: 1px solid var(--df99-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-slot-games__card-title {
  font-size: 1.5rem;
  color: var(--df99-gold);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games__card-description {
  font-size: 0.95rem;
  color: var(--df99-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__btn-card {
  margin-top: auto; /* Push button to bottom */
  background: var(--df99-button-gradient);
  color: var(--df99-text-main);
  border: none;
  padding: 10px 20px;
  font-size: 0.95rem;
  width: 100%;
}

.page-slot-games__btn-card:hover {
  filter: brightness(1.1);
}

.page-slot-games__step-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-slot-games__step-item {
  background-color: var(--df99-card-bg);
  border: 1px solid var(--df99-border);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  text-align: left;
}

.page-slot-games__step-title {
  font-size: 1.3rem;
  color: var(--df99-gold);
  margin-bottom: 10px;
}

.page-slot-games__btn-step {
  margin-top: 15px;
  background: var(--df99-button-gradient);
  color: var(--df99-text-main);
  border: none;
  padding: 10px 20px;
  font-size: 0.95rem;
  max-width: 200px;
}

.page-slot-games__btn-step:hover {
  filter: brightness(1.1);
}

.page-slot-games__faq-list {
  margin-top: 40px;
}

.page-slot-games__faq-item {
  background-color: var(--df99-card-bg);
  border: 1px solid var(--df99-border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--df99-text-secondary);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--df99-text-main);
  cursor: pointer;
  background-color: var(--df99-deep-green);
  border-bottom: 1px solid var(--df99-divider);
  list-style: none;
}

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

.page-slot-games__faq-question:hover {
  background-color: var(--df99-primary);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  border-bottom: 1px solid var(--df99-border);
}

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--df99-gold);
}

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

.page-slot-games__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--df99-text-secondary);
}

.page-slot-games__faq-answer p {
  margin-bottom: 10px;
  text-align: left;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-slot-games__grid-layout {
    grid-template-columns: 1fr;
  }
  .page-slot-games__grid-layout--reverse {
    grid-template-columns: 1fr;
  }
  .page-slot-games__hero-content {
    margin-top: -100px;
  }
  .page-slot-games__process-image-wrapper,
  .page-slot-games__tips-image-wrapper {
    order: -1; /* Image first on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-slot-games__section-spacing {
    padding: 40px 0;
  }
  .page-slot-games__hero-content {
    margin-top: -80px;
  }
  .page-slot-games__main-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }
  .page-slot-games__description {
    font-size: 1rem;
  }
  .page-slot-games__section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-card,
  .page-slot-games__btn-step {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-slot-games__container {
    padding: 0 15px;
  }
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__feature-image-wrapper,
  .page-slot-games__process-image-wrapper,
  .page-slot-games__tips-image-wrapper,
  .page-slot-games__game-card,
  .page-slot-games__card,
  .page-slot-games__section,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__hero-section {
    padding-top: 10px !important;
  }
  .page-slot-games__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-slot-games__faq-answer {
    padding: 15px 20px;
  }
  .page-slot-games__step-item {
    padding: 20px;
  }
  .page-slot-games__btn-step {
    max-width: 100%;
  }
}