/* style/slot-games.css */

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

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

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

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
}

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

.page-slot-games__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  color: var(--bk8-text-main);
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-slot-games__main-title {
  color: var(--bk8-gold);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-slot-games__description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--bk8-text-secondary);
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: var(--bk8-button-gradient);
  color: #ffffff; /* White text for contrast */
  border: 2px solid transparent;
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-secondary {
  background: var(--bk8-bg);
  color: var(--bk8-green-accent);
  border: 2px solid var(--bk8-green-accent);
}

.page-slot-games__btn-secondary:hover {
  background: var(--bk8-green-accent);
  color: var(--bk8-bg);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-slot-games__section {
  padding: 60px 20px;
  position: relative;
}

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

.page-slot-games__section-title {
  font-size: 2.5rem;
  color: var(--bk8-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

.page-slot-games__text-block {
  font-size: 1.1rem;
  color: var(--bk8-text-secondary);
  margin-bottom: 30px;
}

.page-slot-games__text-block p {
  margin-bottom: 20px;
}

.page-slot-games__text-block .page-slot-games__link {
  color: var(--bk8-green-accent);
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__text-block .page-slot-games__link:hover {
  text-decoration: underline;
}

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

.page-slot-games__dark-section .page-slot-games__section-title {
  color: var(--bk8-gold);
}

.page-slot-games__dark-section .page-slot-games__text-block {
  color: var(--bk8-text-secondary);
}

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

.page-slot-games__card {
  background-color: var(--bk8-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--bk8-text-main);
  border: 1px solid var(--bk8-border);
}

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

.page-slot-games__card-title {
  font-size: 1.5rem;
  color: var(--bk8-green-accent);
  margin-bottom: 10px;
  font-weight: bold;
}

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

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

.page-slot-games__image-inline {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__provider-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__provider-logo {
  width: 180px; /* Ensure minimum size > 200px for content images */
  height: 90px;
  object-fit: contain;
  filter: grayscale(80%) brightness(1.5);
  transition: filter 0.3s ease;
  display: block;
}

.page-slot-games__provider-logo:hover {
  filter: grayscale(0%) brightness(1);
}

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

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--bk8-text-main);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-slot-games__faq-question:hover {
  background-color: rgba(var(--bk8-green-main), 0.1);
}

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

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

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

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

/* Details open state for FAQ toggle */
.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: '−';
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-slot-games__description {
    font-size: 1.1rem;
  }

  .page-slot-games__section-title {
    font-size: 2rem;
  }

  .page-slot-games__grid-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-content {
    position: static;
    transform: none;
    padding: 30px 20px;
    background: none;
    margin-top: -100px; /* Adjust if image is too tall */
  }
  
  .page-slot-games__hero-image-wrapper {
    max-height: 400px;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    color: var(--bk8-gold);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  }

  .page-slot-games__description {
    font-size: 1rem;
    color: var(--bk8-text-secondary);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  }

  .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__section {
    padding: 40px 15px;
  }

  .page-slot-games__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-slot-games__text-block {
    font-size: 0.95rem;
  }

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

  .page-slot-games__card-image {
    height: 180px;
  }

  .page-slot-games__provider-logos {
    gap: 20px;
  }

  .page-slot-games__provider-logo {
    width: 150px;
    height: 75px;
  }

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

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

  /* 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-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Override specific elements for mobile padding where needed */
  .page-slot-games__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-slot-games__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-slot-games__provider-logos {
    padding-left: 0;
    padding-right: 0;
  }

}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .page-slot-games__description {
    font-size: 0.9rem;
  }

  .page-slot-games__section-title {
    font-size: 1.5rem;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    padding: 10px 15px;
    font-size: 0.95rem;
  }

  .page-slot-games__faq-question {
    font-size: 1rem;
  }
}