/* style/fishing-games.css */

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

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--shbet800-text-main); /* Default text color for dark background */
    background-color: var(--shbet800-background); /* Default background for the page */
}

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

.page-fishing-games__section-title {
    font-size: 2.8rem;
    color: var(--shbet800-gold);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-fishing-games__section-description {
    font-size: 1.1rem;
    color: var(--shbet800-text-secondary);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

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

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height to prevent excessive image size */
    overflow: hidden;
    margin-bottom: 40px;
}

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

.page-fishing-games__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    position: relative; /* Ensure content is above image if any overlap occurs */
    z-index: 10;
}

.page-fishing-games__main-title {
    color: var(--shbet800-gold);
    font-weight: bold;
    line-height: 1.3;
    letter-spacing: 0.03em;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

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

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

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

.page-fishing-games__btn-primary {
    background: var(--shbet800-button-gradient);
    color: var(--shbet800-text-main);
    border: 2px solid var(--shbet800-green-primary);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
    opacity: 0.9;
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--shbet800-gold);
    border: 2px solid var(--shbet800-gold);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

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

/* General Content Sections */
.page-fishing-games__intro-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__faq-section {
    background-color: #f5f5f5; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
    padding: 60px 0;
}

.page-fishing-games__advantages-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__tips-section,
.page-fishing-games__promotions-section,
.page-fishing-games__cta-section {
    background-color: var(--shbet800-background); /* Dark background */
    color: var(--shbet800-text-main); /* Light text for dark background */
    padding: 60px 0;
}

.page-fishing-games__light-bg {
    background-color: #f5f5f5;
    color: #333333;
}

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

.page-fishing-games__text-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: inherit;
    margin-bottom: 40px;
}

.page-fishing-games__text-block p {
    max-width: 800px;
    text-align: justify;
    color: inherit;
}

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

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

.page-fishing-games__image-right {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
    max-width: 50%;
}

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

.page-fishing-games__advantage-card,
.page-fishing-games__game-card,
.page-fishing-games__step-card,
.page-fishing-games__promo-card {
    background-color: var(--shbet800-card-bg);
    border: 1px solid var(--shbet800-border);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--shbet800-text-main);
}

.page-fishing-games__game-card.page-fishing-games__card-bg-light {
    background-color: #ffffff;
    color: #333333;
    border-color: #e0e0e0;
}

.page-fishing-games__advantage-card:hover,
.page-fishing-games__game-card:hover,
.page-fishing-games__step-card:hover,
.page-fishing-games__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__card-title {
    font-size: 1.6rem;
    color: var(--shbet800-gold);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.4;
}

.page-fishing-games__game-card .page-fishing-games__card-title {
    color: var(--shbet800-green-primary);
}

.page-fishing-games__card-description {
    font-size: 1rem;
    color: var(--shbet800-text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

.page-fishing-games__game-card .page-fishing-games__card-description {
    color: #555555;
}

.page-fishing-games__text-link {
    color: var(--shbet800-green-secondary);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-fishing-games__text-link:hover {
    color: var(--shbet800-gold);
    text-decoration: underline;
}

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

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

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

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

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

.page-fishing-games__step-title {
    font-size: 1.8rem;
    color: var(--shbet800-green-secondary);
    margin-bottom: 20px;
    font-weight: bold;
}

/* Tips and Strategies */
.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--shbet800-text-secondary);
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-fishing-games__tip-item {
    background-color: var(--shbet800-card-bg);
    border: 1px solid var(--shbet800-divider);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__tip-title {
    font-size: 1.5rem;
    color: var(--shbet800-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

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

/* FAQ Section */
.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-fishing-games__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-fishing-games__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--shbet800-green-primary);
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item summary:hover {
    background-color: #f0f0f0;
}

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

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1rem;
    line-height: 1.7;
    color: #555555;
    border-top: 1px solid #eee;
}

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

/* Final CTA Section */
.page-fishing-games__cta-section {
    padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__section-title {
        font-size: 2.2rem;
    }
    .page-fishing-games__hero-image-wrapper {
        max-height: 500px;
    }
    .page-fishing-games__main-title {
        font-size: 2.5rem;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1rem;
    }
    .page-fishing-games__image-right {
        float: none;
        margin: 30px auto;
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__hero-section {
        padding-bottom: 60px;
    }
    .page-fishing-games__hero-image-wrapper {
        max-height: 300px;
    }
    .page-fishing-games__hero-image {
        border-radius: 10px;
    }
    .page-fishing-games__main-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    .page-fishing-games__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    .page-fishing-games__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .page-fishing-games__text-block {
        font-size: 1rem;
        gap: 20px;
    }
    .page-fishing-games__image-content {
        margin: 20px auto;
        border-radius: 8px;
    }
    .page-fishing-games__grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__step-grid,
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__card-title {
        font-size: 1.4rem;
    }
    .page-fishing-games__card-description {
        font-size: 0.95rem;
    }
    .page-fishing-games__step-title {
        font-size: 1.6rem;
    }
    .page-fishing-games__tip-title {
        font-size: 1.3rem;
    }
    .page-fishing-games__tips-list {
        font-size: 1rem;
    }
    .page-fishing-games__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        font-size: 0.95rem;
        padding: 10px 20px 15px 20px;
    }
    /* 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__hero-section,
    .page-fishing-games__intro-section,
    .page-fishing-games__advantages-section,
    .page-fishing-games__popular-games-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section,
    .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;
        overflow: hidden !important;
    }
    .page-fishing-games__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: 1.6rem;
    }
    .page-fishing-games__section-title {
        font-size: 1.6rem;
    }
    .page-fishing-games__card-title {
        font-size: 1.2rem;
    }
    .page-fishing-games__step-title {
        font-size: 1.4rem;
    }
    .page-fishing-games__tip-title {
        font-size: 1.1rem;
    }
    .page-fishing-games__hero-image-wrapper {
        max-height: 200px;
    }
}