/* style/slot-games.css */

/* Base styles for the page */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background-color);
}

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

.page-slot-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-slot-games__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  color: var(--text-main);
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-slot-games__text-block {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  background-color: var(--background-color);
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 30px auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
}

.page-slot-games__hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.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 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  min-width: 180px;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: #2AD16F; /* A lighter green from the gradient for contrast */
  border: 2px solid #2AD16F;
}

.page-slot-games__btn-secondary:hover {
  background-color: rgba(42, 209, 111, 0.1);
  color: #F2FFF6;
  border-color: #F2FFF6;
  transform: translateY(-2px);
}

/* Image Content */
.page-slot-games__image-content {
  width: 100%;
  height: auto;
  display: block;
  max-width: 800px;
  margin: 40px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* Feature Grid (Why Choose kp88) */
.page-slot-games__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  text-align: left;
  color: var(--text-main);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

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

.page-slot-games__card-text {
  font-size: 1rem;
  color: var(--text-secondary);
}

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

.page-slot-games__game-card {
  text-align: center;
  padding: 20px;
}

.page-slot-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__game-title {
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__game-title a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games__game-title a:hover {
  color: var(--gold);
}

.page-slot-games__game-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  height: 60px; /* Fixed height for consistent card size */
  overflow: hidden;
}

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

.page-slot-games__tip-item {
  text-align: left;
}

/* FAQ Section */
.page-slot-games__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-slot-games__faq-item {
  background-color: var(--card-bg);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-slot-games__faq-item details > summary {
  list-style: none;
}

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background-color: rgba(17, 168, 78, 0.1);
  border-bottom: 1px solid var(--divider);
}

.page-slot-games__faq-question:hover {
  background-color: rgba(17, 168, 78, 0.2);
}

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

.page-slot-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold);
}

.page-slot-games__faq-answer {
  padding: 15px 25px;
  font-size: 1rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--divider);
}

.page-slot-games__faq-answer p {
  margin: 0;
}

/* Final CTA Section */
.page-slot-games__cta-final-section {
  padding: 80px 0;
}

.page-slot-games__dark-bg {
  background-color: var(--deep-green);
  color: #F2FFF6; /* Ensure light text on dark background */
}

.page-slot-games__cta-final-section .page-slot-games__section-title,
.page-slot-games__cta-final-section .page-slot-games__text-block {
  color: #F2FFF6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-image-wrapper {
    max-width: 900px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 0 15px;
  }

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

  .page-slot-games__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .page-slot-games__hero-description {
    font-size: 1rem;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games__image-content,
  .page-slot-games__game-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-slot-games__hero-section {
    padding-top: 10px !important; /* body already has padding-top */
  }

  .page-slot-games__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-slot-games__faq-toggle {
    font-size: 1.5rem;
  }

  .page-slot-games__faq-answer {
    font-size: 0.95rem;
    padding: 10px 20px;
  }

  .page-slot-games p,
  .page-slot-games li {
    font-size: 16px;
    line-height: 1.6;
  }
}

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