/* style/fishing-games.css */

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

.page-fishing-games {
  color: var(--text-main); /* Default text color for dark body background */
  background-color: var(--main-bg);
}

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

.page-fishing-games__section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.page-fishing-games__section-description {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: var(--main-bg);
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 40px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-fishing-games__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  position: relative; /* Ensure content is above image in normal flow */
  z-index: 2;
}

.page-fishing-games__main-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--glow-color);
  border: 2px solid var(--glow-color);
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--glow-color);
  color: var(--main-bg);
  transform: translateY(-3px);
}

/* General Section Styling */
.page-fishing-games__dark-section {
  background-color: var(--deep-green-color);
  padding: 60px 0;
}

.page-fishing-games__dark-bg {
  background-color: var(--main-bg);
  padding: 60px 0;
}

.page-fishing-games__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-fishing-games__text-block {
  flex: 1;
}

.page-fishing-games__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__image-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.page-fishing-games p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-fishing-games p strong {
  color: var(--glow-color);
}

/* Game Types Section */
.page-fishing-games__game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__game-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-fishing-games__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-fishing-games__card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-fishing-games__card-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 25px;
  padding: 0 20px;
  flex-grow: 1;
}

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 16px;
  margin: 0 auto;
}

/* Guide Section */
.page-fishing-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-fishing-games__step-item {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
}

.page-fishing-games__step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--glow-color);
  margin-bottom: 15px;
}

.page-fishing-games__step-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 25px;
}

.page-fishing-games__guide-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  margin-top: 40px;
}

/* Promotions Section */
.page-fishing-games__promotion-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-fishing-games__promotion-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  border-left: 5px solid var(--glow-color);
}

.page-fishing-games__promotion-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-fishing-games__promotion-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.page-fishing-games__promotions-section .page-fishing-games__btn-primary {
  margin: 40px auto 0 auto;
  display: block;
  max-width: 250px;
}

.page-fishing-games__promo-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  margin-top: 40px;
}

/* Features Section */
.page-fishing-games__feature-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.page-fishing-games__feature-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  border: 1px solid var(--divider-color);
}

.page-fishing-games__feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-fishing-games__feature-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-fishing-games__faq-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.page-fishing-games__faq-item summary {
  list-style: none;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-main);
  font-weight: 600;
  font-size: 18px;
  position: relative;
}

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

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--glow-color);
  margin-left: 15px;
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  opacity: 0.9;
}

/* CTA Section */
.page-fishing-games__cta-section .page-fishing-games__content-wrapper {
  flex-direction: row;
  align-items: center;
}

.page-fishing-games__cta-section .page-fishing-games__text-block {
  text-align: left;
}

.page-fishing-games__cta-section .page-fishing-games__section-title {
  text-align: left;
  font-size: clamp(28px, 4vw, 42px);
}

.page-fishing-games__cta-section .page-fishing-games__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-fishing-games__cta-section .page-fishing-games__cta-buttons {
  justify-content: flex-start;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-fishing-games__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-fishing-games__image-block {
    order: -1; /* Image appears above text on smaller screens */
    margin-bottom: 30px;
  }

  .page-fishing-games__cta-section .page-fishing-games__content-wrapper {
    flex-direction: column;
  }

  .page-fishing-games__cta-section .page-fishing-games__text-block,
  .page-fishing-games__cta-section .page-fishing-games__section-title,
  .page-fishing-games__cta-section .page-fishing-games__section-description {
    text-align: center;
  }

  .page-fishing-games__cta-section .page-fishing-games__cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section,
  .page-fishing-games__dark-section,
  .page-fishing-games__dark-bg {
    padding: 40px 0;
  }

  .page-fishing-games__section-title {
    font-size: 28px;
  }

  .page-fishing-games__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__hero-image,
  .page-fishing-games__image-responsive,
  .page-fishing-games__card-image,
  .page-fishing-games__guide-image,
  .page-fishing-games__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__container,
  .page-fishing-games__game-cards,
  .page-fishing-games__guide-steps,
  .page-fishing-games__promotion-list,
  .page-fishing-games__feature-list,
  .page-fishing-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-fishing-games__hero-content {
    padding: 0 15px;
  }

  .page-fishing-games__main-title {
    font-size: 32px;
  }

  .page-fishing-games__hero-description {
    font-size: 17px;
  }

  .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-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__card-image {
    height: 200px; /* Adjust card image height for mobile */
  }

  .page-fishing-games p,
  .page-fishing-games__card-text,
  .page-fishing-games__step-text,
  .page-fishing-games__promotion-text,
  .page-fishing-games__feature-text,
  .page-fishing-games__faq-answer {
    font-size: 16px;
  }

  .page-fishing-games__faq-item summary {
    font-size: 17px;
  }

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

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

  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 28px;
  }

  .page-fishing-games__hero-description {
    font-size: 16px;
  }

  .page-fishing-games__game-card,
  .page-fishing-games__step-item,
  .page-fishing-games__promotion-item,
  .page-fishing-games__feature-item {
    padding: 20px;
  }

  .page-fishing-games__card-title,
  .page-fishing-games__step-title,
  .page-fishing-games__promotion-title,
  .page-fishing-games__feature-title {
    font-size: 18px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 12px 20px;
    font-size: 16px;
  }
}