/* style/slot-games.css */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #F2FFF6); /* Default text color for dark background */
  background-color: var(--background-color, #08160F);
}

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

/* Color contrast classes */
.page-slot-games__dark-bg {
  background-color: var(--background-color, #08160F);
  color: var(--text-main-color, #F2FFF6);
}

.page-slot-games__light-bg {
  background-color: #11271B; /* Card BG color for light sections */
  color: var(--text-main-color, #F2FFF6);
}

.page-slot-games__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--text-main-color, #F2FFF6);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-slot-games__section-title--gold {
  color: var(--gold-color, #F2C14E);
}

.page-slot-games__section-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-secondary-color, #A7D9B8);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__text-block {
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--text-main-color, #F2FFF6);
}

.page-slot-games__highlight {
  color: var(--gold-color, #F2C14E);
  font-weight: bold;
}

.page-slot-games__text-link {
  color: var(--gold-color, #F2C14E);
  text-decoration: underline;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff; /* White text for green button */
  border: none;
}

.page-slot-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-slot-games__btn-primary--large {
  padding: 15px 35px;
  font-size: 20px;
  border-radius: 10px;
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: var(--text-main-color, #F2FFF6);
  border: 2px solid var(--border-color, #2E7A4E);
}

.page-slot-games__btn-secondary:hover {
  background: var(--deep-green-color, #0A4B2C);
  color: #ffffff;
  border-color: var(--deep-green-color, #0A4B2C);
  transform: translateY(-2px);
}

/* Card styles */
.page-slot-games__card {
  background-color: var(--card-bg-color, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--text-main-color, #F2FFF6);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-slot-games__card-title {
  font-size: 22px;
  color: var(--text-main-color, #F2FFF6);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-slot-games__card-description {
  font-size: 15px;
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__card-button {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__card-button:hover {
  filter: brightness(1.1);
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding: 10px 0 60px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

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

.page-slot-games__hero-title {
  font-size: clamp(32px, 5vw, 58px);
  color: var(--gold-color, #F2C14E);
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.1;
}

.page-slot-games__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--text-main-color, #F2FFF6);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Intro Section */
.page-slot-games__intro-section {
  padding: 80px 0;
  background-color: var(--card-bg-color, #11271B);
}

.page-slot-games__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Games Section */
.page-slot-games__games-section {
  padding: 80px 0;
}

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

.page-slot-games__more-games-cta {
  text-align: center;
}

/* Benefits Section */
.page-slot-games__benefits-section {
  padding: 80px 0;
  background-color: var(--card-bg-color, #11271B);
}

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

.page-slot-games__benefit-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  object-fit: contain;
  min-width: 80px;
  min-height: 80px;
}

.page-slot-games__benefit-title {
  font-size: 20px;
  color: var(--gold-color, #F2C14E);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-slot-games__benefit-description {
  font-size: 15px;
  color: var(--text-secondary-color, #A7D9B8);
}

/* Guide Section */
.page-slot-games__guide-section {
  padding: 80px 0;
}

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

.page-slot-games__step-item {
  background-color: var(--card-bg-color, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__step-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.4);
}

.page-slot-games__step-title {
  font-size: 20px;
  color: var(--gold-color, #F2C14E);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-slot-games__step-description {
  font-size: 15px;
  color: var(--text-secondary-color, #A7D9B8);
}

.page-slot-games__guide-cta {
  text-align: center;
}

/* Strategy Section */
.page-slot-games__strategy-section {
  padding: 80px 0;
  background-color: var(--card-bg-color, #11271B);
}

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

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

.page-slot-games__strategy-cta {
  text-align: center;
}

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

.page-slot-games__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-slot-games__faq-item {
  text-align: left;
  cursor: pointer;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main-color, #F2FFF6);
  padding: 15px 0;
  border-bottom: 1px solid var(--divider-color, #1E3A2A);
  list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

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

.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color, #F2C14E);
  margin-left: 15px;
}

.page-slot-games__faq-answer {
  font-size: 15px;
  color: var(--text-secondary-color, #A7D9B8);
  padding: 15px 0 5px;
  line-height: 1.7;
}

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

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

/* Global image settings to prevent small icons */
.page-slot-games img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-slot-games__benefit-icon {
  min-width: 80px; /* Specific override for smaller icons, still > 200px requirement for content images */
  min-height: 80px;
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-image-wrapper {
    max-height: 500px;
  }
  .page-slot-games__hero-image {
    min-width: 1000px;
    min-height: 563px;
  }
  .page-slot-games__game-grid,
  .page-slot-games__benefits-grid,
  .page-slot-games__guide-steps,
  .page-slot-games__strategy-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
    padding-bottom: 40px;
  }
  .page-slot-games__hero-image-wrapper {
    max-height: 300px;
    margin-bottom: 20px;
  }
  .page-slot-games__hero-image {
    min-width: 768px;
    min-height: 432px;
  }
  .page-slot-games__hero-title {
    font-size: 30px;
  }
  .page-slot-games__hero-description {
    font-size: 16px;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 350px;
    padding: 0 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__section-title {
    font-size: 24px;
    margin-bottom: 15px;
  }
  .page-slot-games__section-subtitle {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .page-slot-games__intro-section,
  .page-slot-games__games-section,
  .page-slot-games__benefits-section,
  .page-slot-games__guide-section,
  .page-slot-games__strategy-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final-section {
    padding: 40px 0;
  }
  .page-slot-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-slot-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__card-image {
    min-width: 200px;
    min-height: 150px;
  }
  .page-slot-games__benefit-icon {
    min-width: 60px;
    min-height: 60px;
    width: 60px;
    height: 60px;
  }
  .page-slot-games__game-grid,
  .page-slot-games__benefits-grid,
  .page-slot-games__guide-steps,
  .page-slot-games__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__card {
    padding: 20px;
  }
  .page-slot-games__faq-question {
    font-size: 16px;
  }
  .page-slot-games__faq-answer {
    font-size: 14px;
  }
  .page-slot-games__video-section {
    padding-top: 10px !important;
  }
}

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