/* style/fishing-games.css */

/* Custom Colors */
:root {
  --ao88-primary-green: #11A84E;
  --ao88-secondary-green: #22C768;
  --ao88-button-gradient-start: #2AD16F;
  --ao88-button-gradient-end: #13994A;
  --ao88-card-bg: #11271B;
  --ao88-background: #08160F;
  --ao88-text-main: #F2FFF6;
  --ao88-text-secondary: #A7D9B8;
  --ao88-border: #2E7A4E;
  --ao88-glow: #57E38D;
  --ao88-gold: #F2C14E;
  --ao88-divider: #1E3A2A;
  --ao88-deep-green: #0A4B2C;
}

.page-fishing-games {
  background-color: var(--ao88-background);
  color: var(--ao88-text-main);
  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__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;
  text-align: center;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
  margin-top: 80px;
}

.page-fishing-games__main-title {
  color: var(--ao88-gold);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  /* No fixed font-size for H1, relying on responsive scaling and line-height */
}

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

.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;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, var(--ao88-button-gradient-start) 0%, var(--ao88-button-gradient-end) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  background: var(--ao88-card-bg);
  color: var(--ao88-gold);
  border: 2px solid var(--ao88-gold);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary:hover {
  background: var(--ao88-gold);
  color: var(--ao88-card-bg);
  transform: translateY(-2px);
}

.page-fishing-games__section-title {
  color: var(--ao88-gold);
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.page-fishing-games__introduction-section,
.page-fishing-games__highlights-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__strategy-section,
.page-fishing-games__promotions-section,
.page-fishing-games__video-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

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

.page-fishing-games__text-block {
  color: var(--ao88-text-secondary);
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
}

.page-fishing-games__image-content-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-fishing-games__image-content-block .page-fishing-games__content-image {
  flex: 1;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  max-width: 100%;
  height: auto;
  display: block;
}

.page-fishing-games__image-content-block .page-fishing-games__text-block {
  flex: 1;
  text-align: left;
}

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

.page-fishing-games__card {
  background-color: var(--ao88-card-bg);
  border: 1px solid var(--ao88-border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--ao88-text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__card-title,
.page-fishing-games__game-title,
.page-fishing-games__promo-title {
  color: var(--ao88-gold);
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__card-description,
.page-fishing-games__game-description,
.page-fishing-games__promo-description {
  color: var(--ao88-text-secondary);
  font-size: 1em;
  flex-grow: 1;
}

.page-fishing-games__game-button {
  margin-top: 20px;
  width: 80%;
}

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

.page-fishing-games__step-card {
  padding: 30px;
}

.page-fishing-games__step-icon {
  background: var(--ao88-gold);
  color: var(--ao88-card-bg);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__step-title {
  color: var(--ao88-gold);
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-fishing-games__step-description {
  color: var(--ao88-text-secondary);
  font-size: 0.95em;
  margin-bottom: 20px;
}

.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-fishing-games__strategy-list li {
  background-color: var(--ao88-card-bg);
  border: 1px solid var(--ao88-border);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--ao88-text-secondary);
  text-align: left;
}

.page-fishing-games__strategy-item-title {
  color: var(--ao88-gold);
  font-size: 1.2em;
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-fishing-games__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-fishing-games__video-section .page-fishing-games__container {
  width: 100%;
  max-width: 1200px; /* Desktop width for video container */
}

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

.page-fishing-games__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  display: block;
}

.page-fishing-games__video-caption {
  color: var(--ao88-text-secondary);
  text-align: center;
  margin-top: 20px;
  font-size: 0.95em;
}

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--ao88-border);
  border-radius: 8px;
  background-color: var(--ao88-card-bg);
  color: var(--ao88-text-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--ao88-gold);
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  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: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--ao88-text-secondary);
  line-height: 1.5;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  color: var(--ao88-text-secondary);
}

.page-fishing-games__faq-answer a {
  color: var(--ao88-secondary-green);
  text-decoration: underline;
}

.page-fishing-games__faq-answer a:hover {
  color: var(--ao88-gold);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 2.8em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__image-content-block {
    flex-direction: column;
  }
  .page-fishing-games__image-content-block .page-fishing-games__text-block {
    text-align: center;
  }
  .page-fishing-games__hero-content {
    margin-top: 60px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-bottom: 40px;
  }
  .page-fishing-games__hero-content {
    padding: 20px;
    margin-top: 40px;
  }
  .page-fishing-games__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
    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;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-fishing-games__introduction-section,
  .page-fishing-games__highlights-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__video-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding: 40px 0;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-fishing-games__text-block {
    font-size: 0.95em;
  }
  .page-fishing-games__card {
    padding: 20px;
  }
  .page-fishing-games__card-title,
  .page-fishing-games__game-title,
  .page-fishing-games__promo-title {
    font-size: 1.3em;
  }
  .page-fishing-games__step-icon {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .page-fishing-games__step-title {
    font-size: 1.2em;
  }
  .page-fishing-games__strategy-list li {
    padding: 20px;
  }
  .page-fishing-games__strategy-item-title {
    font-size: 1.1em;
  }

  /* Mobile image, video, button responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-fishing-games__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-fishing-games__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
  .page-fishing-games__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px 15px 20px;
  }
}