/* style/index-game-features.css */

/* Base styles for the page content wrapper */
.page-index-game-features {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

/* General container for content sections */
.page-index-game-features__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Section spacing */
.page-index-game-features section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Darker sections for contrast */
.page-index-game-features__dark-section {
  background-color: #11271B; /* Card BG */
}

/* Headings */
.page-index-game-features__section-title {
  font-size: 2.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #F2FFF6; /* Text Main */
  position: relative;
  padding-bottom: 15px;
}

.page-index-game-features__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  border-radius: 2px;
}

.page-index-game-features__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-index-game-features__card-title a {
  color: #F2C14E; /* Gold */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-game-features__card-title a:hover {
  color: #57E38D; /* Glow */
}

.page-index-game-features__section-description,
.page-index-game-features__text-block,
.page-index-game-features__card-text {
  font-size: 1.1em;
  line-height: 1.7;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  text-align: center;
}

.page-index-game-features__text-block {
  text-align: left;
}

/* Buttons */
.page-index-game-features__btn-primary,
.page-index-game-features__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-index-game-features__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-index-game-features__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-index-game-features__btn-secondary {
  background-color: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #2E7A4E; /* Border */
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.page-index-game-features__btn-secondary:hover {
  background-color: rgba(87, 227, 141, 0.1);
  color: #F2FFF6; /* Text Main */
  border-color: #57E38D; /* Glow */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Hero Section */
.page-index-game-features__hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Align content to top */
  align-items: center;
  text-align: center;
  color: #F2FFF6; /* Text Main */
  padding-top: 10px; /* Small top padding, body handles header offset */
  box-sizing: border-box;
}

.page-index-game-features__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-index-game-features__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 10%; /* Adjust margin to push content down from top */
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-index-game-features__hero-title {
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-index-game-features__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-index-game-features__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Intro Section */
.page-index-game-features__intro-section .page-index-game-features__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Game Showcase Section */
.page-index-game-features__game-showcase-section {
  background-color: #08160F; /* Background */
}

.page-index-game-features__game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-game-features__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

.page-index-game-features__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

.page-index-game-features__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-index-game-features__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

/* Promotions Section */
.page-index-game-features__promotions-section .page-index-game-features__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-index-game-features__promotions-section .page-index-game-features__btn-primary {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Security Section */
.page-index-game-features__security-content,
.page-index-game-features__support-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-index-game-features__security-image,
.page-index-game-features__support-image {
  flex: 1;
  max-width: 50%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.page-index-game-features__security-text,
.page-index-game-features__support-text {
  flex: 1;
  max-width: 50%;
}

.page-index-game-features__security-text .page-index-game-features__text-block,
.page-index-game-features__support-text .page-index-game-features__text-block {
  text-align: left;
  margin-bottom: 25px;
}

.page-index-game-features__security-text .page-index-game-features__btn-secondary,
.page-index-game-features__support-text .page-index-game-features__btn-secondary {
  margin-right: 15px;
  margin-bottom: 15px;
}

/* Experience Section */
.page-index-game-features__experience-section .page-index-game-features__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-index-game-features__experience-section .page-index-game-features__btn-primary {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Support Section */
.page-index-game-features__support-content {
  flex-direction: row-reverse; /* Image on right */
}

/* Responsible Gambling Section */
.page-index-game-features__responsible-gambling-section .page-index-game-features__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-index-game-features__responsible-gambling-section .page-index-game-features__btn-primary {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-index-game-features__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-game-features__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-index-game-features__faq-item[open] {
  background-color: #0A4B2C; /* Deep Green */
  border-color: #57E38D; /* Glow */
}

.page-index-game-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  list-style: none; /* Hide default marker */
  position: relative;
}

.page-index-game-features__faq-question::-webkit-details-marker {
  display: none;
}

.page-index-game-features__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #57E38D; /* Glow */
  transition: transform 0.3s ease;
}

.page-index-game-features__faq-item[open] .page-index-game-features__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}

.page-index-game-features__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.1em;
  line-height: 1.7;
  color: #A7D9B8; /* Text Secondary */
}

/* CTA Bottom Section */
.page-index-game-features__cta-bottom-section .page-index-game-features__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-index-game-features__cta-bottom-section .page-index-game-features__cta-buttons {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Global image settings */
.page-index-game-features img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: none; /* Ensure no filter changes image color */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-game-features__section-title {
    font-size: 2.2em;
  }
  .page-index-game-features__hero-title {
    font-size: 2.5em;
  }
  .page-index-game-features__game-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-index-game-features__security-content,
  .page-index-game-features__support-content {
    flex-direction: column;
    text-align: center;
  }
  .page-index-game-features__security-image,
  .page-index-game-features__support-image {
    max-width: 80%;
  }
  .page-index-game-features__security-text,
  .page-index-game-features__support-text {
    max-width: 100%;
  }
  .page-index-game-features__security-text .page-index-game-features__text-block,
  .page-index-game-features__support-text .page-index-game-features__text-block {
    text-align: center;
  }
  .page-index-game-features__security-text .page-index-game-features__btn-secondary,
  .page-index-game-features__support-text .page-index-game-features__btn-secondary {
    margin-right: 0;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .page-index-game-features section {
    padding: 60px 0;
  }
  .page-index-game-features__hero-section {
    height: auto;
    min-height: 400px;
    padding-top: 10px !important;
  }
  .page-index-game-features__hero-content {
    margin-top: 20%;
    padding: 15px;
  }
  .page-index-game-features__hero-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-index-game-features__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-index-game-features__hero-cta-buttons,
  .page-index-game-features__cta-bottom-section .page-index-game-features__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-game-features__btn-primary,
  .page-index-game-features__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-index-game-features__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-index-game-features__section-title::after {
    width: 60px;
    height: 3px;
  }
  .page-index-game-features__card-title {
    font-size: 1.3em;
  }
  .page-index-game-features__card-text {
    font-size: 0.95em;
  }
  .page-index-game-features__security-image,
  .page-index-game-features__support-image {
    max-width: 100%;
  }
  .page-index-game-features__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-index-game-features__faq-answer {
    font-size: 1em;
    padding: 0 20px 15px;
  }

  /* Mobile specific image, video, and container rules */
  .page-index-game-features img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-index-game-features__section,
  .page-index-game-features__card,
  .page-index-game-features__container,
  .page-index-game-features__hero-section,
  .page-index-game-features__intro-section,
  .page-index-game-features__game-showcase-section,
  .page-index-game-features__promotions-section,
  .page-index-game-features__security-section,
  .page-index-game-features__experience-section,
  .page-index-game-features__support-section,
  .page-index-game-features__responsible-gambling-section,
  .page-index-game-features__faq-section,
  .page-index-game-features__cta-bottom-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  .page-index-game-features__hero-cta-buttons,
  .page-index-game-features__cta-bottom-section .page-index-game-features__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
}