/* style/fishing-games.css */

/* Custom Colors */
:root {
    --fishing-games-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --fishing-games-card-bg: #111111;
    --fishing-games-background: #0A0A0A;
    --fishing-games-text-main: #FFF6D6;
    --fishing-games-border: #3A2A12;
    --fishing-games-glow: #FFD36B;
}

.page-fishing-games {
    color: var(--fishing-games-text-main); /* Default text color for the page */
    background-color: var(--fishing-games-background); /* Overall page background */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--fishing-games-background);
    text-align: center;
    overflow: hidden;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 211, 107, 0.5);
}

.page-fishing-games__hero-content {
    max-width: 900px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--fishing-games-glow); /* Using glow for main title for impact */
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.7);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-fishing-games__intro-text {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--fishing-games-text-main);
}

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

/* General Section Styling */
.page-fishing-games__section {
    padding: 60px 0;
    background-color: var(--fishing-games-background);
}

.page-fishing-games__dark-section {
    background-color: var(--fishing-games-background);
    color: var(--fishing-games-text-main);
}

.page-fishing-games__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--fishing-games-glow);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.5);
}

.page-fishing-games__description {
    font-size: 1.05rem;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--fishing-games-text-main);
}

/* Cards */
.page-fishing-games__card {
    background-color: var(--fishing-games-card-bg);
    border: 1px solid var(--fishing-games-border);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 211, 107, 0.2);
}

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

.page-fishing-games__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--fishing-games-glow);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-fishing-games__card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--fishing-games-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;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
}

.page-fishing-games__btn-primary {
    background: var(--fishing-games-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-fishing-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

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

.page-fishing-games__btn-secondary:hover {
    background: rgba(255, 211, 107, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.2);
}

/* About Fishing Games Section */
.page-fishing-games__about-fishing-games p {
    margin-bottom: 15px;
}

.page-fishing-games__grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-fishing-games__text-block {
    color: var(--fishing-games-text-main);
}

.page-fishing-games__image-block {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 211, 107, 0.3);
}

/* Features Section */
.page-fishing-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-fishing-games__feature-card {
    padding: 30px;
}

/* Game Versions Section */
.page-fishing-games__game-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
    margin-top: 20px;
    width: calc(100% - 30px); /* Adjust for padding in mobile */
}

/* Guide Section */
.page-fishing-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-fishing-games__step-card {
    padding: 30px;
    position: relative;
}

.page-fishing-games__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--fishing-games-button-gradient);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(255, 216, 106, 0.5);
    border: 3px solid var(--fishing-games-background);
}

.page-fishing-games__step-card .page-fishing-games__card-title {
    margin-top: 20px;
}

.page-fishing-games__step-card .page-fishing-games__btn-secondary {
    margin-top: 20px;
    width: calc(100% - 30px); /* Adjust for padding in mobile */
}

/* Promotions Section */
.page-fishing-games__promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-fishing-games__promo-card .page-fishing-games__btn-primary {
    margin-top: 20px;
    width: calc(100% - 30px); /* Adjust for padding in mobile */
}

/* Why Choose Us Section */
.page-fishing-games__advantage-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-fishing-games__advantage-item {
    padding: 30px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-fishing-games__faq-item {
    padding: 0;
    border: 1px solid var(--fishing-games-border);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--fishing-games-card-bg);
}

.page-fishing-games__faq-item[open] {
    box-shadow: 0 5px 15px rgba(255, 211, 107, 0.2);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--fishing-games-glow);
    cursor: pointer;
    background-color: var(--fishing-games-card-bg);
    border-bottom: 1px solid var(--fishing-games-border);
    transition: background-color 0.3s ease;
    list-style: none;
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none;
}

.page-fishing-games__faq-question:hover {
    background-color: rgba(255, 211, 107, 0.05);
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    text-align: left;
    line-height: 1.4;
}

.page-fishing-games__faq-toggle {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    margin-left: 20px;
    color: var(--fishing-games-glow);
}

.page-fishing-games__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--fishing-games-text-main);
    border-top: none;
}

.page-fishing-games__faq-answer p {
    margin-bottom: 0;
}

.page-fishing-games__faq-answer a {
    color: var(--fishing-games-glow);
    text-decoration: underline;
}

/* Conclusion Section */
.page-fishing-games__conclusion .page-fishing-games__cta-buttons {
    margin-top: 40px;
}

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

    .page-fishing-games__section-title {
        font-size: 2rem;
    }

    .page-fishing-games__grid-layout {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__image-block {
        order: -1;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__container {
        padding: 0 15px;
    }

    .page-fishing-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Ensure small top padding on mobile */
    }

    .page-fishing-games__section {
        padding: 40px 0;
    }

    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-fishing-games__intro-text {
        font-size: 1rem;
    }

    .page-fishing-games__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-fishing-games__description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

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

    /* Mobile image responsiveness */
    .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__image-block,
    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__step-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__advantage-item,
    .page-fishing-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile button responsiveness */
    .page-fishing-games__cta-button,
    .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;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

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

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

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

    .page-fishing-games__grid-layout,
    .page-fishing-games__features-grid,
    .page-fishing-games__game-list,
    .page-fishing-games__guide-steps,
    .page-fishing-games__promo-cards,
    .page-fishing-games__advantage-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__step-number {
        top: -15px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .page-fishing-games__card-image {
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }

    .page-fishing-games__section-title {
        font-size: 1.6rem;
    }

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