/* style/fishing-games.css */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --login-color: #EA7C07;
    --text-dark: #333333;
    --text-light: #ffffff;
    --border-light: #e0e0e0;
}

.page-fishing-games {
    font-family: Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--secondary-color);
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    overflow: hidden;
    background-color: var(--secondary-color);
}

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

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly dim the image for text contrast */
}

.page-fishing-games__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    position: relative; /* Ensure content is above any background effects */
    z-index: 2;
    color: var(--text-dark); /* Default dark text on light background */
    background-color: var(--secondary-color);
    border-radius: 8px;
    margin-top: -80px; /* Overlap with image slightly for visual appeal */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__main-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-fishing-games__hero-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-dark);
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    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-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.page-fishing-games__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

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

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

.page-fishing-games__section {
    padding: 60px 20px;
    text-align: center;
}

.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-fishing-games__section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-fishing-games__section-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: var(--text-dark);
}

/* Features Section */
.page-fishing-games__features-section {
    background-color: var(--secondary-color);
}

.page-fishing-games__features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__feature-card {
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.page-fishing-games__feature-image {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-fishing-games__feature-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Game List Section */
.page-fishing-games__game-list {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-fishing-games__game-list .page-fishing-games__section-title,
.page-fishing-games__game-list .page-fishing-games__section-description {
    color: var(--text-light);
}

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

.page-fishing-games__game-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-light);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.2);
}

.page-fishing-games__game-image {
    width: 100%;
    max-width: 380px;
    height: 285px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-fishing-games__game-card .page-fishing-games__card-title {
    color: var(--text-light);
    font-size: 22px;
}

.page-fishing-games__game-card p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-fishing-games__btn-play {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--login-color);
    color: var(--text-light);
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-play:hover {
    background-color: darken(var(--login-color), 10%);
}

/* How To Play Section */
.page-fishing-games__how-to-play {
    background-color: var(--secondary-color);
}

.page-fishing-games__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page-fishing-games__step-item {
    display: flex;
    align-items: flex-start;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    border: 1px solid var(--border-light);
}

.page-fishing-games__step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 22px;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
}

.page-fishing-games__step-content h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-fishing-games__step-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
}

.page-fishing-games__cta-buttons--center {
    margin-top: 50px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    background-color: var(--secondary-color);
    padding-bottom: 80px;
}

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

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  background: var(--secondary-color);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: #f5f5f5;
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color);
}
.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px;
  text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 25px 25px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: 38px;
    }
    .page-fishing-games__hero-description {
        font-size: 17px;
    }
    .page-fishing-games__section-title {
        font-size: 32px;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__game-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .page-fishing-games__feature-image,
    .page-fishing-games__game-image {
        height: 250px;
    }
    .page-fishing-games__step-item {
        padding: 20px;
    }
    .page-fishing-games__step-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
        margin-right: 15px;
    }
    .page-fishing-games__step-content h3 {
        font-size: 19px;
    }
    .page-fishing-games__faq-qtext {
        font-size: 17px;
    }
    .page-fishing-games__faq-toggle {
        font-size: 26px;
        width: 30px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 20px;
    }
    .page-fishing-games__hero-content {
        margin-top: -60px;
        padding: 15px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(28px, 8vw, 36px);
        margin-bottom: 10px;
    }
    .page-fishing-games__hero-description {
        font-size: 15px;
        margin-bottom: 20px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to prevent buttons from touching edges */
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 20px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__section {
        padding: 40px 15px;
    }
    .page-fishing-games__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-fishing-games__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__game-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__feature-card,
    .page-fishing-games__game-card {
        padding: 20px;
    }
    .page-fishing-games__feature-image,
    .page-fishing-games__game-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
    }
    .page-fishing-games__card-title {
        font-size: 20px;
    }
    .page-fishing-games__feature-card p,
    .page-fishing-games__game-card p {
        font-size: 15px;
    }
    .page-fishing-games__btn-play {
        padding: 10px 20px;
        font-size: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__step-list {
        gap: 20px;
    }
    .page-fishing-games__step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 15px;
    }
    .page-fishing-games__step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .page-fishing-games__step-content h3 {
        font-size: 18px;
    }
    .page-fishing-games__step-content p {
        font-size: 15px;
    }
    .page-fishing-games__faq-list {
        margin-top: 30px;
    }
    details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
        padding: 15px 20px;
    }
    .page-fishing-games__faq-qtext {
        font-size: 16px;
    }
    .page-fishing-games__faq-toggle {
        font-size: 24px;
        width: 28px;
    }
    details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
        padding: 0 20px 20px;
    }
    .page-fishing-games__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    .page-fishing-games img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block;
    }
}