/* style/fishing-games.css */

:root {
  --primary-color: #FFD700; /* Gold accent */
  --secondary-color: #1A202C; /* Dark blue/black */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0a0a0a;
  --card-bg-dark: rgba(255, 255, 255, 0.08);
  --border-color-dark: rgba(255, 255, 255, 0.15);
}

/* Base styles for the page content, considering fixed header */
.page-fishing-games {
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: var(--bg-dark);
  padding-top: 120px; /* Adjust for fixed header on desktop */
  min-height: 100vh;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-fishing-games__section-intro {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

/* Hero Section */
.page-fishing-games__hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:hero:hi88vip,fishing_game_hero,background]') no-repeat center center/cover;
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-fishing-games__main-title {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 900;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
  font-size: 20px;
  color: var(--text-light);
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__cta-button--primary {
  background: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

.page-fishing-games__cta-button--primary:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-button--secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-fishing-games__cta-button--secondary:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

.page-fishing-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-fishing-games__feature-item {
  background: var(--card-bg-dark);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid var(--border-color-dark);
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.12);
}

.page-fishing-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px var(--primary-color)); /* Glow effect for icons */
}

.page-fishing-games__feature-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__feature-description {
  font-size: 16px;
  color: #e0e0e0;
}

/* Game Showcase Section */
.page-fishing-games__game-showcase-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

.page-fishing-games__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-fishing-games__game-card {
  background: var(--card-bg-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color-dark);
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  height: calc(100% - 200px); /* Adjust height based on image height */
}

.page-fishing-games__game-card-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__game-card-description {
  font-size: 15px;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__game-card-button {
  display: inline-block;
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__game-card-button:hover {
  background: #e6c200;
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

.page-fishing-games__steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-fishing-games__step-item {
  background: var(--card-bg-dark);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__step-description {
  font-size: 16px;
  color: #e0e0e0;
  flex-grow: 1;
}

.page-fishing-games__step-button {
  display: inline-block;
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__step-button:hover {
  background: #e6c200;
}

.page-fishing-games__guide-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 50px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--primary-color);
}

/* Strategies Section */
.page-fishing-games__strategies-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0 0 50px 0;
}

.page-fishing-games__strategy-item {
  background: var(--card-bg-dark);
  padding: 25px 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color-dark);
  transition: background-color 0.3s ease;
}

.page-fishing-games__strategy-item:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-fishing-games__strategy-heading {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__strategy-description {
  font-size: 16px;
  color: #e0e0e0;
}

.page-fishing-games__strategy-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--primary-color);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

.page-fishing-games__promo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-fishing-games__promo-card {
  background: var(--card-bg-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color-dark);
  display: flex;
  flex-direction: column;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__promo-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__promo-card-title {
  font-size: 22px;
  color: var(--primary-color);
  padding: 20px 20px 10px 20px;
  margin: 0;
  font-weight: bold;
}

.page-fishing-games__promo-card-description {
  font-size: 15px;
  color: #cccccc;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-fishing-games__promo-card-button {
  display: block;
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__promo-card-button:hover {
  background: #e6c200;
}

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

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color-dark);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--card-bg-dark);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  position: relative;
  border-radius: 10px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.page-fishing-games__faq-question:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  color: #fff;
  transform: rotate(45deg); /* Change to X or rotate for active state */
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #151a24; /* Slightly darker than card-bg-dark */
  color: #e0e0e0;
  border-radius: 0 0 10px 10px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  font-size: 16px;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
  text-align: center;
}

.page-fishing-games__conclusion-section .page-fishing-games__section-title {
  margin-bottom: 20px;
}

.page-fishing-games__conclusion-section .page-fishing-games__section-intro {
  margin-bottom: 50px;
}

/* CTA Center for conclusion */
.page-fishing-games__cta-center {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 42px;
  }
  .page-fishing-games__section-title {
    font-size: 32px;
  }
  .page-fishing-games__hero-description,
  .page-fishing-games__section-intro {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    padding-top: 100px !important; /* Adjust for fixed header on mobile */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__hero-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__game-showcase-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategies-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding: 60px 0;
  }

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

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

  .page-fishing-games__hero-description,
  .page-fishing-games__section-intro,
  .page-fishing-games__feature-description,
  .page-fishing-games__game-card-description,
  .page-fishing-games__step-description,
  .page-fishing-games__strategy-description,
  .page-fishing-games__promo-card-description,
  .page-fishing-games__faq-answer p {
    font-size: 15px;
  }

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

  .page-fishing-games__cta-button {
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__game-cards-grid,
  .page-fishing-games__steps-list,
  .page-fishing-games__promo-cards-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-fishing-games__feature-icon,
  .page-fishing-games__guide-image,
  .page-fishing-games__strategy-image,
  .page-fishing-games__game-card-image,
  .page-fishing-games__promo-card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    display: block !important;
  }

  .page-fishing-games__feature-item,
  .page-fishing-games__game-card,
  .page-fishing-games__step-item,
  .page-fishing-games__strategy-item,
  .page-fishing-games__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 20px;
  }

  .page-fishing-games__game-card-button,
  .page-fishing-games__step-button,
  .page-fishing-games__promo-card-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 15px !important;
    font-size: 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__faq-question {
    padding: 15px 20px;
    flex-wrap: wrap;
  }
  
  .page-fishing-games__faq-question h3 {
    font-size: 16px;
    width: calc(100% - 40px);
  }
  
  .page-fishing-games__faq-toggle {
    margin-left: 10px;
    width: 26px;
    height: 26px;
    font-size: 24px;
  }
  
  .page-fishing-games__faq-answer {
    padding: 0 20px;
  }
  
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px 20px !important;
  }

  .page-fishing-games__cta-center .page-fishing-games__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 30px;
  }
  .page-fishing-games__section-title {
    font-size: 24px;
  }
  .page-fishing-games__hero-section {
    min-height: 400px;
    padding: 40px 0;
  }
  .page-fishing-games__cta-buttons {
    gap: 10px;
  }
  .page-fishing-games__feature-title,
  .page-fishing-games__game-card-title,
  .page-fishing-games__step-title,
  .page-fishing-games__strategy-heading,
  .page-fishing-games__promo-card-title {
    font-size: 20px;
  }
  .page-fishing-games__faq-question h3 {
    font-size: 15px;
  }
  .page-fishing-games__faq-toggle {
    font-size: 22px;
    width: 24px;
    height: 24px;
  }
}