/* Base styles for the page */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #FFFFFF; /* Explicitly set for clarity */
}

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

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

.page-fishing-games__section--overview {
    background-color: #f9f9f9;
}

.page-fishing-games__section-title {
    font-size: 36px;
    font-weight: bold;
    color: #017439;
    margin-bottom: 40px;
}

.page-fishing-games__article-body {
    max-width: 900px;
    margin: 0 auto 40px auto;
    text-align: left;
}

.page-fishing-games__article-body p {
    margin-bottom: 1em;
    font-size: 17px;
    line-height: 1.7;
}

.page-fishing-games__article-body ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1em;
    text-align: left;
}

.page-fishing-games__article-body li {
    margin-bottom: 0.5em;
    font-size: 17px;
}

.page-fishing-games__article-body a {
    color: #017439;
    text-decoration: underline;
}

.page-fishing-games__article-figure {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, assuming body padding-top is handled by shared.css */
    background: linear-gradient(135deg, #017439, #00562c);
    color: #ffffff;
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit hero image height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover for desktop */
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px 80px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.page-fishing-games__hero-title {
    font-size: clamp(36px, 5vw, 56px); /* Clamp for responsive H1 */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
    color: #FFFF00; /* Custom color for register/login font, applied to H1 for prominence */
}

.page-fishing-games__hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

.page-fishing-games__btn-primary {
    background-color: #C30808; /* Custom color for Register/Login */
    color: #FFFF00; /* Custom font color for Register/Login */
    border: 2px solid #C30808;
}

.page-fishing-games__btn-primary:hover {
    background-color: #e01b1b;
    border-color: #e01b1b;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Custom font color for Register/Login */
    border: 2px solid #FFFF00;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #FFFF00;
    color: #C30808;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-fishing-games__btn-play {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
    padding: 10px 20px;
    font-size: 16px;
    margin-top: 15px;
}

.page-fishing-games__btn-play:hover {
    background-color: #00562c;
    border-color: #00562c;
    transform: translateY(-1px);
}

/* Products Grid Section */
.page-fishing-games__products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Desktop 3 columns */
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__product-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.page-fishing-games__product-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-fishing-games__product-title {
    font-size: 22px;
    font-weight: 700;
    color: #017439;
    margin-bottom: 10px;
}

.page-fishing-games__product-description {
    font-size: 15px;
    color: #555555;
    flex-grow: 1;
    margin-bottom: 15px;
}

/* Guide Section */
.page-fishing-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__guide-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__guide-icon {
    width: 100%;
    max-width: 150px;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-fishing-games__guide-title {
    font-size: 20px;
    font-weight: 700;
    color: #017439;
    margin-bottom: 15px;
}

.page-fishing-games__guide-item p {
    font-size: 16px;
    color: #555555;
    text-align: center;
}

/* Strategies Section */
.page-fishing-games__strategy-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: #017439;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
}

/* Promotions Section */
.page-fishing-games__promotions-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-fishing-games__promotions-list li {
    background-color: #e6f7ed;
    border-left: 5px solid #017439;
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 16px;
    color: #333333;
    text-align: left;
}

.page-fishing-games__promotions-list li strong {
    color: #017439;
}

/* FAQ Section */
details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  text-align: left; /* Override center for text within FAQ */
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
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: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  font-size: 16px;
  color: #555555;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer p {
    margin-bottom: 0; /* Remove default paragraph margin */
}


/* Conclusion Section */
.page-fishing-games__final-cta {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__products-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablet 2 columns */
    }
    .page-fishing-games__guide-steps {
        grid-template-columns: repeat(2, 1fr); /* Tablet 2 columns */
    }
    .page-fishing-games__section-title {
        font-size: 32px;
    }
    .page-fishing-games__hero-title {
        font-size: clamp(32px, 5vw, 48px);
    }
}

@media (max-width: 768px) {
    /* General mobile adjustments */
    .page-fishing-games__section {
        padding: 40px 0;
    }
    .page-fishing-games__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-fishing-games__article-body {
        margin-bottom: 30px;
        font-size: 16px;
        padding-left: 5px;
        padding-right: 5px;
    }
    .page-fishing-games__article-body p,
    .page-fishing-games__article-body li {
        font-size: 15px;
    }
    .page-fishing-games__article-figure {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px auto;
        box-sizing: border-box !important;
    }

    /* HERO Section mobile */
    .page-fishing-games__hero-section {
        padding-top: 10px; /* Small top padding, not var(--header-offset) */
    }
    .page-fishing-games__hero-image-wrapper {
        max-height: 300px;
    }
    .page-fishing-games__hero-image {
        object-fit: contain !important; /* Mobile must contain, not cover */
        aspect-ratio: unset !important; /* Remove aspect ratio for contain */
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__hero-content {
        padding: 20px 10px 40px;
    }
    .page-fishing-games__hero-title {
        font-size: clamp(28px, 8vw, 40px); /* Smaller on mobile */
        margin-bottom: 15px;
    }
    .page-fishing-games__hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-fishing-games__hero-cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding-left: 15px; /* Add padding to container */
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Buttons mobile */
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-play {
        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;
        margin-left: auto;
        margin-right: auto;
    }

    /* Product Grid mobile */
    .page-fishing-games__products-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns, not 6 */
        gap: 15px;
        overflow-x: hidden; /* Prevent horizontal scroll */
        padding-left: 5px;
        padding-right: 5px;
    }
    .page-fishing-games__product-card {
        padding: 15px;
    }
    .page-fishing-games__product-title {
        font-size: 18px;
    }
    .page-fishing-games__product-description {
        font-size: 14px;
    }

    /* Guide Section mobile */
    .page-fishing-games__guide-steps {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__guide-item {
        padding: 20px;
    }
    .page-fishing-games__guide-icon {
        max-width: 100px;
    }
    .page-fishing-games__guide-title {
        font-size: 18px;
    }

    /* Strategies Section mobile */
    .page-fishing-games__strategy-subtitle {
        font-size: 20px;
    }

    /* Promotions Section mobile */
    .page-fishing-games__promotions-list li {
        padding: 12px 15px;
        font-size: 15px;
    }

    /* FAQ Section mobile */
    details.page-fishing-games__faq-item summary.page-fishing-games__faq-question { padding: 15px; }
    .page-fishing-games__faq-qtext { font-size: 15px; }
    details.page-fishing-games__faq-item .page-fishing-games__faq-answer { padding: 0 15px 15px; }

    /* Final CTA mobile */
    .page-fishing-games__final-cta {
        padding-left: 15px;
        padding-right: 15px;
    }
}