/* style/game-guides.css */

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

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

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

.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0;
  background-color: var(--page-game-guides-deep-green);
  overflow: hidden;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

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

.page-game-guides__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  color: var(--page-game-guides-gold);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.page-game-guides__hero-description {
  font-size: 1.1em;
  color: var(--page-game-guides-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: var(--page-game-guides-gold);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-game-guides__section-description {
  font-size: 1.05em;
  color: var(--page-game-guides-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__intro-section,
.page-game-guides__strategy-overview,
.page-game-guides__bonus-section,
.page-game-guides__faq-section {
  padding: 60px 0;
  background-color: var(--page-game-guides-bg);
}

.page-game-guides__game-type-section,
.page-game-guides__safety-section,
.page-game-guides__cta-section {
  padding: 60px 0;
  background-color: var(--page-game-guides-deep-green);
}

.page-game-guides__text-block p {
  font-size: 1em;
  color: var(--page-game-guides-text-main);
  margin-bottom: 1em;
  line-height: 1.7;
}

.page-game-guides__text-block strong {
  color: var(--page-game-guides-gold);
}

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-game-guides__btn-primary {
  background: var(--page-game-guides-btn-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-game-guides__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-game-guides__btn-secondary {
  background: transparent;
  color: var(--page-game-guides-gold);
  border: 2px solid var(--page-game-guides-gold);
  box-shadow: 0 2px 10px rgba(242, 193, 78, 0.2);
}

.page-game-guides__btn-secondary:hover {
  background: var(--page-game-guides-gold);
  color: var(--page-game-guides-deep-green);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

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

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

.page-game-guides__card {
  background-color: var(--page-game-guides-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border: 1px solid var(--page-game-guides-border);
  color: var(--page-game-guides-text-main);
}

.page-game-guides__card:hover {
  transform: translateY(-5px);
}

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

.page-game-guides__card-title {
  font-size: 1.4em;
  color: var(--page-game-guides-gold);
  padding: 20px 25px 10px;
  font-weight: 600;
}

.page-game-guides__card-text {
  font-size: 0.95em;
  color: var(--page-game-guides-text-secondary);
  padding: 0 25px 25px;
}

.page-game-guides__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px 20px;
  background-color: var(--page-game-guides-deep-green);
}

.page-game-guides__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-game-guides__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-top: 20px;
  cursor: pointer;
}

.page-game-guides__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.page-game-guides__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
}

.page-game-guides__video-wrapper:hover .page-game-guides__video-overlay {
  opacity: 1;
}

.page-game-guides__video-cta {
  background: var(--page-game-guides-btn-gradient);
  color: #ffffff;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.page-game-guides__video-cta:hover {
  transform: scale(1.05);
}

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

.page-game-guides__game-card {
  background-color: var(--page-game-guides-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border: 1px solid var(--page-game-guides-border);
  color: var(--page-game-guides-text-main);
  display: flex;
  flex-direction: column;
}

.page-game-guides__game-card:hover {
  transform: translateY(-5px);
}

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

.page-game-guides__game-card-content {
  padding: 20px 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-game-guides__game-card-title {
  font-size: 1.3em;
  color: var(--page-game-guides-gold);
  font-weight: 600;
  margin-bottom: 10px;
}

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

.page-game-guides__game-card-title a:hover {
  text-decoration: underline;
}

.page-game-guides__game-card-text {
  font-size: 0.9em;
  color: var(--page-game-guides-text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.page-game-guides__game-card .page-game-guides__btn-secondary {
  align-self: flex-start;
}

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

.page-game-guides__bonus-item {
  background-color: var(--page-game-guides-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-game-guides-border);
}

.page-game-guides__bonus-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-game-guides__bonus-item h3 {
  font-size: 1.3em;
  color: var(--page-game-guides-gold);
  margin-bottom: 15px;
}

.page-game-guides__bonus-item p {
  font-size: 0.95em;
  color: var(--page-game-guides-text-secondary);
  margin-bottom: 25px;
}

.page-game-guides__bonus-tip {
  font-style: italic;
  color: var(--page-game-guides-text-secondary);
  text-align: center;
  margin-top: 40px;
  font-size: 0.9em;
}

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

.page-game-guides__safety-item {
  background-color: var(--page-game-guides-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-game-guides-border);
}

.page-game-guides__safety-item img {
  width: 100%;
  
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.page-game-guides__safety-item h3 {
  font-size: 1.25em;
  color: var(--page-game-guides-gold);
  margin-bottom: 15px;
}

.page-game-guides__safety-item p {
  font-size: 0.9em;
  color: var(--page-game-guides-text-secondary);
}

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

.page-game-guides__faq-item {
  background-color: var(--page-game-guides-card-bg);
  border: 1px solid var(--page-game-guides-divider);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--page-game-guides-text-main);
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--page-game-guides-gold);
  cursor: pointer;
  background-color: var(--page-game-guides-deep-green);
  border-bottom: 1px solid var(--page-game-guides-divider);
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-game-guides__faq-question:hover {
  background-color: var(--page-game-guides-card-bg);
}

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

.page-game-guides__faq-answer {
  padding: 20px 25px;
  font-size: 0.95em;
  color: var(--page-game-guides-text-secondary);
  line-height: 1.7;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-question {
  border-bottom: 1px solid var(--page-game-guides-divider);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-guides__hero-image-wrapper {
    max-height: 450px;
  }
  .page-game-guides__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-game-guides__section-title {
    font-size: clamp(1.6em, 4vw, 2.2em);
  }
  .page-game-guides__game-card-row {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-game-guides__hero-image-wrapper {
    max-height: 300px;
    margin-bottom: 20px;
  }
  .page-game-guides__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-game-guides__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-game-guides__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 25px;
  }
  .page-game-guides__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-game-guides__intro-section,
  .page-game-guides__strategy-overview,
  .page-game-guides__bonus-section,
  .page-game-guides__faq-section,
  .page-game-guides__game-type-section,
  .page-game-guides__safety-section,
  .page-game-guides__cta-section {
    padding: 40px 0;
  }

  .page-game-guides__container {
    padding: 0 15px;
  }

  /* Images responsiveness */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-guides__hero-image,
  .page-game-guides__card-image,
  .page-game-guides__game-card-image,
  .page-game-guides__bonus-image,
  .page-game-guides__safety-image {
    width: 100% !important;
    height: auto !important;
  }

  /* Video responsiveness */
  .page-game-guides video,
  .page-game-guides__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-guides__video-section,
  .page-game-guides__video-container,
  .page-game-guides__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-game-guides__video-section {
    padding-top: 10px !important;
  }

  /* Buttons responsiveness */
  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary,
  .page-game-guides a[class*="button"],
  .page-game-guides 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: 12px 20px;
  }
  .page-game-guides__game-card .page-game-guides__btn-secondary {
    width: auto !important; /* Allow game card buttons to size based on content */
    max-width: 100% !important;
  }

  .page-game-guides__grid,
  .page-game-guides__game-card-row,
  .page-game-guides__bonus-grid,
  .page-game-guides__safety-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-game-guides__card-image,
  .page-game-guides__game-card-image,
  .page-game-guides__bonus-item img,
  .page-game-guides__safety-item img {
    height: auto;
    max-height: 250px; /* Adjust for smaller screens */
  }
  .page-game-guides__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-game-guides__faq-answer {
    padding: 15px 20px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-game-guides__main-title {
    font-size: clamp(1.6em, 8vw, 2.2em);
  }
  .page-game-guides__section-title {
    font-size: clamp(1.4em, 7vw, 1.8em);
  }
  .page-game-guides__hero-description {
    font-size: 0.9em;
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    font-size: 1em;
    padding: 10px 15px;
  }
}