/* style/fishing-games.css */

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

.page-fishing-games {
  color: var(--bongbet-text-main); /* Default text color for dark background */
  background-color: var(--bongbet-background); /* Overall page background */
  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;
}

/* Hero Section */
.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 */
  text-align: center;
  overflow: hidden;
  background-color: var(--bongbet-deep-green);
}

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

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: var(--bongbet-gold-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

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

.page-fishing-games__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%;
}

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

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

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

.page-fishing-games__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-3px);
}

/* General Section Styles */
.page-fishing-games__introduction-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__strategies-section,
.page-fishing-games__featured-games-section,
.page-fishing-games__promotions-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
  padding: 80px 0;
}

.page-fishing-games__light-bg {
  background-color: var(--bongbet-text-main);
  color: #333333; /* Dark text for light background */
}

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

.page-fishing-games__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  color: var(--bongbet-gold-color);
  line-height: 1.3;
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
  color: var(--bongbet-deep-green);
}

.page-fishing-games__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
  color: var(--bongbet-gold-color);
}

.page-fishing-games__light-bg .page-fishing-games__sub-title {
  color: var(--bongbet-deep-green);
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
}

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

.page-fishing-games__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-fishing-games__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-fishing-games__image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-fishing-games__how-to-play-section ul,
.page-fishing-games__strategies-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-fishing-games__how-to-play-section li,
.page-fishing-games__strategies-section li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: var(--bongbet-text-main);
}

.page-fishing-games__light-bg .page-fishing-games__how-to-play-section li,
.page-fishing-games__light-bg .page-fishing-games__strategies-section li {
  color: #333333;
}

.page-fishing-games__how-to-play-section li::before,
.page-fishing-games__strategies-section li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--bongbet-gold-color);
  font-weight: bold;
}

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

.page-fishing-games__game-card {
  background-color: var(--bongbet-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__card-title {
  font-size: 1.5em;
  color: var(--bongbet-gold-color);
  margin: 20px 15px 10px;
  font-weight: bold;
}

.page-fishing-games__card-description {
  font-size: 0.95em;
  color: var(--bongbet-text-secondary);
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-fishing-games__btn-play-now {
  display: inline-block;
  background: var(--bongbet-button-gradient);
  color: var(--bongbet-text-main);
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 90%;
}

.page-fishing-games__btn-play-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(34, 199, 104, 0.5);
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  background-color: var(--bongbet-card-bg);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid var(--bongbet-border-color);
}

.page-fishing-games__light-bg .page-fishing-games__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--bongbet-gold-color);
  background-color: var(--bongbet-deep-green);
  border-bottom: 1px solid var(--bongbet-border-color);
}

.page-fishing-games__light-bg .page-fishing-games__faq-question {
  color: var(--bongbet-deep-green);
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom: 1px solid var(--bongbet-border-color);
}

.page-fishing-games__light-bg .page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom: 1px solid #e0e0e0;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  color: var(--bongbet-text-secondary);
}

.page-fishing-games__light-bg .page-fishing-games__faq-answer {
  color: #555555;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-fishing-games__content-grid {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__content-grid--reverse {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__content-grid--reverse .page-fishing-games__image-wrapper {
    order: -1; /* Image appears above text on smaller screens */
  }

  .page-fishing-games__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.6em, 4.5vw, 2.5em);
  }

  .page-fishing-games__sub-title {
    font-size: clamp(1.2em, 3.5vw, 1.8em);
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fishing-games__hero-section,
  .page-fishing-games__introduction-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__strategies-section,
  .page-fishing-games__featured-games-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding: 40px 0;
  }

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

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

  /* Image Containers */
  .page-fishing-games__image-wrapper,
  .page-fishing-games__game-card,
  .page-fishing-games__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Buttons */
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-play-now {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-fishing-games__game-cards-grid {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.4em, 5.5vw, 2em);
  }
  .page-fishing-games__sub-title {
    font-size: clamp(1.1em, 4.5vw, 1.5em);
  }
}