/* style/fishing-games.css */

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

/* Base styles for the page content */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--oke88-text-main); /* Ensure light text on dark body background */
  background-color: var(--oke88-bg-dark); /* Matches shared.css body background */
}

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

/* Section backgrounds and text colors */
.page-fishing-games__dark-bg {
  background-color: var(--oke88-bg-dark);
  color: var(--oke88-text-main);
}

.page-fishing-games__light-bg {
  background-color: #0A1F16; /* A slightly lighter dark green for contrast */
  color: var(--oke88-text-main);
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
  min-height: 600px;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  max-width: 1200px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--oke88-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__tagline {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: var(--oke88-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* General Section Styling */
.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--oke88-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__subsection-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--oke88-secondary);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--oke88-text-main);
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: var(--oke88-button-gradient);
  color: var(--oke88-text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--oke88-secondary);
  border: 2px solid var(--oke88-secondary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--oke88-secondary);
  color: var(--oke88-bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-center {
  display: block;
  margin: 30px auto;
  max-width: 300px;
}

/* Lists */
.page-fishing-games__feature-list,
.page-fishing-games__step-list,
.page-fishing-games__tip-list {
  list-style-type: none;
  padding: 0;
  margin: 20px 0;
}

.page-fishing-games__list-item {
  background-color: var(--oke88-card-bg);
  border-left: 5px solid var(--oke88-secondary);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  color: var(--oke88-text-main);
  font-size: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-list .page-fishing-games__list-item {
  counter-increment: step-counter;
  position: relative;
  padding-left: 50px;
}

.page-fishing-games__step-list .page-fishing-games__list-item::before {
  content: counter(step-counter);
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--oke88-primary);
  color: #ffffff;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

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

.page-fishing-games__game-card,
.page-fishing-games__promo-card {
  background-color: var(--oke88-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  color: var(--oke88-text-main);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover,
.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__card-title {
  font-size: 1.4rem;
  color: var(--oke88-gold);
  padding: 15px 20px 10px;
  font-weight: 600;
}

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

.page-fishing-games__game-card .page-fishing-games__btn-secondary,
.page-fishing-games__promo-card .page-fishing-games__btn-primary {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

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

.page-fishing-games__faq-item {
  background-color: var(--oke88-card-bg);
  border: 1px solid var(--oke88-divider);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  color: var(--oke88-text-main);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  background-color: var(--oke88-deep-green);
  color: var(--oke88-text-main);
  border-bottom: 1px solid var(--oke88-divider);
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: var(--oke88-primary);
}

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

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

.page-fishing-games__faq-answer {
  padding: 15px 25px;
  font-size: 1rem;
  color: var(--oke88-text-secondary);
  background-color: var(--oke88-card-bg);
}

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

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

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 10px 0 40px 0;
    min-height: auto;
  }
  .page-fishing-games__hero-image-wrapper {
    margin-bottom: 30px;
    max-height: 400px;
  }
  .page-fishing-games__hero-content {
    padding: 0 15px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-fishing-games__tagline {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    margin-bottom: 25px;
  }
  .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: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }
  .page-fishing-games__subsection-title {
    font-size: clamp(1.2rem, 3.5vw, 1.6rem);
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-fishing-games__text-block,
  .page-fishing-games__list-item,
  .page-fishing-games__card-description {
    font-size: 0.95rem;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .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__game-card,
  .page-fishing-games__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__hero-image {
    border-radius: 0;
  }
  .page-fishing-games__game-grid,
  .page-fishing-games__promo-grid {
    gap: 20px;
    padding: 0 15px;
  }
  .page-fishing-games__game-card .page-fishing-games__btn-secondary,
  .page-fishing-games__promo-card .page-fishing-games__btn-primary {
    width: calc(100% - 30px);
    margin: 0 15px 15px;
  }
  .page-fishing-games__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-image-wrapper {
    max-height: 250px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-fishing-games__tagline {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
  }
  .page-fishing-games__game-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
  }
}