/* style/fishing-games.css */

/* Custom properties for colors */
:root {
    --page-bg-color: #0D0E12;
    --card-bg-color: #17191F;
    --text-main-color: #FFF3E6;
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange-color: #D96800;
}

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

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-fishing-games__sub-section-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-main-color);
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    margin-bottom: 30px;
}

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

.page-fishing-games__hero-content {
    text-align: center;
    padding: 20px;
    max-width: 900px;
    margin-top: 20px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__description {
    font-size: 1.2em;
    color: var(--text-main-color);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.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: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    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: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
    color: var(--text-main-color);
    border: 2px solid var(--primary-color);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-main-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
    padding: 80px 20px;
    background-color: var(--page-bg-color);
}

.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-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-fishing-games__feature-icon {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 10px;
    min-width: 200px;
    min-height: 200px;
}

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

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

/* Game Showcase Section */
.page-fishing-games__game-showcase-section {
    padding: 80px 20px;
    background-color: var(--page-bg-color);
}

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

.page-fishing-games__game-card {
    background-color: var(--card-bg-color);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-fishing-games__game-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 10px;
    min-width: 200px;
    min-height: 200px;
}

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

.page-fishing-games__game-description {
    color: var(--text-main-color);
    font-size: 0.95em;
    margin-bottom: 20px;
}

.page-fishing-games__btn-play {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
    color: var(--text-main-color);
    border: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(255, 140, 26, 0.3);
}

.page-fishing-games__guide-text {
    margin-top: 60px;
    padding: 30px;
    background-color: var(--card-bg-color);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
    padding: 80px 20px;
    background-color: var(--page-bg-color);
}

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

.page-fishing-games__step-card {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    position: relative;
    padding-top: 60px; /* Space for step number */
}

.page-fishing-games__step-number {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--text-main-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
    border: 2px solid var(--glow-color);
}

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

.page-fishing-games__step-description {
    color: var(--text-main-color);
    font-size: 0.95em;
}

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

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 80px 20px;
    background-color: var(--page-bg-color);
}

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

.page-fishing-games__promo-card {
    background-color: var(--card-bg-color);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-fishing-games__promo-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 10px;
    min-width: 200px;
    min-height: 200px;
}

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

.page-fishing-games__promo-description {
    color: var(--text-main-color);
    font-size: 0.95em;
}

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

.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(--card-bg-color);
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--secondary-color);
    background-color: var(--card-bg-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(255, 140, 26, 0.1);
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-left: 15px;
}

.page-fishing-games__faq-answer {
    padding: 20px;
    color: var(--text-main-color);
    font-size: 1em;
    line-height: 1.7;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
    padding: 80px 20px;
    background-color: var(--page-bg-color);
}

/* General card styling */
.page-fishing-games__card {
    background-color: var(--card-bg-color);
    color: var(--text-main-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Dark section specific styling */
.page-fishing-games__dark-section {
    background-color: var(--page-bg-color);
    color: var(--text-main-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-image-wrapper {
        max-height: 500px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-fishing-games__sub-section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Ensure small top padding */
    }
    .page-fishing-games__hero-image-wrapper {
        max-height: 300px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-fishing-games__description {
        font-size: 1em;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-play {
        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;
    }

    .page-fishing-games__container,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__game-showcase-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-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;
        min-width: 200px !important; /* Enforce minimum size */
        min-height: 200px !important;
    }

    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__step-card,
    .page-fishing-games__promo-card {
        padding: 20px;
    }

    .page-fishing-games__feature-icon,
    .page-fishing-games__game-image,
    .page-fishing-games__promo-image {
        min-width: 200px !important;
        min-height: 200px !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
    }
    
    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }
    .page-fishing-games__hero-section {
        padding: 30px 10px;
        padding-top: 10px !important;
    }
    .page-fishing-games__cta-buttons {
        gap: 10px;
    }
    .page-fishing-games__feature-icon,
    .page-fishing-games__game-image,
    .page-fishing-games__promo-image {
        min-width: 200px !important;
        min-height: 200px !important;
    }
}