/* style/fishing-games.css */

/* Custom Colors */
:root {
    --dwin-green-primary: #11A84E;
    --dwin-green-secondary: #22C768;
    --dwin-bg-dark: #08160F;
    --dwin-card-bg: #11271B;
    --dwin-text-main: #F2FFF6;
    --dwin-text-secondary: #A7D9B8;
    --dwin-border: #2E7A4E;
    --dwin-glow: #57E38D;
    --dwin-gold: #F2C14E;
    --dwin-divider: #1E3A2A;
    --dwin-deep-green: #0A4B2C;
    --dwin-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--dwin-text-main);
    background-color: var(--dwin-bg-dark); /* Ensure body background is dark */
    line-height: 1.6;
}

.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(--dwin-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--dwin-text-secondary);
    text-align: center;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-fishing-games__btn-primary {
    background: var(--dwin-btn-gradient);
    color: #ffffff; /* White text for contrast */
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

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

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

.page-fishing-games__btn-secondary:hover {
    background: var(--dwin-green-secondary);
    color: var(--dwin-text-main);
    transform: translateY(-2px);
}

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

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

.page-fishing-games__hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
    padding: 0 20px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.8em); /* Responsive H1 */
    color: var(--dwin-gold);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

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

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

/* Introduction Section */
.page-fishing-games__introduction-section {
    background-color: var(--dwin-bg-dark);
    padding: 80px 0;
    text-align: center;
}

/* Features Section */
.page-fishing-games__features-section {
    background-color: var(--dwin-card-bg);
    padding: 80px 0;
}

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

.page-fishing-games__feature-card {
    background-color: var(--dwin-deep-green);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__feature-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

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

.page-fishing-games__feature-description {
    font-size: 1em;
    color: var(--dwin-text-secondary);
}

/* Gameplay Guide Section */
.page-fishing-games__gameplay-guide {
    background-color: var(--dwin-bg-dark);
    padding: 80px 0;
    text-align: center;
}

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

.page-fishing-games__step-item {
    background-color: var(--dwin-card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-top: 60px;
}

.page-fishing-games__step-number {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--dwin-green-primary);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 700;
    border: 3px solid var(--dwin-gold);
}

.page-fishing-games__step-title {
    font-size: 1.4em;
    color: var(--dwin-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

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

/* Tips & Strategies Section */
.page-fishing-games__tips-strategies {
    background-color: var(--dwin-card-bg);
    padding: 80px 0;
}

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

.page-fishing-games__tip-item {
    background-color: var(--dwin-deep-green);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__tip-description {
    font-size: 0.95em;
    color: var(--dwin-text-secondary);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    background-color: var(--dwin-bg-dark);
    padding: 80px 0;
    text-align: center;
}

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

.page-fishing-games__promotion-card {
    background-color: var(--dwin-card-bg);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__promotion-image {
    width: 100%;
    height: 200px; /* Consistent image height */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__promotion-title {
    font-size: 1.4em;
    color: var(--dwin-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__promotion-description {
    font-size: 0.95em;
    color: var(--dwin-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    background-color: var(--dwin-bg-dark);
    padding: 80px 0;
}

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

.page-fishing-games__faq-item {
    background-color: var(--dwin-card-bg);
    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;
    cursor: pointer;
    background-color: var(--dwin-deep-green);
    color: var(--dwin-text-main);
    font-weight: 600;
    font-size: 1.15em;
    border-bottom: 1px solid var(--dwin-divider);
    list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none; /* For details/summary */
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    border-bottom: 1px solid var(--dwin-divider);
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--dwin-gold);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
    padding: 15px 25px 20px;
    background-color: var(--dwin-card-bg);
    color: var(--dwin-text-secondary);
    font-size: 1em;
    line-height: 1.6;
}

/* CTA Bottom Section */
.page-fishing-games__cta-bottom {
    background-color: var(--dwin-bg-dark);
    padding: 80px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__hero-image {
        height: 500px;
    }
    .page-fishing-games__feature-image,
    .page-fishing-games__promotion-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding: 40px 0;
        padding-top: 10px !important; /* body handles header offset */
    }
    .page-fishing-games__hero-image {
        height: 300px;
        margin-bottom: 20px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2em, 8vw, 2.8em);
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__text-block {
        font-size: 1em;
    }
    .page-fishing-games__feature-card,
    .page-fishing-games__step-item,
    .page-fishing-games__tip-item,
    .page-fishing-games__promotion-card {
        padding: 20px;
    }
    .page-fishing-games__feature-image,
    .page-fishing-games__promotion-image {
        height: 150px;
    }
    .page-fishing-games__feature-title,
    .page-fishing-games__step-title,
    .page-fishing-games__tip-title,
    .page-fishing-games__promotion-title {
        font-size: 1.2em;
    }
    .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__hero-section,
    .page-fishing-games__introduction-section,
    .page-fishing-games__features-section,
    .page-fishing-games__gameplay-guide,
    .page-fishing-games__tips-strategies,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-bottom {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    .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-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 9vw, 2.5em);
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__cta-buttons {
        gap: 10px;
    }
    .page-fishing-games__feature-image,
    .page-fishing-games__promotion-image {
        height: 120px;
    }
}