/* style/fishing-games.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --background-color: #08160F;
    --card-background: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-fishing-games {
    background-color: var(--background-color);
    color: var(--text-main);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

.page-fishing-games__dark-bg {
    background-color: var(--background-color);
}

.page-fishing-games__light-bg {
    background-color: var(--card-background);
    color: var(--text-main);
}

.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden;
}

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

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

.page-fishing-games__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    position: relative; /* Ensure content is above image but not overlapping */
    z-index: 1;
}

.page-fishing-games__main-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-fishing-games__intro-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
}

.page-fishing-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.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: #ffffff;
    transform: translateY(-2px);
}

.page-fishing-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--text-main);
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
}

.page-fishing-games__section-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

.page-fishing-games__text-secondary {
    color: var(--text-secondary);
}

.page-fishing-games__features-section {
    background-color: var(--background-color);
}

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

.page-fishing-games__feature-card {
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-5px);
}

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

.page-fishing-games__feature-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__feature-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.page-fishing-games__games-showcase-section {
    background-color: var(--background-color);
}

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

.page-fishing-games__game-card {
    background-color: var(--card-background);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
}

.page-fishing-games__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-fishing-games__game-title {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin: 20px 20px 10px 20px;
}

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

.page-fishing-games__game-card .page-fishing-games__btn-primary {
    margin: 0 20px 20px 20px;
}

.page-fishing-games__how-to-play-section {
    background-color: var(--background-color);
}

.page-fishing-games__step-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.page-fishing-games__step-item {
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    position: relative;
    padding-left: 80px;
}

.page-fishing-games__step-item::before {
    counter-increment: step-counter;
    content: "0" counter(step-counter);
    position: absolute;
    left: 25px;
    top: 30px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.page-fishing-games__step-title {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.page-fishing-games__step-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
}

.page-fishing-games__tips-item {
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
}

.page-fishing-games__tips-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-fishing-games__tips-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

.page-fishing-games__app-download-section {
    background-color: var(--background-color);
}

.page-fishing-games__download-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 40px 0;
}

.page-fishing-games__download-text {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.page-fishing-games__download-subtitle {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

.page-fishing-games__download-steps {
    list-style: decimal;
    padding-left: 25px;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.page-fishing-games__download-steps li {
    margin-bottom: 10px;
    font-size: 1rem;
}

.page-fishing-games__download-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    justify-content: center;
}

.page-fishing-games__app-screenshot {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: block;
}

.page-fishing-games__promotions-section {
    background-color: var(--background-color);
}

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

.page-fishing-games__promotion-card {
    background-color: var(--card-background);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.page-fishing-games__promotion-card:hover {
    transform: translateY(-5px);
}

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

.page-fishing-games__promotion-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 20px 20px 10px 20px;
}

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

.page-fishing-games__promotion-card .page-fishing-games__btn-secondary {
    margin: 0 20px 20px 20px;
}

.page-fishing-games__faq-section {
    background-color: var(--background-color);
}

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

.page-fishing-games__faq-item {
    background-color: var(--card-background);
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.page-fishing-games__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item summary:hover {
    background-color: rgba(var(--primary-color), 0.1);
}

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

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    color: var(--text-main);
}

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-left: 15px;
}

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

.page-fishing-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.page-fishing-games__final-cta-section {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-fishing-games__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.6rem, 5vw, 2.5rem);
    }
}

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

    .page-fishing-games__hero-section {
        padding-bottom: 40px;
    }

    .page-fishing-games__hero-image-wrapper {
        max-height: 400px;
    }

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

    .page-fishing-games__intro-text {
        font-size: 1rem;
        margin-bottom: 25px;
    }

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 20px;
        font-size: 0.95rem;
        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-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__promotion-card,
    .page-fishing-games__step-item,
    .page-fishing-games__tips-item,
    .page-fishing-games__faq-item {
        padding: 25px;
    }

    .page-fishing-games__feature-icon {
        max-width: 100px;
    }

    .page-fishing-games__step-item {
        padding-left: 65px;
    }

    .page-fishing-games__step-item::before {
        left: 20px;
        font-size: 1.8rem;
    }

    .page-fishing-games__download-content {
        flex-direction: column;
    }

    .page-fishing-games__download-text,
    .page-fishing-games__download-image-wrapper {
        min-width: unset;
        max-width: 100%;
    }

    /* Images responsive rules */
    .page-fishing-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__game-card,
    .page-fishing-games__promotion-card,
    .page-fishing-games__download-image-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__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__cta-buttons {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__video-section {
        padding-top: 10px !important;
    }

    /* Ensure video elements also respect mobile responsiveness */
    .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;
    }

    /* Specific card/grid padding adjustments for mobile */
    .page-fishing-games__feature-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__promotion-grid {
        gap: 20px;
    }
    .page-fishing-games__game-card .page-fishing-games__btn-primary,
    .page-fishing-games__promotion-card .page-fishing-games__btn-secondary {
        margin: 0 15px 15px 15px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }
    .page-fishing-games__intro-text {
        font-size: 0.9rem;
    }
    .page-fishing-games__feature-title,
    .page-fishing-games__game-title,
    .page-fishing-games__promotion-title {
        font-size: 1.3rem;
    }
    .page-fishing-games__step-title,
    .page-fishing-games__tips-title {
        font-size: 1.2rem;
    }
    .page-fishing-games__download-subtitle {
        font-size: 1.5rem;
    }
    .page-fishing-games__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px 15px 20px;
    }
}