/* style/fishing-games.css */

:root {
  --primary-color: #C61F1F;
  --secondary-color: #E53030;
  --background-color: #140C0C;
  --card-bg-color: #2A1212;
  --text-main-color: #FFF1E8;
  --gold-color: #F3C54D;
  --border-color: #6A1E1E;
  --deep-red-color: #7E0D0D;
  --button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Default text color for dark body background */
  background-color: var(--background-color); /* Assuming body background is dark */
}

.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(1.8rem, 2.5vw, 2.8rem);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-fishing-games__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: -20px auto 40px auto;
  color: rgba(255, 241, 232, 0.8);
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* White text for primary button */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  background-color: #ffffff;
  color: var(--primary-color); /* Brand color for secondary button text */
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(198, 31, 31, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-fishing-games__btn-small {
  padding: 8px 18px;
  font-size: 0.9rem;
  border-radius: 20px;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 60px;
  overflow: hidden;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 100px 20px 0;
  max-width: 900px;
  color: #ffffff;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 3px 6px rgba(0,0,0,0.4);
}

.page-fishing-games__hero-description {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

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

/* Video Section */
.page-fishing-games__video-section {
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--background-color);
  text-align: center;
}

.page-fishing-games__video-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
}

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

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block; /* Ensure video is block level */
}

.page-fishing-games__video-description {
  margin-top: 20px;
  font-size: 1rem;
  color: rgba(255, 241, 232, 0.7);
}

/* General Section Styles */
.page-fishing-games__intro-section,
.page-fishing-games__features-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__trial-section,
.page-fishing-games__promotions-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__faq-section,
.page-fishing-games__final-cta-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.page-fishing-games__intro-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
  background-color: var(--card-bg-color); /* Dark section background */
}

.page-fishing-games__intro-section .page-fishing-games__container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-fishing-games__intro-content {
  flex: 1;
}

.page-fishing-games__intro-content p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: rgba(255, 241, 232, 0.9);
}

.page-fishing-games__intro-image {
  flex: 0 0 40%;
  max-width: 40%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  display: block; /* Ensure image is block level */
}

/* Features Section */
.page-fishing-games__features-section {
  background-color: var(--background-color);
}

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

.page-fishing-games__card {
  background-color: var(--card-bg-color);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main-color);
}

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

.page-fishing-games__card img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__card p {
  font-size: 0.95rem;
  color: rgba(255, 241, 232, 0.8);
}

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

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

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__game-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
  display: block;
}

.page-fishing-games__game-title {
  font-size: 1.2rem;
  color: var(--gold-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__game-description {
  font-size: 0.9rem;
  color: rgba(255, 241, 232, 0.7);
  margin-bottom: 20px;
  padding: 0 15px;
}

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

/* Game Trial Section */
.page-fishing-games__trial-section {
  background-color: var(--background-color);
}

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

.page-fishing-games__game-trial-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

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

/* How To Play Section */
.page-fishing-games__how-to-play-section {
  background-color: var(--background-color);
}

.page-fishing-games__step-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-fishing-games__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  position: relative;
  padding-left: 70px;
}

.page-fishing-games__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: var(--button-gradient);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

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

.page-fishing-games__step-item p {
  font-size: 1rem;
  color: rgba(255, 241, 232, 0.85);
}

.page-fishing-games__step-item p a {
  color: var(--gold-color);
  text-decoration: underline;
}

.page-fishing-games__step-item p a:hover {
  color: #FFF1E8;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

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

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

.page-fishing-games__faq-question {
  display: block;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--text-main-color);
  cursor: pointer;
  position: relative;
  user-select: none;
  transition: color 0.3s ease;
}

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

.page-fishing-games__faq-toggle {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: '−';
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: rgba(255, 241, 232, 0.75);
}

/* Final CTA Section */
.page-fishing-games__final-cta-section {
  padding: 80px 0;
  background: var(--primary-color);
  text-align: center;
}

.page-fishing-games__final-cta-section .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__final-cta-section .page-fishing-games__section-description {
  color: rgba(255, 255, 255, 0.9);
}

.page-fishing-games__final-cta-section .page-fishing-games__cta-buttons {
  margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-fishing-games__intro-section .page-fishing-games__container {
    flex-direction: column;
  }

  .page-fishing-games__intro-image {
    max-width: 80%;
    margin-top: 40px;
  }
}

@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-content {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .page-fishing-games__main-title {
    font-size: 2.2rem;
  }

  .page-fishing-games__hero-description {
    font-size: 1rem;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    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__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: 0;
    padding-right: 0;
    overflow: hidden !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

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

  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

  .page-fishing-games__intro-image {
    max-width: 100%;
    width: 100%;
  }

  .page-fishing-games__features-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__trial-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__final-cta-section {
    padding: 50px 0;
  }

  .page-fishing-games__card {
    padding: 20px;
  }

  .page-fishing-games__card img,
  .page-fishing-games__game-card img,
  .page-fishing-games__intro-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__promo-list,
  .page-fishing-games__game-grid {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__step-item {
    padding-left: 60px;
  }

  .page-fishing-games__step-item::before {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

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

  .page-fishing-games__faq-toggle {
    right: 20px;
    font-size: 1.3rem;
  }

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

  /* All image containers in content area must be responsive */
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__intro-section .page-fishing-games__container,
  .page-fishing-games__feature-list,
  .page-fishing-games__game-grid,
  .page-fishing-games__promo-list,
  .page-fishing-games__iframe-wrapper,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent content overflow */
  }
}