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

.page-fishing-games {
  background-color: var(--background-color);
  color: var(--text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-fishing-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-fishing-games__text-center {
  text-align: center;
}

.page-fishing-games__section-title {
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-top: 20px;
}

.page-fishing-games__section-description {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__hero-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(--deep-green);
  overflow: hidden;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 900px;
}

.page-fishing-games__main-title {
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-size: 1.1em;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  min-width: 150px;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--background-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__dark-bg {
  background-color: var(--background-color);
  color: var(--text-main);
}

.page-fishing-games__card {
  background-color: var(--card-background);
  color: var(--text-main);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-fishing-games__video-section {
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__video-container {
  width: 100%; /* Desktop width */
  max-width: 1280px; /* Max width for video */
  margin: 0 auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.page-fishing-games__video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.page-fishing-games__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-fishing-games__video-cta {
  margin-top: 40px;
}

.page-fishing-games__why-choose-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__promotions-section,
.page-fishing-games__guide-section,
.page-fishing-games__tips-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-section {
  padding: 60px 20px;
}

.page-fishing-games__features-grid,
.page-fishing-games__games-grid,
.page-fishing-games__promotions-grid,
.page-fishing-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__feature-item,
.page-fishing-games__game-card,
.page-fishing-games__promotion-item,
.page-fishing-games__step-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__feature-image,
.page-fishing-games__game-image,
.page-fishing-games__promotion-image,
.page-fishing-games__step-image,
.page-fishing-games__tips-image,
.page-fishing-games__faq-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__feature-title,
.page-fishing-games__game-title,
.page-fishing-games__promotion-title,
.page-fishing-games__step-title,
.page-fishing-games__tip-title {
  color: var(--gold-color);
  font-weight: bold;
  margin-bottom: 15px;
}

.page-fishing-games__feature-text,
.page-fishing-games__game-description,
.page-fishing-games__promotion-text,
.page-fishing-games__step-text,
.page-fishing-games__tip-text {
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__play-button,
.page-fishing-games__step-button {
  margin-top: auto; /* Push button to bottom */
}

.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-fishing-games__tip-item {
  text-align: left;
}

.page-fishing-games__tips-image {
  margin-top: 40px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-list {
  margin-top: 40px;
  display: grid;
  gap: 20px;
}

.page-fishing-games__faq-item {
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: relative;
  list-style: none;
}

.page-fishing-games__faq-question:hover {
  background-color: var(--deep-green);
}

.page-fishing-games__faq-item details > summary::-webkit-details-marker {
  display: none;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--secondary-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.page-fishing-games__faq-image {
  margin-top: 40px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }

  .page-fishing-games__main-title {
    font-size: 2.2em;
  }

  .page-fishing-games__hero-description {
    font-size: 1em;
  }

  .page-fishing-games__hero-section,
  .page-fishing-games__video-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    padding: 30px 15px;
  }

  .page-fishing-games__hero-image {
    max-height: 400px;
    margin-bottom: 20px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
  }

  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important; /* Video container has padding-bottom for aspect ratio, not horizontal padding */
    padding-right: 0 !important;
    overflow: hidden !important;
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

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

  .page-fishing-games__card,
  .page-fishing-games__section,
  .page-fishing-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__games-grid,
  .page-fishing-games__promotions-grid,
  .page-fishing-games__guide-steps,
  .page-fishing-games__tips-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__feature-image,
  .page-fishing-games__game-image,
  .page-fishing-games__promotion-image,
  .page-fishing-games__step-image {
    height: 200px;
  }

  .page-fishing-games__tips-image,
  .page-fishing-games__faq-image {
    height: auto;
  }

  .page-fishing-games__faq-question {
    padding: 15px 20px;
  }

  .page-fishing-games__faq-answer {
    padding: 0 20px 15px;
  }
}