/* style/fishing-games.css */
/* Custom Colors */
:root {
  --page-bg-color: #08160F;
  --page-card-bg: #11271B;
  --page-text-main: #F2FFF6;
  --page-text-secondary: #A7D9B8;
  --page-border-color: #2E7A4E;
  --page-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-glow-color: #57E38D;
  --page-gold-color: #F2C14E;
  --page-divider-color: #1E3A2A;
  --page-deep-green: #0A4B2C;
}

.page-fishing-games {
  background-color: var(--page-bg-color);
  color: var(--page-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__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--page-text-main);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-fishing-games__section-subtitle {
  font-size: 1.1rem;
  color: var(--page-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__text-block {
  font-size: 1rem;
  color: var(--page-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-fishing-games__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over image for better flow */
  position: relative;
  z-index: 1;
  background-color: rgba(17, 39, 27, 0.8); /* Card BG with transparency */
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  border: 1px solid var(--page-border-color);
}

.page-fishing-games__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--page-gold-color);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 0 15px var(--page-glow-color);
}

.page-fishing-games__hero-description {
  font-size: 1.15rem;
  color: var(--page-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__cta-buttons--center {
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: var(--page-btn-gradient);
  color: var(--page-text-main);
  border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 20px var(--page-glow-color);
}

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

.page-fishing-games__btn-secondary:hover {
  transform: translateY(-3px);
  background-color: var(--page-gold-color);
  color: var(--page-bg-color);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 20px var(--page-gold-color);
}

.page-fishing-games__introduction-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__platform-features-section,
.page-fishing-games__faq-section {
  padding: 80px 0;
}

.page-fishing-games__games-showcase-section,
.page-fishing-games__promotions-section,
.page-fishing-games__call-to-action-section {
  padding: 80px 0;
  background-color: var(--page-deep-green);
}

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

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

.page-fishing-games__game-card,
.page-fishing-games__step-card,
.page-fishing-games__feature-item,
.page-fishing-games__promotion-card {
  background-color: var(--page-card-bg);
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  overflow: hidden;
  border: 1px solid var(--page-border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover,
.page-fishing-games__step-card:hover,
.page-fishing-games__feature-item:hover,
.page-fishing-games__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

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

.page-fishing-games__card-content {
  padding: 25px;
  text-align: center;
}

.page-fishing-games__card-title {
  font-size: 1.5rem;
  color: var(--page-gold-color);
  margin-bottom: 10px;
  font-weight: 700;
}

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

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

.page-fishing-games__step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--page-btn-gradient);
  color: var(--page-text-main);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 0 15px var(--page-glow-color);
}

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

.page-fishing-games__step-description {
  font-size: 0.95rem;
  color: var(--page-text-secondary);
}

.page-fishing-games__promotion-card {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.page-fishing-games__promotion-card .page-fishing-games__card-image {
  height: 200px;
}

.page-fishing-games__promotion-card .page-fishing-games__card-content {
  text-align: left;
}

.page-fishing-games__feature-item {
  text-align: center;
  padding: 30px;
}

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

.page-fishing-games__feature-description {
  font-size: 0.95rem;
  color: var(--page-text-secondary);
}

.page-fishing-games__mobile-gaming-wrapper {
  margin-top: 60px;
  text-align: center;
}

.page-fishing-games__mobile-gaming-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  border: 1px solid var(--page-border-color);
}

.page-fishing-games__video-section {
  padding: 80px 0;
  background-color: var(--page-deep-green);
  text-align: center;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto 20px auto;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  border: 1px solid var(--page-border-color);
  width: 100%; /* Desktop width constraint */
  max-width: 1280px; /* Desktop max width */
}

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

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

.page-fishing-games__faq-item {
  background-color: var(--page-card-bg);
  border: 1px solid var(--page-border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-fishing-games__faq-item[open] {
  background-color: var(--page-deep-green);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--page-text-main);
  cursor: pointer;
  transition: color 0.3s ease;
  list-style: none;
}

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

.page-fishing-games__faq-question:hover {
  color: var(--page-gold-color);
}

.page-fishing-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-gold-color);
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: var(--page-text-secondary);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-answer {
  animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-fishing-games__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-fishing-games__floating-btn {
  background: var(--page-btn-gradient);
  color: var(--page-text-main);
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  min-width: 100px;
  max-width: 150px;
  box-sizing: border-box;
}

.page-fishing-games__floating-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 15px var(--page-glow-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -60px;
    padding: 25px;
  }

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

  .page-fishing-games__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-fishing-games__games-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

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

  .page-fishing-games__hero-section {
    padding-bottom: 40px;
  }

  .page-fishing-games__hero-content {
    margin-top: -40px;
    padding: 20px;
    border-radius: 10px;
  }

  .page-fishing-games__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-fishing-games__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 12px 20px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__games-showcase-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__platform-features-section,
  .page-fishing-games__video-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__call-to-action-section {
    padding: 40px 0;
  }

  .page-fishing-games__games-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__card-image {
    height: 200px;
  }

  .page-fishing-games__promotion-card {
    flex-direction: column;
  }

  .page-fishing-games__video-wrapper {
    margin-left: 0;
    margin-right: 0;
    border-radius: 10px;
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }

  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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__floating-buttons {
    flex-direction: row;
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-color: var(--page-card-bg);
    padding: 10px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.3);
    justify-content: space-around;
  }

  .page-fishing-games__floating-btn {
    flex: 1;
    margin: 0 5px;
    max-width: none;
  }
}