/* style/fishing-games.css */

/* Custom properties for colors from the provided scheme */
:root {
    --page-fishing-games-bg: #08160F;
    --page-fishing-games-card-bg: #11271B;
    --page-fishing-games-text-main: #F2FFF6;
    --page-fishing-games-text-secondary: #A7D9B8;
    --page-fishing-games-border: #2E7A4E;
    --page-fishing-games-glow: #57E38D;
    --page-fishing-games-gold: #F2C14E;
    --page-fishing-games-divider: #1E3A2A;
    --page-fishing-games-deep-green: #0A4B2C;
    --page-fishing-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

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

.page-fishing-games__section-title {
    font-size: clamp(2em, 4vw, 2.8em);
    color: var(--page-fishing-games-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__text-block {
    margin-bottom: 20px;
    color: var(--page-fishing-games-text-secondary);
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
    order: 1; /* Image appears first */
}

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

.page-fishing-games__hero-content {
    order: 2; /* Content appears after image */
    text-align: center;
    max-width: 900px;
    z-index: 1;
    padding: 20px;
    box-sizing: border-box;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.2em);
    color: var(--page-fishing-games-gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-fishing-games__description {
    font-size: clamp(1em, 2vw, 1.2em);
    color: var(--page-fishing-games-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
}

.page-fishing-games__btn-primary {
    background: var(--page-fishing-games-btn-gradient);
    color: var(--page-fishing-games-text-main);
    border: 2px solid transparent;
    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);
    opacity: 0.9;
}

.page-fishing-games__btn-secondary {
    background: var(--page-fishing-games-card-bg);
    color: var(--page-fishing-games-glow);
    border: 2px solid var(--page-fishing-games-glow);
    box-shadow: 0 5px 15px rgba(87, 227, 141, 0.2);
}

.page-fishing-games__btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--page-fishing-games-glow);
    color: var(--page-fishing-games-card-bg);
    box-shadow: 0 8px 20px rgba(87, 227, 141, 0.4);
}

.page-fishing-games__intro-section,
.page-fishing-games__guide-section,
.page-fishing-games__security-section,
.page-fishing-games__final-cta-section {
    padding: 60px 0;
    background-color: var(--page-fishing-games-bg);
}

.page-fishing-games__features-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
    padding: 60px 0;
    background-color: var(--page-fishing-games-deep-green);
}

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

.page-fishing-games__feature-card,
.page-fishing-games__promo-card,
.page-fishing-games__security-item,
.page-fishing-games__card {
    background-color: var(--page-fishing-games-card-bg);
    border: 1px solid var(--page-fishing-games-border);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}

.page-fishing-games__feature-card:hover,
.page-fishing-games__promo-card:hover,
.page-fishing-games__security-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__feature-image,
.page-fishing-games__promo-image,
.page-fishing-games__security-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-fishing-games__card-title {
    font-size: 1.4em;
    color: var(--page-fishing-games-text-main);
    margin-bottom: 10px;
    font-weight: bold;
}

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

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

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

.page-fishing-games__guide-title {
    font-size: 1.6em;
    color: var(--page-fishing-games-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__guide-item .page-fishing-games__text-block {
    color: var(--page-fishing-games-text-secondary);
    text-align: left;
}

.page-fishing-games__guide-item a {
    color: var(--page-fishing-games-glow);
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games__guide-item a:hover {
    text-decoration: underline;
}

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

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

.page-fishing-games__faq-item details > summary {
    list-style: none;
}

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--page-fishing-games-text-main);
    cursor: pointer;
    background-color: var(--page-fishing-games-deep-green);
    border-radius: 10px;
}

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

.page-fishing-games__faq-question:hover .page-fishing-games__faq-toggle {
    color: var(--page-fishing-games-bg);
}

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

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-fishing-games-glow);
    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 20px 20px;
    font-size: 1em;
    color: var(--page-fishing-games-text-secondary);
    text-align: left;
    border-top: 1px solid var(--page-fishing-games-divider);
}

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

.page-fishing-games__faq-answer a {
    color: var(--page-fishing-games-glow);
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games__faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        padding: 15px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2.2em, 4.5vw, 3em);
    }
    .page-fishing-games__description {
        font-size: clamp(0.9em, 1.8vw, 1.1em);
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.8em, 3.5vw, 2.5em);
    }
    .page-fishing-games__feature-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__security-item,
    .page-fishing-games__guide-item {
        padding: 20px;
    }
    .page-fishing-games__card-title {
        font-size: 1.3em;
    }
    .page-fishing-games__guide-title {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 15px;
    }
    .page-fishing-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }
    .page-fishing-games__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-fishing-games__hero-content {
        padding: 10px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2em, 8vw, 2.5em);
    }
    .page-fishing-games__description {
        font-size: clamp(0.9em, 3vw, 1em);
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
        margin: 0;
    }
    .page-fishing-games__container,
    .page-fishing-games__intro-section,
    .page-fishing-games__features-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__security-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__final-cta-section {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .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__section-title {
        font-size: clamp(1.6em, 6vw, 2em);
    }
    .page-fishing-games__text-block {
        text-align: left;
    }
    .page-fishing-games__feature-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__security-item,
    .page-fishing-games__guide-item {
        margin-bottom: 20px;
    }
    .page-fishing-games__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-fishing-games__faq-answer {
        padding: 10px 15px 15px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-section {
        padding: 30px 10px;
        padding-top: 10px !important;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 9vw, 2.2em);
    }
    .page-fishing-games__description {
        font-size: 0.9em;
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.4em, 7vw, 1.8em);
    }
    .page-fishing-games__cta-buttons {
        gap: 10px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 10px 15px;
        font-size: 0.9em;
    }
    .page-fishing-games__faq-question {
        font-size: 0.9em;
        padding: 12px;
    }
    .page-fishing-games__faq-toggle {
        font-size: 1.2em;
    }
    .page-fishing-games__faq-answer {
        font-size: 0.9em;
    }
}