:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

.page-fishing-games {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color, will be #F2FFF6 */
  background: var(--background); /* Default background color, will be #08160F */
}

/* Fixed header spacing is handled by body padding-top in shared.css */
/* First section padding-top should be small, not var(--header-offset) */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px 20px; /* Small top padding */
  box-sizing: border-box;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Match hero image width */
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-fishing-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-main); /* Light text for dark background */
}

.page-fishing-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: var(--gold); /* Use gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-fishing-games__description,
.page-fishing-games__text-block {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-main); /* Light text for dark background */
}

.page-fishing-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__card-button {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  box-sizing: border-box;
  text-align: center;
  max-width: 100%; /* Ensure button doesn't overflow */
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main); /* #F2FFF6 */
  border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--glow); /* #57E38D */
  border: 2px solid var(--glow); /* #57E38D */
}

.page-fishing-games__btn-secondary:hover {
  background: var(--glow);
  color: var(--deep-green); /* #0A4B2C */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__introduction-section,
.page-fishing-games__tips-section,
.page-fishing-games__faq-section {
  background: var(--card-bg); /* Use #11271B as background */
  color: var(--text-main); /* Light text for dark background */
  padding: 60px 20px;
}

.page-fishing-games__games-list-section,
.page-fishing-games__promotions-section,
.page-fishing-games__register-cta-section {
  background: var(--background); /* Use #08160F as background */
  color: var(--text-main); /* Light text for dark background */
  padding: 60px 20px;
}

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

.page-fishing-games__center-content {
  text-align: center;
}

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--gold); /* Use gold for section titles */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-fishing-games__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-fishing-games__card,
.page-fishing-games__promotion-card {
  background: var(--card-bg); /* #11271B */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  color: var(--text-main); /* Light text for dark background */
  border: 1px solid var(--border); /* #2E7A4E */
}

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

.page-fishing-games__card-title,
.page-fishing-games__promotion-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--glow); /* #57E38D */
  padding: 20px 20px 10px 20px;
}

.page-fishing-games__card-description,
.page-fishing-games__promotion-description {
  font-size: 1rem;
  color: var(--text-secondary); /* #A7D9B8 */
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-fishing-games__card-button {
  display: block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main);
  text-align: center;
  padding: 12px 20px;
  margin: 0 20px 20px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.page-fishing-games__card-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__list-item {
  background: var(--deep-green); /* #0A4B2C */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: var(--text-main);
}

.page-fishing-games__list-item strong {
  color: var(--gold); /* #F2C14E */
}

.page-fishing-games__btn-full-width {
  width: 100%;
  margin-top: 40px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  background: var(--deep-green); /* #0A4B2C */
  border: 1px solid var(--border); /* #2E7A4E */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--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 */
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--glow); /* #57E38D */
  cursor: pointer;
  background: var(--deep-green);
  transition: background 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background: rgba(87, 227, 141, 0.1); /* Light hover effect */
}

.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(--gold); /* #F2C14E */
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 4.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-fishing-games__hero-section {
    padding: 10px 15px 40px 15px;
  }
  
  .page-fishing-games__hero-content {
    padding: 0 15px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
    margin-bottom: 15px;
  }

  .page-fishing-games__description,
  .page-fishing-games__text-block {
    font-size: 1rem;
    margin-bottom: 20px;
  }

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

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

  .page-fishing-games__introduction-section,
  .page-fishing-games__games-list-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__register-cta-section {
    padding: 40px 15px;
  }

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

  .page-fishing-games__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 30px;
  }

  .page-fishing-games__game-cards-grid,
  .page-fishing-games__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__card-image,
  .page-fishing-games__promotion-image {
    height: 180px;
  }

  .page-fishing-games__card-title,
  .page-fishing-games__promotion-title {
    font-size: 1.3rem;
  }

  .page-fishing-games__card-description,
  .page-fishing-games__promotion-description {
    font-size: 0.95rem;
  }

  .page-fishing-games__list-item {
    padding: 15px;
    font-size: 0.95rem;
  }

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

  .page-fishing-games__faq-toggle {
    font-size: 1.2rem;
  }

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

  /* Image responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* Video responsive - if any */
  .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: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}