/* style/fishing-games.css */

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

/* Base styles for the page */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--page-fishing-games-text-main); /* Default text color for dark background */
  background-color: var(--page-fishing-games-background); /* Overall page background */
  line-height: 1.6;
}

/* Sections */
.page-fishing-games__hero-section,
.page-fishing-games__video-section,
.page-fishing-games__about-section,
.page-fishing-games__strategy-section,
.page-fishing-games__security-section,
.page-fishing-games__conclusion-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-fishing-games__promotions-section,
.page-fishing-games__games-section,
.page-fishing-games__faq-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Background colors based on custom palette */
.page-fishing-games__dark-bg {
  background-color: var(--page-fishing-games-background);
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__light-bg {
  background-color: var(--page-fishing-games-text-main);
  color: var(--page-fishing-games-background); /* Darker text for light background */
}

/* Content Area */
.page-fishing-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Text contrast fix for light background sections */
.page-fishing-games__text-contrast-fix {
  color: var(--page-fishing-games-background);
}

/* Hero Section */
.page-fishing-games__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  margin-bottom: 40px;
}

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

.page-fishing-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  color: var(--page-fishing-games-gold); /* Gold color for main title */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-fishing-games__intro-text {
  font-size: 1.2rem;
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-button-gradient);
  color: var(--page-fishing-games-text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

.page-fishing-games__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-3px);
}

/* Section Header */
.page-fishing-games__section-header {
  margin-bottom: 40px;
}

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--page-fishing-games-gold);
  margin-bottom: 20px;
}

.page-fishing-games__paragraph {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--page-fishing-games-text-secondary);
  text-align: left;
}

.page-fishing-games__paragraph strong {
  color: var(--page-fishing-games-gold);
}

/* Video Section */
.page-fishing-games__video-section {
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
}

.page-fishing-games__video-container {
  width: 100%;
  max-width: 1000px; /* Desktop max width for video */
  margin: 0 auto;
  box-sizing: border-box;
  background-color: var(--page-fishing-games-deep-green);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

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

.page-fishing-games__video-caption {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--page-fishing-games-text-secondary);
}

/* Game Grid */
.page-fishing-games__game-grid,
.page-fishing-games__promotion-grid,
.page-fishing-games__strategy-grid,
.page-fishing-games__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

/* Cards */
.page-fishing-games__card {
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid var(--page-fishing-games-border);
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  display: block;
}

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

.page-fishing-games__card-text {
  font-size: 1rem;
  color: var(--page-fishing-games-text-secondary);
  flex-grow: 1;
}

.page-fishing-games__card .page-fishing-games__btn-primary,
.page-fishing-games__card .page-fishing-games__btn-secondary {
  width: auto;
  align-self: flex-end;
  margin-top: auto;
}

/* Strategy Section */
.page-fishing-games__strategy-item {
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-fishing-games-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__strategy-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

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

.page-fishing-games__strategy-text {
  font-size: 1rem;
  color: var(--page-fishing-games-text-secondary);
}

/* Security Features */
.page-fishing-games__feature-item {
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-fishing-games-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__feature-icon {
  width: 100%;
  height: 150px; /* Adjust height as needed, ensure >= 200px total dimension */
  max-width: 250px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

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

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

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

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

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

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

.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-fishing-games-gold);
  cursor: pointer;
  background-color: var(--page-fishing-games-deep-green);
  border-bottom: 1px solid var(--page-fishing-games-divider);
  transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

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

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--page-fishing-games-text-secondary);
  background-color: var(--page-fishing-games-card-bg);
}

/* Conclusion Section */
.page-fishing-games__conclusion-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-fishing-games__conclusion-list li {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border);
  border-radius: 10px;
  padding: 15px 25px;
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: var(--page-fishing-games-text-main);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__conclusion-list li strong {
  color: var(--page-fishing-games-gold);
}

.page-fishing-games__text-link {
  color: var(--page-fishing-games-gold);
  text-decoration: underline;
  font-weight: 600;
}

.page-fishing-games__text-link:hover {
  color: var(--page-fishing-games-glow);
}

.page-fishing-games__cta-final {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
  .page-fishing-games__hero-image-wrapper {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section,
  .page-fishing-games__video-section,
  .page-fishing-games__about-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__security-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding: 40px 0;
  }

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

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

  .page-fishing-games__intro-text {
    font-size: 1rem;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    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__hero-image-wrapper {
    max-height: 250px;
  }

  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0 15px;
  }
  .page-fishing-games__video-section {
    padding-top: 10px !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__game-grid,
  .page-fishing-games__promotion-grid,
  .page-fishing-games__strategy-grid,
  .page-fishing-games__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-fishing-games__card,
  .page-fishing-games__strategy-item,
  .page-fishing-games__feature-item {
    padding: 20px;
  }

  .page-fishing-games__card-image,
  .page-fishing-games__strategy-image,
  .page-fishing-games__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-height: 200px; /* Ensure minimum size */
    object-fit: cover;
  }

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

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

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

  .page-fishing-games__conclusion-list {
    padding: 0 15px;
  }
  .page-fishing-games__conclusion-list li {
    font-size: 1rem;
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }
  .page-fishing-games__hero-image-wrapper {
    max-height: 200px;
  }
}