/* style/fishing-games.css */
:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg: #17191F;
  --background-color: #0D0E12;
  --text-main-color: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange-color: #D96800;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  color: var(--text-main-color); /* Default text color for the page */
  background-color: var(--background-color); /* Default background color for the page */
}

.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(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: -0.5px;
}

.page-fishing-games__section-title--white {
  color: var(--text-main-color);
}

.page-fishing-games__section-description {
  font-size: 18px;
  line-height: 1.6;
  color: #cccccc;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__section-description--white {
  color: var(--text-main-color);
}

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

.page-fishing-games__light-bg {
  background-color: #f5f5f5;
  color: #333333;
}

.page-fishing-games__highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__card-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
  color: var(--text-main-color);
  border: 2px solid var(--secondary-color);
  box-shadow: 0 4px 15px rgba(255, 132, 0, 0.4);
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, var(--deep-orange-color) 0%, var(--secondary-color) 100%);
  box-shadow: 0 6px 20px rgba(255, 132, 0, 0.6);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--background-color);
}

.page-fishing-games__card-button {
  padding: 10px 20px;
  font-size: 16px;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
  color: var(--text-main-color);
  border: none;
  box-shadow: 0 2px 10px rgba(255, 132, 0, 0.3);
}

.page-fishing-games__card-button:hover {
  opacity: 0.9;
  box-shadow: 0 4px 12px rgba(255, 132, 0, 0.5);
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-fishing-games__hero-image {
  width: 100%;
  max-height: 700px;
  object-fit: cover;
  display: block;
  margin-bottom: 40px;
  border-radius: 10px;
}

.page-fishing-games__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
}

.page-fishing-games__main-title {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main-color);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.page-fishing-games__hero-description {
  font-size: 20px;
  line-height: 1.7;
  color: #e0e0e0;
  margin-bottom: 40px;
}

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

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 80px 0;
}

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

.page-fishing-games__intro-text {
  flex: 1;
  min-width: 300px;
}

.page-fishing-games__intro-text p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333333;
}

.page-fishing-games__intro-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-fishing-games__intro-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Video Section */
.page-fishing-games__video-section {
  padding: 80px 0;
  text-align: center;
}

.page-fishing-games__video-container {
  width: 100%; /* Important for desktop flex container */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

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

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

.page-fishing-games__video-caption {
  font-size: 16px;
  color: #ccc;
  margin-top: 15px;
  margin-bottom: 30px;
}

.page-fishing-games__btn-primary--video-cta {
  margin-top: 20px;
}

/* Featured Games */
.page-fishing-games__featured-games {
  padding: 80px 0;
}

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

.page-fishing-games__game-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 25px;
}

.page-fishing-games__game-card .page-fishing-games__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-fishing-games__game-card .page-fishing-games__card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-fishing-games__game-card .page-fishing-games__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-fishing-games__game-card .page-fishing-games__card-title a:hover {
  text-decoration: underline;
}

.page-fishing-games__game-card .page-fishing-games__card-text {
  font-size: 16px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 25px;
  padding: 0 20px;
}

.page-fishing-games__more-games-cta {
  text-align: center;
}

/* How To Play Section */
.page-fishing-games__how-to-play {
  padding: 80px 0;
}

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

.page-fishing-games__step-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-main-color);
}

.page-fishing-games__step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-fishing-games__step-item p {
  font-size: 16px;
  line-height: 1.7;
  color: #ccc;
}

/* Strategy Section */
.page-fishing-games__strategy-section {
  padding: 80px 0;
}

.page-fishing-games__strategy-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.page-fishing-games__strategy-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-fishing-games__strategy-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__strategy-list {
  flex: 1;
  min-width: 300px;
  list-style: none;
  padding: 0;
}

.page-fishing-games__list-item {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  color: #333333;
}

.page-fishing-games__list-item strong {
  color: var(--primary-color);
}

.page-fishing-games__list-item::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 20px;
  line-height: 1;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
}

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

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

.page-fishing-games__promotion-card .page-fishing-games__card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-fishing-games__promotion-card .page-fishing-games__card-text {
  font-size: 16px;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 25px;
}

.page-fishing-games__more-promotions-cta {
  text-align: center;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
}

.page-fishing-games__faq-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-fishing-games__faq-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-main-color);
  overflow: hidden;
}

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

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

.page-fishing-games__faq-toggle {
  font-size: 24px;
  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: 0 25px 20px;
  font-size: 16px;
  line-height: 1.7;
  color: #ccc;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 10px;
}

/* CTA Section */
.page-fishing-games__cta-section {
  padding: 80px 0;
  text-align: center;
}

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

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 0 15px;
  }

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

  .page-fishing-games__hero-image {
    margin-bottom: 20px;
  }

  .page-fishing-games__main-title {
    font-size: 32px;
  }

  .page-fishing-games__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

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

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

  .page-fishing-games__intro-section,
  .page-fishing-games__video-section,
  .page-fishing-games__featured-games,
  .page-fishing-games__how-to-play,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    padding: 40px 0;
  }

  .page-fishing-games__intro-wrapper,
  .page-fishing-games__strategy-wrapper {
    flex-direction: column;
  }

  .page-fishing-games__intro-image,
  .page-fishing-games__strategy-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .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__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-fishing-games__game-card .page-fishing-games__card-image {
    height: 200px; /* Adjust for smaller screens */
  }

  .page-fishing-games__faq-item summary {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-fishing-games__faq-answer {
    padding: 0 20px 15px;
    font-size: 15px;
  }
  
  /* Ensure all content area images are responsive */
  .page-fishing-games img {
    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__intro-wrapper,
  .page-fishing-games__strategy-wrapper,
  .page-fishing-games__game-cards,
  .page-fishing-games__steps,
  .page-fishing-games__promotion-cards,
  .page-fishing-games__faq-items {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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