/* style/slot-games-latest.css */

/* Base styles for the page, assuming a dark body background from shared.css */
.page-slot-games-latest {
  color: var(--text-main);
  background-color: var(--background);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-slot-games-latest__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
  text-align: center;
  overflow: hidden;
}

.page-slot-games-latest__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
}

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

.page-slot-games-latest__hero-content {
  position: relative; /* Ensure content is above image but not overlapping */
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  margin-top: -100px; /* Pull content up slightly over the bottom of the image for visual flow */
  background: var(--background); /* Match body background */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.page-slot-games-latest__hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

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

.page-slot-games-latest__btn-primary,
.page-slot-games-latest__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-slot-games-latest__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main);
  border: none;
}

.page-slot-games-latest__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(42, 209, 111, 0.4);
}

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

.page-slot-games-latest__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(87, 227, 141, 0.2);
}

.page-slot-games-latest__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-slot-games-latest__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-slot-games-latest__text-block {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 25px;
  text-align: justify;
}

.page-slot-games-latest__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 40px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games-latest__feature-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games-latest__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games-latest__card-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games-latest__card-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.page-slot-games-latest__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games-latest__numbered-list {
  list-style: decimal;
  padding-left: 20px;
  margin-top: 30px;
}

.page-slot-games-latest__list-item {
  background-color: var(--card-bg);
  border-left: 5px solid var(--glow);
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-slot-games-latest__numbered-list .page-slot-games-latest__list-item {
  list-style-position: inside;
  text-indent: -20px;
  padding-left: 45px; /* Adjust for number and border */
}

.page-slot-games-latest__list-item::marker {
  color: var(--glow);
  font-weight: bold;
}

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

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

.page-slot-games-latest__list-description a {
  color: var(--glow);
  text-decoration: underline;
}

.page-slot-games-latest__button-group {
  margin-top: 40px;
  text-align: center;
}

/* FAQ Section */
.page-slot-games-latest__faq-list {
  margin-top: 40px;
}

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

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

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

.page-slot-games-latest__faq-question:hover {
  background-color: rgba(var(--glow-rgb), 0.1);
}

.page-slot-games-latest__faq-toggle {
  font-size: 1.5rem;
  color: var(--glow);
  margin-left: 15px;
}

.page-slot-games-latest__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.page-slot-games-latest__faq-answer a {
  color: var(--glow);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games-latest__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  /* Custom properties for mobile */
  :root {
    --header-offset-mobile: 60px; /* Example, adjust based on actual mobile header height */
  }

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

  .page-slot-games-latest__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-slot-games-latest__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
    width: calc(100% - 30px); /* Account for padding */
    max-width: none;
  }

  .page-slot-games-latest__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

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

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

  .page-slot-games-latest__btn-primary,
  .page-slot-games-latest__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-slot-games-latest__content-area {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-slot-games-latest__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }

  .page-slot-games-latest__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games-latest__feature-card,
  .page-slot-games-latest__list-item,
  .page-slot-games-latest__faq-item {
    padding: 20px;
  }

  .page-slot-games-latest__card-title,
  .page-slot-games-latest__list-title {
    font-size: 1.2rem;
  }

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

  .page-slot-games-latest__faq-answer {
    padding: 0 20px 15px;
  }

  /* Image and video responsiveness */
  .page-slot-games-latest img,
  .page-slot-games-latest video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games-latest__hero-image-wrapper,
  .page-slot-games-latest__content-image,
  .page-slot-games-latest__card-image,
  .page-slot-games-latest__video-section,
  .page-slot-games-latest__video-container,
  .page-slot-games-latest__video-wrapper,
  .page-slot-games-latest__section,
  .page-slot-games-latest__card,
  .page-slot-games-latest__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific for video section if it were present */
  .page-slot-games-latest__video-section {
    padding-top: 10px !important;
  }

  .page-slot-games-latest__numbered-list .page-slot-games-latest__list-item {
    padding-left: 35px; /* Adjust for smaller screens */
  }
}

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

/* Ensure color contrast */
.page-slot-games-latest p,
.page-slot-games-latest li,
.page-slot-games-latest__card-description,
.page-slot-games-latest__list-description,
.page-slot-games-latest__faq-answer {
  color: var(--text-secondary);
}

.page-slot-games-latest h1,
.page-slot-games-latest h2,
.page-slot-games-latest h3,
.page-slot-games-latest__card-title,
.page-slot-games-latest__list-title,
.page-slot-games-latest__faq-question {
  color: var(--text-main);
}

/* Links within text blocks */
.page-slot-games-latest__text-block a,
.page-slot-games-latest__list-description a,
.page-slot-games-latest__faq-answer a {
  color: var(--glow);
  text-decoration: underline;
}

.page-slot-games-latest__text-block a:hover,
.page-slot-games-latest__list-description a:hover,
.page-slot-games-latest__faq-answer a:hover {
  color: var(--gold);
}