/* style/fishing-games.css */

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

.page-fishing-games {
    background-color: var(--k88-bg-color);
    color: var(--k88-text-main);
    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.5em;
    color: var(--k88-gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--k88-glow-color);
    border-radius: 2px;
}

.page-fishing-games__subsection-title {
    font-size: 1.8em;
    color: var(--k88-text-main);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    color: var(--k88-text-secondary);
    margin-bottom: 20px;
}

/* Buttons */
.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.1em;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: var(--k88-btn-gradient);
    color: var(--k88-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--k88-glow-color);
    border: 2px solid var(--k88-glow-color);
    box-shadow: 0 4px 10px rgba(87, 227, 141, 0.2);
}

.page-fishing-games__btn-secondary:hover {
    background: rgba(87, 227, 141, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(87, 227, 141, 0.4);
}

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.6);
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__hero-content {
    text-align: center;
    padding: 20px;
    max-width: 900px;
    margin-top: -150px; /* Overlap image slightly, but content is below */
    position: relative;
    z-index: 2;
}

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

.page-fishing-games__description {
    font-size: clamp(1.1em, 2vw, 1.4em);
    color: var(--k88-text-main);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Intro Section */
.page-fishing-games__intro-section,
.page-fishing-games__game-types-section,
.page-fishing-games__benefits-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
    padding: 60px 0;
    background-color: var(--k88-bg-color);
}

.page-fishing-games__list {
    list-style: disc;
    padding-left: 25px;
    color: var(--k88-text-secondary);
    font-size: 1.1em;
}

.page-fishing-games__list li {
    margin-bottom: 10px;
}

.page-fishing-games__list li strong {
    color: var(--k88-text-main);
}

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

.page-fishing-games__game-card {
    background-color: var(--k88-card-bg);
    border: 1px solid var(--k88-border-color);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__card-title {
    font-size: 1.6em;
    color: var(--k88-gold-color);
    margin-bottom: 15px;
    padding: 0 20px;
}

.page-fishing-games__card-description {
    color: var(--k88-text-secondary);
    font-size: 1em;
    padding: 0 20px 20px;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
    margin-top: 20px;
    width: calc(100% - 40px);
    max-width: 200px;
}

.page-fishing-games__strategy-list {
    list-style: decimal;
    padding-left: 25px;
    color: var(--k88-text-secondary);
    font-size: 1.1em;
    margin-top: 20px;
}

.page-fishing-games__strategy-list li {
    margin-bottom: 10px;
}

.page-fishing-games__strategy-list li strong {
    color: var(--k88-text-main);
}

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

.page-fishing-games__benefit-item {
    background-color: var(--k88-card-bg);
    border: 1px solid var(--k88-border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.page-fishing-games__benefit-item .page-fishing-games__card-image {
    height: 200px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

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

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

.page-fishing-games__step-item {
    background-color: var(--k88-card-bg);
    border: 1px solid var(--k88-border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.page-fishing-games__step-item .page-fishing-games__card-image {
    height: 220px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

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

.page-fishing-games__step-item .page-fishing-games__btn-primary,
.page-fishing-games__step-item .page-fishing-games__btn-secondary {
    margin-top: 20px;
    width: calc(100% - 40px);
    max-width: 200px;
}

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

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--k88-text-main);
    cursor: pointer;
    background-color: var(--k88-deep-green);
    border-bottom: 1px solid var(--k88-divider-color);
}

.page-fishing-games__faq-question:hover {
    background-color: rgba(10, 75, 44, 0.8);
}

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

.page-fishing-games__faq-answer {
    padding: 20px 25px;
    color: var(--k88-text-secondary);
    font-size: 1.05em;
    border-top: 1px solid var(--k88-divider-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    border-bottom: none;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    content: '−';
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 80px;
}

/* Image styles */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        margin-top: -100px;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__subsection-title {
        font-size: 1.6em;
    }
    .page-fishing-games__card-title {
        font-size: 1.4em;
    }
    .page-fishing-games__benefit-title,
    .page-fishing-games__step-title {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-bottom: 40px;
    }
    .page-fishing-games__hero-content {
        margin-top: -80px;
        padding: 15px;
    }
    .page-fishing-games__main-title {
        font-size: 2.2em;
    }
    .page-fishing-games__description {
        font-size: 1em;
    }
    .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;
    }
    .page-fishing-games__intro-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__benefits-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section {
        padding: 40px 0;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__subsection-title {
        font-size: 1.4em;
    }
    .page-fishing-games__text-block,
    .page-fishing-games__list,
    .page-fishing-games__strategy-list {
        font-size: 1em;
    }
    .page-fishing-games__game-grid,
    .page-fishing-games__benefit-grid,
    .page-fishing-games__steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__game-card .page-fishing-games__btn-primary,
    .page-fishing-games__step-item .page-fishing-games__btn-primary,
    .page-fishing-games__step-item .page-fishing-games__btn-secondary {
        max-width: 100%;
    }
    .page-fishing-games__card-image,
    .page-fishing-games__benefit-item .page-fishing-games__card-image,
    .page-fishing-games__step-item .page-fishing-games__card-image {
        min-width: 200px !important;
        min-height: 200px !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .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__game-card,
    .page-fishing-games__benefit-item,
    .page-fishing-games__step-item,
    .page-fishing-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
    }
    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 15px 20px;
    }
}