/* style/fishing-games.css */

:root {
    --primary-color: #C91F17;
    --secondary-color: #E53935;
    --card-bg-color: #D32F2F;
    --background-color-page: #B71C1C;
    --text-main-color: #FFF5E1;
    --border-color: #F2B544;
    --glow-color: #FFCC66;
    --gold-color: #F4D34D;
    --deep-red-color: #7A0E0E;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
}

.page-fishing-games {
    color: var(--text-main-color);
    background-color: var(--background-color-page);
    font-family: 'Arial', sans-serif;
    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.8rem;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__section-subtitle {
    font-size: 1.3rem;
    color: var(--text-main-color);
    text-align: center;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

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

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

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem); /* Using clamp for responsive H1 */
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
}

.page-fishing-games__description {
    font-size: 1.1rem;
    color: var(--text-main-color);
    margin-bottom: 30px;
    opacity: 0.9;
}

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

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

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: var(--deep-red-color);
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--gold-color);
    color: var(--deep-red-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__about-section,
.page-fishing-games__advantage-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__conclusion-section {
    padding: 80px 0;
    background-color: var(--background-color-page);
}

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

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

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

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

.page-fishing-games__text-block p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-main-color);
    opacity: 0.9;
}

.page-fishing-games__image-block {
    text-align: center;
}

.page-fishing-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    display: block;
}

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

.page-fishing-games__advantage-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__advantage-card p {
    font-size: 1rem;
    color: var(--text-main-color);
    opacity: 0.8;
}

.page-fishing-games__games-showcase {
    padding: 80px 0;
}

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

.page-fishing-games__game-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 2px solid var(--border-color);
}

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

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

.page-fishing-games__game-card h3 {
    font-size: 1.4rem;
    color: var(--gold-color);
    margin: 20px 0 10px;
    padding: 0 15px;
    font-weight: bold;
}

.page-fishing-games__game-card p {
    font-size: 0.95rem;
    color: var(--text-main-color);
    padding: 0 15px 20px;
    opacity: 0.8;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
    margin-bottom: 20px;
    padding: 10px 20px;
    font-size: 1rem;
}

.page-fishing-games__full-width-cta {
    text-align: center;
    padding: 30px;
    background-color: var(--deep-red-color);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__full-width-cta p {
    font-size: 1.1rem;
    color: var(--text-main-color);
    margin-bottom: 20px;
}

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

.page-fishing-games__step-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__step-icon {
    width: 60px;
    height: 60px;
    background: var(--button-gradient);
    color: var(--deep-red-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__step-description {
    font-size: 1rem;
    color: var(--text-main-color);
    opacity: 0.8;
    margin-bottom: 20px;
}

.page-fishing-games__step-card .page-fishing-games__btn-primary {
    padding: 10px 20px;
    font-size: 0.95rem;
}

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

.page-fishing-games__strategy-section {
    padding: 80px 0;
}

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

.page-fishing-games__strategy-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--border-color);
}

.page-fishing-games__strategy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__strategy-card h3 {
    font-size: 1.4rem;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__strategy-card p {
    font-size: 1rem;
    color: var(--text-main-color);
    opacity: 0.8;
}

.page-fishing-games__promotions-section {
    padding: 80px 0;
}

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

.page-fishing-games__promo-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.page-fishing-games__promo-title {
    font-size: 1.4rem;
    color: var(--gold-color);
    margin: 20px 0 10px;
    padding: 0 15px;
    font-weight: bold;
}

.page-fishing-games__promo-description {
    font-size: 0.95rem;
    color: var(--text-main-color);
    padding: 0 15px 20px;
    opacity: 0.8;
}

.page-fishing-games__promo-card .page-fishing-games__btn-primary {
    margin-bottom: 20px;
    padding: 10px 20px;
    font-size: 1rem;
}

.page-fishing-games__faq-section {
    padding: 80px 0;
}

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

.page-fishing-games__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--gold-color);
    cursor: pointer;
    background-color: var(--deep-red-color);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-question:hover {
    background-color: rgba(122, 14, 14, 0.8);
}

.page-fishing-games__faq-toggle {
    font-size: 1.8rem;
    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: 20px;
    font-size: 1rem;
    color: var(--text-main-color);
    opacity: 0.8;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__conclusion-section {
    text-align: center;
    padding: 80px 0;
    background-color: var(--background-color-page);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-fishing-games__section-title {
        font-size: 2.2rem;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 6vw, 3.2rem);
    }
    .page-fishing-games__grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__image-block {
        order: -1; /* Image above text on smaller screens */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__container {
        padding: 0 15px !important;
    }
    .page-fishing-games__hero-section {
        padding: 40px 0;
        padding-top: 10px !important;
    }
    .page-fishing-games__hero-image-wrapper {
        margin-bottom: 30px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
    }
    .page-fishing-games__description {
        font-size: 1rem;
    }
    .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: 12px 20px !important;
        font-size: 1rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__section-title {
        font-size: 1.8rem;
    }
    .page-fishing-games__section-subtitle {
        font-size: 1.1rem;
    }
    .page-fishing-games__about-section,
    .page-fishing-games__advantage-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__conclusion-section,
    .page-fishing-games__games-showcase,
    .page-fishing-games__strategy-section,
    .page-fishing-games__faq-section {
        padding: 50px 0;
    }

    /* 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__image-block,
    .page-fishing-games__text-block,
    .page-fishing-games__advantage-card,
    .page-fishing-games__game-card,
    .page-fishing-games__step-card,
    .page-fishing-games__strategy-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__faq-item,
    .page-fishing-games__full-width-cta {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    .page-fishing-games__games-showcase .page-fishing-games__game-image,
    .page-fishing-games__promotions-section .page-fishing-games__promo-image {
        height: auto !important; /* Allow height to be auto on mobile for better aspect ratio */
    }

    .page-fishing-games__game-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__advantages-grid,
    .page-fishing-games__guide-steps,
    .page-fishing-games__strategy-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__section-title {
        font-size: 1.6rem;
    }
    .page-fishing-games__section-subtitle {
        font-size: 1rem;
    }
    .page-fishing-games__card-title,
    .page-fishing-games__game-title,
    .page-fishing-games__step-title,
    .page-fishing-games__promo-title {
        font-size: 1.3rem;
    }
    .page-fishing-games__faq-question {
        font-size: 1rem;
    }
    .page-fishing-games__faq-answer p {
        font-size: 0.9rem;
    }
}

/* Ensure content area images are at least 200x200px */
.page-fishing-games img {
    min-width: 200px;
    min-height: 200px;
}

/* Specific override for game/promo images to ensure minimum size for content display */
.page-fishing-games__game-image,
.page-fishing-games__promo-image {
    min-width: 200px;
    min-height: 150px; /* Can be slightly less than 200 if it's a card header image that scales */
}

/* No CSS filters for images */
.page-fishing-games img {
    filter: none;
}