/* style/game-guides.css */

/* Root variables for colors */
:root {
  --okbet-primary-color: #F2C14E;
  --okbet-secondary-color: #FFD36B;
  --okbet-card-bg: #111111;
  --okbet-background: #0A0A0A;
  --okbet-text-main: #FFF6D6;
  --okbet-border: #3A2A12;
  --okbet-glow: #FFD36B;
  --okbet-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

/* Base styles for the game guides page */
.page-game-guides {
  font-family: Arial, sans-serif;
  color: var(--okbet-text-main); /* Default text color for the page */
  background-color: var(--okbet-background);
  line-height: 1.6;
  padding-bottom: 40px; /* Ensure space above footer */
}

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

.page-game-guides__section-header {
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

.page-game-guides__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--okbet-primary-color);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-game-guides__section-description {
  font-size: 1.1rem;
  color: var(--okbet-text-main);
  max-width: 800px;
  margin: 0 auto;
}

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-game-guides__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-game-guides__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: var(--okbet-text-main);
}

.page-game-guides__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: var(--okbet-secondary-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
}

.page-game-guides__lead-text {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-game-guides__btn-primary,
.page-game-guides__btn-secondary,
.page-game-guides__btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  font-size: 1rem;
  box-sizing: border-box;
}

.page-game-guides__btn-primary {
  background: var(--okbet-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-game-guides__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

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

.page-game-guides__btn-secondary:hover {
  background-color: var(--okbet-primary-color);
  color: #0A0A0A;
}

.page-game-guides__btn-text {
  background: none;
  border: none;
  color: var(--okbet-primary-color);
  padding: 5px 10px;
  text-decoration: underline;
  font-size: 0.95rem;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-guides__btn-text:hover {
  color: var(--okbet-secondary-color);
}

/* Video Section */
.page-game-guides__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--okbet-background);
}

.page-game-guides__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-game-guides__video-link {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  position: relative;
  cursor: pointer;
}

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

/* Content Sections */
.page-game-guides__content-section {
  padding: 60px 0;
  background-color: var(--okbet-background);
}

.page-game-guides__dark-section {
  background-color: var(--okbet-card-bg);
}

.page-game-guides__text-block {
  font-size: 1rem;
  color: var(--okbet-text-main);
  margin-bottom: 20px;
  text-align: left;
}

/* Feature Grid */
.page-game-guides__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-game-guides__feature-card {
  background-color: var(--okbet-card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--okbet-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-game-guides__feature-icon {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-game-guides__feature-title {
  font-size: 1.5rem;
  color: var(--okbet-primary-color);
  margin-bottom: 15px;
}

.page-game-guides__feature-text {
  font-size: 0.95rem;
  color: var(--okbet-text-main);
}

/* Guide Steps */
.page-game-guides__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-game-guides__step-card {
  background-color: var(--okbet-card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--okbet-border);
}

.page-game-guides__step-title {
  font-size: 1.3rem;
  color: var(--okbet-secondary-color);
  margin-bottom: 15px;
}

.page-game-guides__step-text {
  font-size: 0.95rem;
  color: var(--okbet-text-main);
  margin-bottom: 20px;
}

/* Game Strategy Grid */
.page-game-guides__game-strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-game-guides__strategy-card {
  background-color: var(--okbet-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--okbet-border);
  display: flex;
  flex-direction: column;
}

.page-game-guides__strategy-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-game-guides__strategy-card h3 {
  padding: 20px;
  font-size: 1.4rem;
  color: var(--okbet-primary-color);
  margin-bottom: 0;
}

.page-game-guides__strategy-list {
  list-style: none;
  padding: 0 20px 10px;
  margin: 0;
  flex-grow: 1;
}

.page-game-guides__strategy-list li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--okbet-text-main);
}

.page-game-guides__strategy-list a {
  color: var(--okbet-text-main);
  text-decoration: none;
}

.page-game-guides__strategy-list a:hover {
  color: var(--okbet-secondary-color);
  text-decoration: underline;
}

.page-game-guides__strategy-card .page-game-guides__btn-primary {
  margin: 20px;
  width: calc(100% - 40px);
}

/* Tips Grid */
.page-game-guides__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-game-guides__tip-card {
  background-color: var(--okbet-card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--okbet-border);
}

.page-game-guides__tip-title {
  font-size: 1.3rem;
  color: var(--okbet-secondary-color);
  margin-bottom: 15px;
}

.page-game-guides__tip-text {
  font-size: 0.95rem;
  color: var(--okbet-text-main);
  margin-bottom: 20px;
}

/* FAQ Section */
.page-game-guides__faq-section {
  padding: 60px 0;
  background-color: var(--okbet-card-bg);
}

.page-game-guides__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-game-guides__faq-item {
  background-color: var(--okbet-background);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid var(--okbet-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: var(--okbet-background);
  color: var(--okbet-primary-color);
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.page-game-guides__faq-question:hover {
  background-color: #1a1a1a;
}

.page-game-guides__faq-title {
  margin: 0;
  color: var(--okbet-primary-color);
  font-size: 1.1rem;
}

.page-game-guides__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--okbet-secondary-color);
  transition: transform 0.3s ease;
}

.page-game-guides__faq-item.active .page-game-guides__faq-toggle {
  transform: rotate(45deg);
}

.page-game-guides__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: var(--okbet-text-main);
  font-size: 0.95rem;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 20px;
}

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

/* CTA Banner */
.page-game-guides__cta-banner {
  padding: 80px 0;
  text-align: center;
  background-color: var(--okbet-background);
  position: relative;
  overflow: hidden;
}

.page-game-guides__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
  z-index: 0;
}

.page-game-guides__cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  color: var(--okbet-text-main);
}

.page-game-guides__cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--okbet-secondary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-game-guides__cta-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

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

/* Conclusion Section */
.page-game-guides__conclusion-section {
  padding: 60px 0;
  background-color: var(--okbet-background);
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides__hero-content {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-game-guides__main-title {
    font-size: 2.2rem;
  }

  .page-game-guides__lead-text {
    font-size: 1rem;
  }

  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-game-guides__cta-buttons-bottom {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-game-guides__video-section,
  .page-game-guides__content-section,
  .page-game-guides__faq-section,
  .page-game-guides__cta-banner,
  .page-game-guides__conclusion-section {
    padding: 30px 0;
  }

  .page-game-guides__wrapper {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-game-guides__section-title {
    font-size: 1.8rem;
  }

  .page-game-guides__section-description {
    font-size: 0.95rem;
  }

  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-game-guides__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-game-guides__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-game-guides__feature-card,
  .page-game-guides__step-card,
  .page-game-guides__strategy-card,
  .page-game-guides__tip-card {
    padding: 20px;
  }

  .page-game-guides__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

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

  .page-game-guides__faq-item.active .page-game-guides__faq-answer {
    padding: 15px !important;
  }

  .page-game-guides__cta-title {
    font-size: 2rem;
  }

  .page-game-guides__cta-description {
    font-size: 1rem;
  }
}