/* style/fishing-games.css */

/* --- Base Styles & Variables --- */
:root {
    --page-bg: #08160F; /* Background */
    --card-bg: #11271B; /* Card BG */
    --text-main: #F2FFF6; /* Text Main */
    --text-secondary: #A7D9B8; /* Text Secondary */
    --border-color: #2E7A4E; /* Border */
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    --glow-color: #57E38D; /* Glow */
    --gold-color: #F2C14E; /* Gold */
    --divider-color: #1E3A2A; /* Divider */
    --deep-green: #0A4B2C; /* Deep Green */
}

.page-fishing-games {
    background-color: var(--page-bg);
    color: var(--text-main); /* Ensure contrast with dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Add some padding at the bottom for aesthetic */
}

/* --- Utility Classes --- */
.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.5em;
    color: var(--gold-color); /* Use gold for section titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); /* Subtle glow */
}

.page-fishing-games__description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--text-secondary);
}

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

.page-fishing-games__highlight {
    color: var(--gold-color);
    font-weight: bold;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games a[class*="button"],
.page-fishing-games a[class*="btn"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
    min-width: 180px; /* Minimum width for buttons */
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main); /* Light text on dark button */
    border: none;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--gold-color); /* Gold text on transparent button */
    border: 2px solid var(--gold-color);
}

.page-fishing-games__btn-secondary:hover {
    background-color: rgba(242, 193, 78, 0.1);
    transform: translateY(-3px);
}

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

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit hero image height */
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-fishing-games__hero-content {
    max-width: 900px;
    padding: 0 20px;
    margin-bottom: 60px; /* Space after hero content */
}


/* --- Introduction Section --- */
.page-fishing-games__introduction-section {
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--divider-color);
}

.page-fishing-games__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* --- Popular Games Section --- */
.page-fishing-games__popular-games-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--divider-color);
}

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

.page-fishing-games__card {
    background-color: var(--card-bg); /* Darker green background for cards */
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(87, 227, 141, 0.6);
}

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

.page-fishing-games__card-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-fishing-games__card-text {
    font-size: 0.95em;
    color: var(--text-secondary);
    margin-bottom: 20px;
    padding: 0 15px;
}

.page-fishing-games__card-button {
    background: var(--button-gradient);
    color: var(--text-main);
    padding: 10px 25px;
    border-radius: 6px;
    font-size: 0.95em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

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

/* --- How To Play Section --- */
.page-fishing-games__how-to-play-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--divider-color);
    text-align: center;
}

.page-fishing-games__ordered-list {
    list-style: none;
    counter-reset: how-to-step;
    padding: 0;
    margin-top: 40px;
    text-align: left;
}

.page-fishing-games__list-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 25px;
    padding: 25px 30px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding-left: 80px;
}

.page-fishing-games__list-item::before {
    counter-increment: how-to-step;
    content: counter(how-to-step);
    position: absolute;
    left: 25px;
    top: 25px;
    width: 40px;
    height: 40px;
    background-color: var(--gold-color);
    color: var(--page-bg); /* Dark text on gold number */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

.page-fishing-games__list-title {
    font-size: 1.3em;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-fishing-games__list-text {
    font-size: 1em;
    color: var(--text-main);
}
.page-fishing-games__list-text a {
    color: var(--glow-color); /* Links in list items */
    text-decoration: none;
    font-weight: bold;
}
.page-fishing-games__list-text a:hover {
    text-decoration: underline;
}

/* --- Features Section --- */
.page-fishing-games__features-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--divider-color);
}

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

.page-fishing-games__feature-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.page-fishing-games__feature-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-fishing-games__feature-text {
    font-size: 1em;
    color: var(--text-main);
}
.page-fishing-games__feature-text a {
    color: var(--glow-color);
    text-decoration: none;
}
.page-fishing-games__feature-text a:hover {
    text-decoration: underline;
}

/* --- Advantages Section --- */
.page-fishing-games__advantages-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--divider-color);
}

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

.page-fishing-games__advantage-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.page-fishing-games__advantage-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-fishing-games__advantage-text {
    font-size: 1em;
    color: var(--text-main);
}
.page-fishing-games__advantage-text a {
    color: var(--glow-color);
    text-decoration: none;
}
.page-fishing-games__advantage-text a:hover {
    text-decoration: underline;
}

/* --- FAQ Section --- */
.page-fishing-games__faq-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--divider-color);
}

.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(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    color: var(--gold-color);
    font-weight: bold;
    cursor: pointer;
    background-color: var(--deep-green); /* Slightly different background for question header */
    transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    background-color: var(--border-color);
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 20px;
    color: var(--text-main);
}

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

.page-fishing-games__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--text-secondary);
    background-color: var(--card-bg);
}
.page-fishing-games__faq-answer p {
    margin-bottom: 0; /* Remove default paragraph margin */
}
.page-fishing-games__faq-answer a {
    color: var(--glow-color);
    text-decoration: none;
}
.page-fishing-games__faq-answer a:hover {
    text-decoration: underline;
}

/* --- Call to Action Bottom Section --- */
.page-fishing-games__cta-bottom-section {
    padding: 60px 0;
    text-align: center;
}

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

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games__hero-section {
        padding: 30px 0;
        padding-top: 10px !important; /* Ensure small top padding */
    }
    .page-fishing-games__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-fishing-games__hero-content {
        margin-bottom: 40px;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }
    .page-fishing-games__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to container of buttons */
    }
    .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;
        padding: 12px 20px;
        font-size: 1em;
        min-width: unset; /* Remove min-width on mobile */
    }

    /* Images responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__card-image {
        height: 180px; /* Adjust card image height for mobile */
    }

    /* Containers responsive */
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__game-cards,
    .page-fishing-games__feature-grid,
    .page-fishing-games__advantages-list,
    .page-fishing-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__list-item {
        padding-left: 65px;
        padding: 20px 20px 20px 65px;
    }
    .page-fishing-games__list-item::before {
        left: 15px;
        top: 20px;
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }
    .page-fishing-games__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-fishing-games__faq-answer {
        padding: 15px 20px;
    }
}

/* Ensure no CSS filter on images */
.page-fishing-games img {
    filter: none !important;
}

/* Video specific styles (not explicitly used in this page, but for completeness if added later) */
.page-fishing-games video,
.page-fishing-games__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-fishing-games__video-section,
.page-fishing-games__video-container,
.page-fishing-games__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .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;
  }
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}