/* style/fishing-games.css */

:root {
    --dt88-primary-color: #11A84E;
    --dt88-secondary-color: #22C768;
    --dt88-card-bg: #11271B;
    --dt88-background: #08160F;
    --dt88-text-main: #F2FFF6;
    --dt88-text-secondary: #A7D9B8;
    --dt88-border: #2E7A4E;
    --dt88-glow: #57E38D;
    --dt88-gold: #F2C14E;
    --dt88-divider: #1E3A2A;
    --dt88-deep-green: #0A4B2C;
    --dt88-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    background-color: var(--dt88-background);
    color: var(--dt88-text-main);
}

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

.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 10px 0 60px 0; /* body padding-top is handled by shared.css */
    background-color: var(--dt88-deep-green);
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    /* No filter for images */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin-top: -150px; /* Adjust to place content below image but not too far */
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--dt88-border);
}

.page-fishing-games__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--dt88-gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px var(--dt88-glow);
}

.page-fishing-games__description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--dt88-text-main);
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.page-fishing-games__cta-buttons--centered {
    margin-top: 40px;
}

.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.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(--dt88-btn-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--dt88-secondary-color);
    border: 2px solid var(--dt88-secondary-color);
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.2);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--dt88-secondary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(34, 199, 104, 0.4);
}

.page-fishing-games__introduction-section,
.page-fishing-games__features-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__game-providers-section,
.page-fishing-games__tips-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
    padding: 60px 0;
    background-color: var(--dt88-background);
    border-bottom: 1px solid var(--dt88-divider);
}

.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--dt88-primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 0 5px var(--dt88-glow);
}

.page-fishing-games__text-block {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--dt88-text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

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

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

.page-fishing-games__feature-card:hover {
    transform: translateY(-5px);
}

.page-fishing-games__feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--dt88-primary-color);
    /* No filter for images */
}

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

.page-fishing-games__card-text {
    font-size: 1rem;
    color: var(--dt88-text-secondary);
    line-height: 1.6;
}

.page-fishing-games__numbered-list {
    list-style: none;
    counter-reset: my-counter;
    padding: 0;
}

.page-fishing-games__numbered-list li {
    margin-bottom: 25px;
    position: relative;
    padding-left: 50px;
}

.page-fishing-games__numbered-list li::before {
    counter-increment: my-counter;
    content: counter(my-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--dt88-primary-color);
    color: #ffffff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__list-title {
    font-size: 1.3rem;
    color: var(--dt88-text-main);
    margin-bottom: 10px;
}

.page-fishing-games__list-text {
    font-size: 1rem;
    color: var(--dt88-text-secondary);
    line-height: 1.6;
}

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

.page-fishing-games__game-card {
    background-color: var(--dt88-card-bg);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--dt88-border);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
}

.page-fishing-games__game-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--dt88-primary-color);
    /* No filter for images */
}

.page-fishing-games__bullet-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-fishing-games__bullet-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--dt88-text-secondary);
    line-height: 1.6;
}

.page-fishing-games__bullet-list li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--dt88-gold);
    font-size: 1.2rem;
    top: 0;
}

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

.page-fishing-games__faq-list {
    margin-top: 40px;
}

.page-fishing-games__faq-item {
    background-color: var(--dt88-card-bg);
    border: 1px solid var(--dt88-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

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

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    color: var(--dt88-text-main);
}

.page-fishing-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--dt88-secondary-color);
}

.page-fishing-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: var(--dt88-text-secondary);
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding-top: 20px;
}

.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: '−';
}

.page-fishing-games__faq-text {
    margin: 0;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        margin-top: -100px;
        padding: 30px 20px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-fishing-games__description {
        font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.6rem, 3.8vw, 2.2rem);
    }
    .page-fishing-games__feature-image,
    .page-fishing-games__game-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games__hero-content {
        margin-top: -80px;
        padding: 25px 15px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 5vw, 2.8rem);
    }
    .page-fishing-games__description {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 25px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__feature-grid,
    .page-fishing-games__game-list {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__feature-image,
    .page-fishing-games__game-image {
        height: 200px;
    }
    .page-fishing-games__numbered-list li {
        padding-left: 45px;
    }
    .page-fishing-games__numbered-list li::before {
        width: 30px;
        height: 30px;
        font-size: 1.1rem;
    }
    .page-fishing-games__faq-question {
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px 15px 20px;
    }
    .page-fishing-games img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    .page-fishing-games__hero-section,
    .page-fishing-games__introduction-section,
    .page-fishing-games__features-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__game-providers-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section,
    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-content {
        margin-top: -60px;
        padding: 20px 10px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }
    .page-fishing-games__description {
        font-size: clamp(0.85rem, 3vw, 1rem);
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        font-size: 0.95rem;
        padding: 10px 20px;
    }
    .page-fishing-games__feature-image,
    .page-fishing-games__game-image {
        height: 160px;
    }
    .page-fishing-games__card-title {
        font-size: 1.2rem;
    }
    .page-fishing-games__faq-question {
        font-size: 1rem;
    }
    .page-fishing-games__faq-toggle {
        font-size: 1.5rem;
    }
}