/* style/fishing-games.css */

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

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

/* Typography */
.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--j8bet-text-main);
  margin-bottom: 20px;
  text-align: center;
}

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--j8bet-text-main);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--j8bet-primary);
  border-radius: 2px;
}

.page-fishing-games__list-title {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--j8bet-gold);
  margin-bottom: 10px;
}

.page-fishing-games__description,
.page-fishing-games p,
.page-fishing-games li {
  font-size: 1.1rem;
  color: var(--j8bet-text-secondary);
  margin-bottom: 15px;
}

.page-fishing-games a {
  color: var(--j8bet-primary);
  text-decoration: none;
}

.page-fishing-games a:hover {
  text-decoration: underline;
}

/* Sections */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* body已承担 --header-offset */
  background-color: var(--j8bet-deep-green);
  overflow: hidden;
}

.page-fishing-games__hero-content {
  max-width: 900px;
  text-align: center;
  z-index: 1;
  margin-bottom: 40px;
}

.page-fishing-games__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

.page-fishing-games__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* body已承担 --header-offset，此处禁止 var(--header-offset) */
  background-color: var(--j8bet-bg);
}

.page-fishing-games__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-top: 30px;
}

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

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.page-fishing-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.page-fishing-games__text-block {
  flex: 1 1 45%;
  min-width: 300px;
  background-color: var(--j8bet-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--j8bet-border);
}

.page-fishing-games__image-block {
  flex: 1 1 45%;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-fishing-games__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-fishing-games__list,
.page-fishing-games__numbered-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-fishing-games__list-item {
  background-color: var(--j8bet-deep-green);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  border-left: 5px solid var(--j8bet-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__numbered-list .page-fishing-games__list-item {
  counter-increment: list-counter;
  position: relative;
  padding-left: 45px;
}

.page-fishing-games__numbered-list .page-fishing-games__list-item::before {
  content: counter(list-counter);
  position: absolute;
  left: 15px;
  top: 15px;
  width: 25px;
  height: 25px;
  background-color: var(--j8bet-gold);
  color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9em;
}

.page-fishing-games__faq-list {
  margin-top: 30px;
}

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

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

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

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question {
  background-color: var(--j8bet-primary);
  color: #ffffff;
  border-bottom: 1px solid var(--j8bet-primary);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  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 20px;
  color: var(--j8bet-text-secondary);
  font-size: 1.1rem;
}

/* Hide default details marker */
.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-fishing-games__faq-item summary {
  list-style: none;
}

.page-fishing-games__cta-section {
  background-color: var(--j8bet-deep-green);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-fishing-games__cta-section .page-fishing-games__section-title,
.page-fishing-games__cta-section .page-fishing-games__description {
  color: var(--j8bet-text-main);
  z-index: 1;
  position: relative;
}

.page-fishing-games__cta-section .page-fishing-games__cta-buttons {
  margin-top: 30px;
  z-index: 1;
  position: relative;
}

.page-fishing-games__cta-section img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}

/* Buttons */
.page-fishing-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background: var(--j8bet-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 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);
  opacity: 0.9;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-bottom: 30px;
  }
  .page-fishing-games__content-area {
    gap: 30px;
  }
  .page-fishing-games__text-block,
  .page-fishing-games__image-block {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }
  .page-fishing-games__description,
  .page-fishing-games p,
  .page-fishing-games li,
  .page-fishing-games__faq-answer {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fishing-games__hero-section,
  .page-fishing-games__video-section,
  .page-fishing-games__content-area,
  .page-fishing-games__cta-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* body已承担 --header-offset */
  }

  .page-fishing-games__hero-image,
  .page-fishing-games__image-block img,
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__image-block,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__video-container,
  .page-fishing-games__hero-section,
  .page-fishing-games__video-section,
  .page-fishing-games__content-area,
  .page-fishing-games__cta-section,
  .page-fishing-games__text-block,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; */ /* Removed to avoid double padding if container already has it */
    /* padding-right: 15px; */ /* Removed to avoid double padding if container already has it */
    overflow: hidden !important;
  }

  /* Add padding to the sections themselves to ensure content isn't flush */
  .page-fishing-games__hero-section .page-fishing-games__hero-content,
  .page-fishing-games__video-section .page-fishing-games__section-header,
  .page-fishing-games__content-area .page-fishing-games__text-block,
  .page-fishing-games__content-area .page-fishing-games__image-block,
  .page-fishing-games__cta-section .page-fishing-games__section-title,
  .page-fishing-games__cta-section .page-fishing-games__description,
  .page-fishing-games__cta-section .page-fishing-games__cta-buttons,
  .page-fishing-games__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  .page-fishing-games__video-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    /* padding-left: 15px; */ /* Handled by parent section padding */
    /* padding-right: 15px; */ /* Handled by parent section padding */
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
  }

  .page-fishing-games__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 10px 20px 15px;
  }
  .page-fishing-games__list-item {
    padding: 10px 15px;
  }
  .page-fishing-games__numbered-list .page-fishing-games__list-item {
    padding-left: 40px;
  }
  .page-fishing-games__numbered-list .page-fishing-games__list-item::before {
    left: 10px;
    top: 10px;
  }
}