/* style/slot-games.css */

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

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

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

.page-slot-games__section-title {
  font-size: clamp(28px, 4vw, 42px); /* Responsive H2 font size */
  color: var(--page-slot-games-text-main);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-slot-games__section-intro {
  font-size: 1.1em;
  color: var(--page-slot-games-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__text-main {
  color: var(--page-slot-games-text-main);
}

.page-slot-games__text-secondary {
  color: var(--page-slot-games-text-secondary);
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  text-align: center;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-button-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-slot-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

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

.page-slot-games__btn-secondary:hover {
  background: rgba(17, 168, 78, 0.1);
  color: var(--page-slot-games-secondary-color);
  border-color: var(--page-slot-games-secondary-color);
  transform: translateY(-2px);
}

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

.page-slot-games__btn-text-link {
  color: var(--page-slot-games-primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-slot-games__btn-text-link:hover {
  color: var(--page-slot-games-secondary-color);
  text-decoration: underline;
}

/* Card styles */
.page-slot-games__card {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-slot-games-border);
  color: var(--page-slot-games-text-main);
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  box-sizing: border-box;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 40px;
}

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

.page-slot-games__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games__main-title {
  font-size: clamp(36px, 5vw, 58px); /* H1 font size with clamp */
  color: var(--page-slot-games-gold);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-slot-games__hero-description {
  font-size: 1.25em;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 40px;
  line-height: 1.5;
}

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

/* About Section */
.page-slot-games__about-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-deep-green);
}

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

.page-slot-games__feature-card {
  text-align: center;
  padding: 40px 25px;
}

.page-slot-games__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block; /* Ensure it respects width/height */
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__feature-title {
  font-size: 1.6em;
  color: var(--page-slot-games-gold);
  margin-bottom: 15px;
}

.page-slot-games__feature-description {
  color: var(--page-slot-games-text-secondary);
  font-size: 1em;
}

/* Game Types Section */
.page-slot-games__game-types-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-background);
}

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

.page-slot-games__game-type-card {
  text-align: center;
  overflow: hidden;
}

.page-slot-games__game-type-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.page-slot-games__game-type-card:hover .page-slot-games__game-type-image {
  transform: scale(1.05);
}

.page-slot-games__game-type-title {
  font-size: 1.8em;
  color: var(--page-slot-games-gold);
  margin-bottom: 10px;
}

.page-slot-games__game-type-description {
  color: var(--page-slot-games-text-secondary);
  font-size: 1em;
}

/* Guide Section */
.page-slot-games__guide-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__guide-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.page-slot-games__guide-item {
  background-color: var(--page-slot-games-card-bg);
  padding: 30px;
  border-radius: 12px;
  border-left: 5px solid var(--page-slot-games-primary-color);
  position: relative;
}

.page-slot-games__guide-item::before {
  content: attr(data-step);
  position: absolute;
  left: -20px;
  top: 20px;
  background-color: var(--page-slot-games-primary-color);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-slot-games__guide-item:nth-child(1)::before { content: '1'; }
.page-slot-games__guide-item:nth-child(2)::before { content: '2'; }
.page-slot-games__guide-item:nth-child(3)::before { content: '3'; }
.page-slot-games__guide-item:nth-child(4)::before { content: '4'; }

.page-slot-games__guide-step-title {
  font-size: 1.8em;
  color: var(--page-slot-games-gold);
  margin-bottom: 15px;
  padding-left: 30px;
}

.page-slot-games__guide-description {
  color: var(--page-slot-games-text-secondary);
  font-size: 1.1em;
  margin-bottom: 20px;
  padding-left: 30px;
}

/* Strategy Section */
.page-slot-games__strategy-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-background);
}

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

.page-slot-games__strategy-item {
  padding: 30px;
  text-align: center;
}

.page-slot-games__strategy-title {
  font-size: 1.6em;
  color: var(--page-slot-games-gold);
  margin-bottom: 15px;
}

.page-slot-games__strategy-description {
  color: var(--page-slot-games-text-secondary);
  font-size: 1em;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-deep-green);
}

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

.page-slot-games__promo-card {
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-slot-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.page-slot-games__promo-card:hover .page-slot-games__promo-image {
  transform: scale(1.05);
}

.page-slot-games__promo-title {
  font-size: 1.5em;
  color: var(--page-slot-games-gold);
  margin-bottom: 10px;
  flex-grow: 1;
}

.page-slot-games__promo-title a {
  color: inherit;
  text-decoration: none;
}

.page-slot-games__promo-title a:hover {
  text-decoration: underline;
}

.page-slot-games__promo-description {
  color: var(--page-slot-games-text-secondary);
  font-size: 0.95em;
  margin-bottom: 20px;
}

.page-slot-games__view-all-promos {
  text-align: center;
}

/* Safety Section */
.page-slot-games__safety-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-background);
}

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

.page-slot-games__safety-item {
  text-align: center;
  background-color: var(--page-slot-games-card-bg);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--page-slot-games-border);
}

.page-slot-games__safety-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__safety-title {
  font-size: 1.6em;
  color: var(--page-slot-games-gold);
  margin-bottom: 15px;
}

.page-slot-games__safety-description {
  color: var(--page-slot-games-text-secondary);
  font-size: 1em;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-deep-green);
}

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

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 12px;
  border: 1px solid var(--page-slot-games-border);
  overflow: hidden;
}

.page-slot-games__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: var(--page-slot-games-text-main);
  transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-item summary:hover {
  background-color: rgba(var(--page-slot-games-primary-color), 0.1);
}

.page-slot-games__faq-qtext {
  flex-grow: 1;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  color: var(--page-slot-games-gold);
  margin-left: 20px;
}

.page-slot-games__faq-answer {
  padding: 0 30px 20px;
  color: var(--page-slot-games-text-secondary);
  font-size: 1.05em;
  line-height: 1.6;
}

/* CTA Bottom Section */
.page-slot-games__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--page-slot-games-background);
}

/* --- Responsive Styles --- */

/* Tablet and smaller desktops */
@media (max-width: 1024px) {
  .page-slot-games__hero-image-wrapper {
    max-width: 900px;
  }

  .page-slot-games__main-title {
    font-size: clamp(32px, 4.5vw, 50px);
  }

  .page-slot-games__hero-description {
    font-size: 1.15em;
  }

  .page-slot-games__section-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }

  .page-slot-games__feature-card,
  .page-slot-games__game-type-card,
  .page-slot-games__promo-card,
  .page-slot-games__safety-item {
    padding: 25px;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games__container {
    padding: 0 15px;
  }

  .page-slot-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset */
  }

  .page-slot-games__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 15px;
  }

  .page-slot-games__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-slot-games__hero-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: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games__about-section,
  .page-slot-games__game-types-section,
  .page-slot-games__guide-section,
  .page-slot-games__strategy-section,
  .page-slot-games__promotions-section,
  .page-slot-games__safety-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-bottom-section {
    padding: 50px 0;
  }

  .page-slot-games__section-title {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 15px;
  }

  .page-slot-games__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-slot-games__features-grid,
  .page-slot-games__game-types-grid,
  .page-slot-games__promotions-grid,
  .page-slot-games__safety-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-slot-games__feature-card,
  .page-slot-games__game-type-card,
  .page-slot-games__promo-card,
  .page-slot-games__safety-item {
    padding: 20px;
  }

  .page-slot-games__game-type-image {
    height: 200px;
  }

  .page-slot-games__guide-item {
    padding: 25px;
  }

  .page-slot-games__guide-step-title {
    font-size: 1.4em;
  }

  .page-slot-games__guide-description {
    font-size: 1em;
  }

  .page-slot-games__faq-item summary {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-slot-games__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }

  /* Mobile image responsiveness */
  .page-slot-games img {
    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,
  .page-slot-games__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

/* Ensure images in content areas are at least 200px wide on desktop */
.page-slot-games__feature-icon, 
.page-slot-games__game-type-image, 
.page-slot-games__promo-image, 
.page-slot-games__safety-icon {
  min-width: 200px; /* Enforce minimum size on desktop */
  min-height: 200px; /* Enforce minimum size on desktop */
}

/* Override specific smaller icons to be at least 200px wide */
.page-slot-games__safety-icon {
  width: 200px; /* Example, if original was 100px */
  height: 200px; /* Example, if original was 100px */
}