/* style/fishing-games.css */

/* Variables from custom color scheme */
:root {
  --fcb8-orange-main: #FF8C1A;
  --fcb8-orange-accent: #FFA53A;
  --fcb8-card-bg: #17191F;
  --fcb8-bg: #0D0E12;
  --fcb8-text-main: #FFF3E6;
  --fcb8-border: #A84F0C;
  --fcb8-glow: #FFB04D;
  --fcb8-deep-orange: #D96800;
}

/* Base styles for the fishing games page */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--fcb8-text-main); /* Light text for dark body background */
  background-color: var(--fcb8-bg);
}

.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-fishing-games__section-title {
  font-size: 2.5rem;
  color: var(--fcb8-orange-accent);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-fishing-games__sub-title {
  font-size: 1.8rem;
  color: var(--fcb8-orange-main);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__section-description {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 40px;
  color: var(--fcb8-text-main);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games p {
  line-height: 1.6;
  margin-bottom: 15px;
  color: var(--fcb8-text-main);
}

.page-fishing-games ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-fishing-games li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: var(--fcb8-text-main);
}

.page-fishing-games li::before {
  content: '▶'; /* Custom bullet point */
  color: var(--fcb8-orange-accent);
  position: absolute;
  left: 0;
  top: 0;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, var(--fcb8-orange-accent) 0%, var(--fcb8-deep-orange) 100%);
  color: #ffffff; /* White text for contrast */
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

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

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--fcb8-orange-accent);
  border: 2px solid var(--fcb8-orange-accent);
  box-shadow: 0 2px 10px rgba(255, 165, 58, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--fcb8-orange-accent);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-fishing-games__btn-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-fishing-games__btn-small-mt {
  margin-top: 20px;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

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

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: #ffffff;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

.page-fishing-games__hero-description {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
  text-shadow: 0 0 5px rgba(0,0,0,0.6);
}

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

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 80px 0;
  background-color: var(--fcb8-bg);
}

.page-fishing-games__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-fishing-games__image-wrapper {
  text-align: center;
}

.page-fishing-games__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  display: block;
  margin: 0 auto;
  min-width: 200px;
  min-height: 200px;
}

/* Game Types Section */
.page-fishing-games__game-types {
  padding: 80px 0;
  background-color: var(--fcb8-card-bg);
}

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

.page-fishing-games__card {
  background-color: var(--fcb8-card-bg);
  border: 1px solid var(--fcb8-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--fcb8-text-main);
  display: flex;
  flex-direction: column;
  max-width: 100%; /* Ensure card does not overflow */
  box-sizing: border-box;
}

.page-fishing-games__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 140, 26, 0.3);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__card-title {
  font-size: 1.5rem;
  margin: 20px 15px 10px;
  color: var(--fcb8-orange-accent);
  font-weight: bold;
}

.page-fishing-games__card-title a {
  color: var(--fcb8-orange-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games__card-title a:hover {
  color: var(--fcb8-glow);
}

.page-fishing-games__card-description {
  font-size: 0.95rem;
  color: var(--fcb8-text-main);
  padding: 0 15px 20px;
  flex-grow: 1;
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 80px 0;
  background-color: var(--fcb8-bg);
}

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

.page-fishing-games__guide-item {
  background-color: var(--fcb8-card-bg);
  border: 1px solid var(--fcb8-border);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  color: var(--fcb8-text-main);
}

.page-fishing-games__guide-title {
  font-size: 1.6rem;
  color: var(--fcb8-orange-accent);
  margin-bottom: 15px;
  font-weight: bold;
}

/* Promotions Section */
.page-fishing-games__promotions {
  padding: 80px 0;
  background-color: var(--fcb8-card-bg);
}

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

/* Security Section */
.page-fishing-games__security-section {
  padding: 80px 0;
  background-color: var(--fcb8-bg);
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--fcb8-card-bg);
}

.page-fishing-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--fcb8-orange-accent);
  cursor: pointer;
  background-color: var(--fcb8-card-bg);
  transition: background-color 0.3s ease;
  position: relative;
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(255, 140, 26, 0.1);
}

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question {
  background-color: rgba(255, 140, 26, 0.15);
}

.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(--fcb8-orange-main);
}

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

.page-fishing-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fcb8-text-main);
  background-color: var(--fcb8-bg);
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  padding: 80px 0;
  background-color: var(--fcb8-bg);
  text-align: center;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-fishing-games__content-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-fishing-games__content-grid:nth-child(even) .page-fishing-games__image-wrapper {
    order: 2;
  }

  .page-fishing-games__content-grid:nth-child(even) .page-fishing-games__text-block {
    order: 1;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section-title {
    font-size: 2rem;
  }

  .page-fishing-games__sub-title {
    font-size: 1.5rem;
  }

  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset, this is decorative */
  }

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

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

  .page-fishing-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .page-fishing-games__btn-container {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__intro-section,
  .page-fishing-games__game-types,
  .page-fishing-games__guide-section,
  .page-fishing-games__promotions,
  .page-fishing-games__security-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding: 40px 0;
  }

  .page-fishing-games__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile image responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__hero-image,
  .page-fishing-games__content-image,
  .page-fishing-games__card-image {
    min-width: unset !important;
    min-height: unset !important;
  }

  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__image-wrapper,
  .page-fishing-games__card,
  .page-fishing-games__guide-item,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .page-fishing-games__cta-button,
  .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: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 15px;
  }

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