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

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

.page-index-game-guides {
  color: var(--kclub-text-main);
  background-color: var(--kclub-background);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-index-game-guides__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  color: var(--kclub-text-main);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-index-game-guides__section-description {
  font-size: 1.1rem;
  color: var(--kclub-text-secondary);
  text-align: center;
  margin-bottom: 40px;
}

.page-index-game-guides__text-block {
  color: var(--kclub-text-secondary);
  font-size: 1rem;
  margin-bottom: 15px;
}

/* Hero Section */
.page-index-game-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  text-align: center;
  background-color: var(--kclub-background);
}

.page-index-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  z-index: 0;
  margin-bottom: 30px;
}

.page-index-game-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6);
  min-width: 200px;
  min-height: 200px;
}

.page-index-game-guides__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index-game-guides__hero-title {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  color: var(--kclub-text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-index-game-guides__hero-description {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: var(--kclub-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-index-game-guides__btn-primary,
.page-index-game-guides__btn-secondary,
.page-index-game-guides__card-button,
.page-index-game-guides__inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-index-game-guides__btn-primary {
  background: var(--kclub-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-index-game-guides__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px var(--kclub-glow);
}

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

.page-index-game-guides__btn-secondary:hover {
  background: rgba(var(--kclub-primary), 0.1);
  color: var(--kclub-glow);
  border-color: var(--kclub-glow);
}

/* Intro Section */
.page-index-game-guides__intro-section {
  padding: 80px 0;
  background-color: var(--kclub-background);
}

/* Game Types Section */
.page-index-game-guides__game-types-section {
  padding: 80px 0;
  background-color: var(--kclub-card-bg);
}

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

.page-index-game-guides__game-card {
  background-color: var(--kclub-background);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--kclub-border);
}

.page-index-game-guides__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-index-game-guides__card-text {
  color: var(--kclub-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-game-guides__card-button {
  background: var(--kclub-button-gradient);
  color: #ffffff;
  margin-top: auto;
  border: none;
  width: fit-content;
  align-self: center;
}

.page-index-game-guides__card-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 10px var(--kclub-glow);
}

/* Strategies Section */
.page-index-game-guides__strategies-section {
  padding: 80px 0;
  background-color: var(--kclub-background);
}

.page-index-game-guides__strategy-item {
  background-color: var(--kclub-card-bg);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 25px;
  border: 1px solid var(--kclub-border);
}

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

.page-index-game-guides__inline-link {
  color: var(--kclub-glow);
  text-decoration: underline;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
}

.page-index-game-guides__inline-link:hover {
  color: var(--kclub-primary);
}

/* Get Started Section */
.page-index-game-guides__get-started-section {
  padding: 80px 0;
  background-color: var(--kclub-card-bg);
  text-align: center;
}

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

.page-index-game-guides__step-card {
  background-color: var(--kclub-background);
  border-radius: 12px;
  padding: 30px;
  border: 1px solid var(--kclub-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

/* FAQ Section */
.page-index-game-guides__faq-section {
  padding: 80px 0;
  background-color: var(--kclub-background);
}

.page-index-game-guides__faq-list {
  margin-top: 40px;
}

.page-index-game-guides__faq-item {
  background-color: var(--kclub-card-bg);
  border-radius: 12px;
  margin-bottom: 15px;
  border: 1px solid var(--kclub-border);
  overflow: hidden;
}

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

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

.page-index-game-guides__faq-item summary:hover {
  background-color: var(--kclub-deep-green);
}

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

.page-index-game-guides__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--kclub-glow);
}

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

.page-index-game-guides__faq-answer {
  padding: 0 25px 20px;
  color: var(--kclub-text-secondary);
  font-size: 1rem;
}

.page-index-game-guides__faq-answer p {
  margin-bottom: 10px;
}

/* CTA Section */
.page-index-game-guides__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--kclub-background);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-game-guides__hero-title {
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  }
  .page-index-game-guides__section-title {
    font-size: clamp(1.6rem, 2.2vw, 2.4rem);
  }
}

@media (max-width: 768px) {
  .page-index-game-guides__hero-section {
    padding-top: 10px !important; /* body handles header offset */
    padding-bottom: 40px;
  }
  .page-index-game-guides__hero-image-wrapper {
    max-height: 400px;
    margin-bottom: 20px;
  }
  .page-index-game-guides__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  .page-index-game-guides__hero-description {
    font-size: clamp(1rem, 4vw, 1.1rem);
  }
  .page-index-game-guides__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-game-guides__btn-primary,
  .page-index-game-guides__btn-secondary,
  .page-index-game-guides__card-button,
  .page-index-game-guides__inline-link {
    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-guides__cta-buttons,
  .page-index-game-guides__hero-buttons {
    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-guides__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .page-index-game-guides__game-grid,
  .page-index-game-guides__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index-game-guides__intro-section,
  .page-index-game-guides__game-types-section,
  .page-index-game-guides__strategies-section,
  .page-index-game-guides__get-started-section,
  .page-index-game-guides__faq-section,
  .page-index-game-guides__cta-section {
    padding: 40px 0;
  }
  .page-index-game-guides__container {
    padding: 0 15px;
  }
  .page-index-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px;
    min-height: 200px;
  }
  .page-index-game-guides__game-card,
  .page-index-game-guides__step-card {
    padding: 20px;
  }
  .page-index-game-guides__card-image {
    height: 180px;
  }
  .page-index-game-guides__strategy-title {
    font-size: 1.4rem;
  }
  .page-index-game-guides__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-index-game-guides__faq-answer {
    padding: 0 20px 15px;
  }
  .page-index-game-guides__text-block, .page-index-game-guides p, .page-index-game-guides li {
    font-size: 16px;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .page-index-game-guides__hero-title {
    font-size: clamp(1.8rem, 8vw, 2.2rem);
  }
  .page-index-game-guides__hero-description {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
  }
  .page-index-game-guides__btn-primary,
  .page-index-game-guides__btn-secondary {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  .page-index-game-guides__section-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }
  .page-index-game-guides__card-title {
    font-size: 1.3rem;
  }
  .page-index-game-guides__step-title {
    font-size: 1.3rem;
  }
  .page-index-game-guides__faq-item summary {
    font-size: 0.95rem;
  }
  .page-index-game-guides__faq-toggle {
    font-size: 1.2rem;
  }
}