/* style/slot-games.css */

/* Root variables for colors */
:root {
  --page-slot-games-primary-color: #FF8C1A;
  --page-slot-games-secondary-color: #FFA53A;
  --page-slot-games-card-bg: #17191F;
  --page-slot-games-background: #0D0E12;
  --page-slot-games-text-main: #FFF3E6;
  --page-slot-games-border: #A84F0C;
  --page-slot-games-glow: #FFB04D;
  --page-slot-games-deep-orange: #D96800;
}

.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); /* Dark background */
}

/* General Section Styling */
.page-slot-games__hero-section,
.page-slot-games__content-area,
.page-slot-games__features-section,
.page-slot-games__popular-games,
.page-slot-games__strategy-section,
.page-slot-games__promotions-section,
.page-slot-games__get-started-section,
.page-slot-games__faq-section,
.page-slot-games__responsible-gaming-section,
.page-slot-games__cta-final-section {
  padding: 60px 20px;
  text-align: center;
}

.page-slot-games__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-slot-games__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-slot-games__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 900px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  color: var(--page-slot-games-text-main);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--page-slot-games-text-main);
  margin-bottom: 20px;
}

.page-slot-games__description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.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;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  width: auto;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, var(--page-slot-games-secondary-color) 0%, var(--page-slot-games-deep-orange) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, var(--page-slot-games-deep-orange) 0%, var(--page-slot-games-secondary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 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: var(--page-slot-games-primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-slot-games__btn-center {
  margin: 30px auto 0 auto;
  display: table; /* To center block-level buttons */
}

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

.page-slot-games__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--page-slot-games-text-main);
  margin-bottom: 40px;
  font-weight: 600;
}

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

.page-slot-games__light-bg {
  background-color: #1a1c22; /* Slightly lighter dark for contrast */
  color: var(--page-slot-games-text-main);
}

.page-slot-games__content-area,
.page-slot-games__strategy-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-slot-games__text-block {
  text-align: left;
  font-size: 1.1rem;
  max-width: 800px;
}

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

.page-slot-games__image-content,
.page-slot-games__image-strategy {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-slot-games__feature-grid,
.page-slot-games__game-list,
.page-slot-games__promotion-cards,
.page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-slot-games__card {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-slot-games-text-main);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-slot-games__card-title {
  font-size: 1.4rem;
  color: var(--page-slot-games-secondary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  object-fit: cover;
}

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

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #1f2128;
  border-bottom: 1px solid var(--page-slot-games-border);
  color: var(--page-slot-games-text-main);
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-slot-games__faq-answer {
  padding: 20px;
  font-size: 1rem;
  line-height: 1.5;
  color: #ccc;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-slot-games__hero-content {
    text-align: center;
  }
  .page-slot-games__content-area,
  .page-slot-games__strategy-content {
    flex-direction: row;
    text-align: left;
  }
  .page-slot-games__strategy-content .page-slot-games__image-strategy {
    order: 1;
  }
  .page-slot-games__strategy-content .page-slot-games__text-block {
    order: 2;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    min-height: 500px;
    padding: 40px 15px;
  }

  .page-slot-games__hero-content {
    padding: 15px;
    position: static;
    transform: none;
    text-align: center;
    background: rgba(13, 14, 18, 0.7); /* Ensure text readability on mobile */
    margin-top: -100px; /* Pull content up over image slightly */
    position: relative;
  }

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

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

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    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__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

  .page-slot-games__content-area,
  .page-slot-games__strategy-content {
    flex-direction: column;
    padding: 30px 15px;
  }

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

  .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,
  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-slot-games__video-section {
    padding-top: 10px !important;
  }

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

  .page-slot-games__faq-answer {
    padding: 15px;
  }

  .page-slot-games__game-image {
    height: 200px; /* Fixed height for consistency on mobile cards */
    object-fit: cover;
  }
}