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

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

.page-index-game-features {
  font-family: Arial, sans-serif;
  color: var(--okvip-text-main); /* Default text color for the page */
  background-color: var(--okvip-background);
}

/* Sections */
.page-index-game-features__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--okvip-text-main);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-index-game-features__section-description {
  font-size: 1.1rem;
  color: var(--okvip-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

.page-index-game-features__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-index-game-features__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px; /* Small top padding, body handles header offset */
  background-color: var(--okvip-background);
}

.page-index-game-features__hero-image-wrapper {
  width: 100%;
  max-height: 70vh; /* Limit height for hero image */
  overflow: hidden;
}

.page-index-game-features__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-index-game-features__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Overlap image slightly for visual effect, but text not on image */
  background-color: var(--okvip-card-bg);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1;
  border: 1px solid var(--okvip-border);
}

.page-index-game-features__hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--okvip-text-main);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-index-game-features__hero-description {
  font-size: 1.2rem;
  color: var(--okvip-text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

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

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

.page-index-game-features__btn-primary {
  background: var(--okvip-button-gradient);
  color: var(--okvip-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-index-game-features__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-index-game-features__btn-secondary {
  background-color: transparent;
  color: var(--okvip-primary);
  border: 2px solid var(--okvip-primary);
}

.page-index-game-features__btn-secondary:hover {
  background-color: var(--okvip-primary);
  color: var(--okvip-text-main);
  transform: translateY(-2px);
}

.page-index-game-features__btn-tertiary {
  background-color: var(--okvip-primary);
  color: var(--okvip-text-main);
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 5px;
}

.page-index-game-features__btn-tertiary:hover {
  background-color: var(--okvip-secondary);
  transform: translateY(-1px);
}

/* About Section */
.page-index-game-features__about-section {
  padding: 80px 0;
  background-color: var(--okvip-background);
}

.page-index-game-features__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-index-game-features__text-block p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--okvip-text-secondary);
}

/* Game Features Section */
.page-index-game-features__game-features-section {
  padding: 80px 0;
  background-color: var(--okvip-card-bg);
}

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

.page-index-game-features__game-card {
  background-color: var(--okvip-background);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--okvip-border);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-game-features__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-index-game-features__game-card-title {
  font-size: 1.6rem;
  color: var(--okvip-text-main);
  padding: 20px 25px 10px;
  font-weight: bold;
}

.page-index-game-features__game-card-title a {
  color: inherit;
  text-decoration: none;
}

.page-index-game-features__game-card-title a:hover {
  color: var(--okvip-primary);
}

.page-index-game-features__game-card-description {
  font-size: 1rem;
  color: var(--okvip-text-secondary);
  padding: 0 25px 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.page-index-game-features__game-card .page-index-game-features__btn-tertiary {
  margin: 0 25px 25px;
  align-self: flex-start;
}

/* Benefits Section */
.page-index-game-features__benefits-section {
  padding: 80px 0;
  background-color: var(--okvip-deep-green); /* Use deep green for dark section */
}

.page-index-game-features__dark-section .page-index-game-features__section-title,
.page-index-game-features__dark-section .page-index-game-features__section-description {
  color: var(--okvip-text-main);
}

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

.page-index-game-features__benefit-card {
  background-color: var(--okvip-card-bg);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--okvip-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-game-features__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index-game-features__benefit-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-index-game-features__benefit-title {
  font-size: 1.5rem;
  color: var(--okvip-text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-game-features__benefit-description {
  font-size: 1rem;
  color: var(--okvip-text-secondary);
  line-height: 1.6;
}

/* Registration Section */
.page-index-game-features__registration-section {
  padding: 80px 0;
  background-color: var(--okvip-background);
}

.page-index-game-features__steps-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto 50px;
}

.page-index-game-features__step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.page-index-game-features__step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--okvip-button-gradient);
  color: var(--okvip-text-main);
  font-size: 1.4rem;
  font-weight: bold;
  flex-shrink: 0;
}

.page-index-game-features__step-title {
  font-size: 1.4rem;
  color: var(--okvip-text-main);
  margin-bottom: 10px;
}

.page-index-game-features__step-content p {
  font-size: 1rem;
  color: var(--okvip-text-secondary);
  line-height: 1.6;
}

/* FAQ Section */
.page-index-game-features__faq-section {
  padding: 80px 0;
  background-color: var(--okvip-card-bg);
}

.page-index-game-features__faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-index-game-features__faq-item {
  background-color: var(--okvip-background);
  border-radius: 10px;
  border: 1px solid var(--okvip-border);
  overflow: hidden;
}

.page-index-game-features__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--okvip-text-main);
  transition: background-color 0.3s ease;
}

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

.page-index-game-features__faq-item summary:hover {
  background-color: rgba(var(--okvip-primary), 0.1);
}

.page-index-game-features__faq-qtext {
  flex-grow: 1;
}

.page-index-game-features__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--okvip-primary);
}

.page-index-game-features__faq-item[open] .page-index-game-features__faq-toggle {
  content: '−';
}

.page-index-game-features__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1rem;
  color: var(--okvip-text-secondary);
  line-height: 1.6;
  border-top: 1px solid var(--okvip-border);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-index-game-features__hero-image {
    height: 500px;
  }
  .page-index-game-features__hero-content {
    margin-top: -60px;
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .page-index-game-features__hero-image {
    height: 400px;
  }
  .page-index-game-features__hero-content {
    margin-top: -40px;
    padding: 25px 15px;
    border-radius: 10px;
  }
  .page-index-game-features__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-index-game-features__hero-description {
    font-size: 1rem;
  }
  .page-index-game-features__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-game-features__btn-primary,
  .page-index-game-features__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }
  
  .page-index-game-features__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }
  .page-index-game-features__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-index-game-features__about-section,
  .page-index-game-features__game-features-section,
  .page-index-game-features__benefits-section,
  .page-index-game-features__registration-section,
  .page-index-game-features__faq-section {
    padding: 40px 0;
  }

  /* Mobile image responsiveness */
  .page-index-game-features img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile button responsiveness */
  .page-index-game-features__cta-button,
  .page-index-game-features__btn-primary,
  .page-index-game-features__btn-secondary,
  .page-index-game-features a[class*="button"],
  .page-index-game-features a[class*="btn"] {
    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-index-game-features__cta-buttons,
  .page-index-game-features__button-group,
  .page-index-game-features__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-index-game-features__container {
    padding: 0 15px;
  }

  .page-index-game-features__game-card-image {
    height: 200px;
  }

  .page-index-game-features__game-card-title {
    font-size: 1.4rem;
  }

  .page-index-game-features__benefit-icon {
    width: 60px;
    height: 60px;
  }

  .page-index-game-features__benefit-title {
    font-size: 1.3rem;
  }

  .page-index-game-features__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-index-game-features__step-number {
    margin-bottom: 15px;
  }

  .page-index-game-features__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-index-game-features__faq-toggle {
    font-size: 1.5rem;
  }

  .page-index-game-features__faq-answer {
    padding: 10px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-index-game-features__hero-image {
    height: 300px;
  }
  .page-index-game-features__hero-content {
    padding: 20px 10px;
  }
  .page-index-game-features__hero-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }
  .page-index-game-features__hero-description {
    font-size: 0.9rem;
  }
}