/* style/fishing-games.css */
:root {
    --primary-color: #E53935;
    --secondary-color: #FF5A4F;
    --text-main-color: #333333;
    --bg-card-color: #FFFFFF;
    --bg-body-color: #F5F7FA;
    --border-color: #E0E0E0;
}

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

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #ffffff;
}

.page-fishing-games__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-fishing-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-fishing-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-fishing-games__main-title {
    font-size: clamp(2em, 5vw, 3.2em);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

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

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-fishing-games__content-section,
.page-fishing-games__features-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__game-types-section,
.page-fishing-games__tips-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
    padding: 80px 0;
    text-align: center;
}

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

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.page-fishing-games__section-title--white {
    color: #ffffff;
}

.page-fishing-games__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__paragraph--white {
    color: #f0f0f0;
}

.page-fishing-games__btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: #ffffff;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: 2px solid var(--primary-color);
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

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

.page-fishing-games__feature-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__feature-card img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

.page-fishing-games__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: 600;
    color: #ffffff;
}

.page-fishing-games__feature-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* How-To-Play List */
.page-fishing-games__steps-list {
    list-style: none;
    counter-reset: step-counter;
    text-align: left;
    max-width: 800px;
    margin: 40px auto 0;
    padding: 0;
}

.page-fishing-games__steps-list li {
    counter-increment: step-counter;
    margin-bottom: 25px;
    padding-left: 50px;
    position: relative;
}

.page-fishing-games__steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

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

.page-fishing-games__steps-list li p {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Game Cards Grid */
.page-fishing-games__game-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__game-card {
    background: var(--bg-card-color);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: var(--text-main-color);
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__game-card img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

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

.page-fishing-games__game-description {
    font-size: 0.95em;
    color: #666666;
}

/* Tips List */
.page-fishing-games__tips-list {
    list-style: none;
    text-align: left;
    max-width: 900px;
    margin: 40px auto 0;
    padding: 0;
}

.page-fishing-games__tips-list li {
    background: var(--bg-card-color);
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-color);
}

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

.page-fishing-games__tips-list li p {
    font-size: 1em;
    color: #555555;
}

/* Promotions List */
.page-fishing-games__promo-list {
    list-style: none;
    text-align: left;
    max-width: 900px;
    margin: 40px auto 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-fishing-games__promo-list li {
    background: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #ffffff;
    border-left: 5px solid var(--secondary-color);
}

.page-fishing-games__promo-title {
    font-size: 1.3em;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-fishing-games__promo-list li p {
    font-size: 1em;
    color: #f0f0f0;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

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

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}

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

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
    background: #f5f5f5;
}

.page-fishing-games__faq-qtext {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--primary-color);
}

.page-fishing-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #666;
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 20px 20px;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: #555;
    font-size: 1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__paragraph {
        font-size: 1em;
    }
    .page-fishing-games__hero-image img {
        border-radius: 6px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__main-title {
        font-size: 2em;
    }
    .page-fishing-games__intro-text {
        font-size: 0.95em;
    }
    .page-fishing-games__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__content-section,
    .page-fishing-games__features-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section {
        padding: 50px 0;
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__feature-card,
    .page-fishing-games__game-card {
        padding: 20px;
    }
    .page-fishing-games__feature-title,
    .page-fishing-games__game-title {
        font-size: 1.3em;
    }
    .page-fishing-games__steps-list li {
        padding-left: 45px;
    }
    .page-fishing-games__steps-list li::before {
        width: 30px;
        height: 30px;
        font-size: 1em;
    }
    .page-fishing-games__tip-title,
    .page-fishing-games__promo-title {
        font-size: 1.2em;
    }

    details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
        padding: 15px;
    }
    .page-fishing-games__faq-qtext {
        font-size: 15px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 15px 15px;
    }

    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__btn-container {
        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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-section {
        padding-bottom: 30px;
    }
    .page-fishing-games__main-title {
        font-size: 1.8em;
    }
    .page-fishing-games__intro-text {
        font-size: 0.9em;
    }
    .page-fishing-games__cta-button {
        font-size: 15px;
        padding: 10px 25px;
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__game-cards-grid,
    .page-fishing-games__promo-list {
        grid-template-columns: 1fr;
    }
}