/* style/fishing-games.css */

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

.page-fishing-games {
    font-family: Arial, sans-serif;
    color: var(--may88-text-main);
    background-color: var(--may88-background); /* This will be overridden by body background from shared.css */
}

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

/* Sections */
.page-fishing-games__section {
    padding: 60px 0;
    text-align: center;
}

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

.page-fishing-games__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--may88-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-fishing-games__section-description {
    font-size: 1.1rem;
    color: var(--may88-text-secondary);
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

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

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 900;
    color: var(--may88-gold);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-fishing-games__subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--may88-text-secondary);
    margin-bottom: 40px;
    line-height: 1.5;
}

/* Video Overview */
.page-fishing-games__video-overview {
    padding-top: 10px; /* Small top padding */
}

.page-fishing-games__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    background-color: var(--may88-card-bg);
}

.page-fishing-games__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Game Intro */
.page-fishing-games__game-intro .page-fishing-games__section-title {
    color: var(--may88-deep-green);
}

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

.page-fishing-games__game-intro .page-fishing-games__text-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 15px;
}

.page-fishing-games__game-intro .page-fishing-games__text-content p a {
    color: var(--may88-primary);
    text-decoration: underline;
}

.page-fishing-games__image-wrapper {
    width: 100%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Benefits Section */
.page-fishing-games__benefits .page-fishing-games__section-title {
    color: var(--may88-gold);
}

.page-fishing-games__benefits .page-fishing-games__section-description {
    color: var(--may88-text-secondary);
}

.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 {
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--may88-card-bg);
    color: var(--may88-text-main);
    border: 1px solid var(--may88-border);
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--may88-text-secondary);
}

/* Registration Guide */
.page-fishing-games__registration-guide .page-fishing-games__section-title {
    color: var(--may88-deep-green);
}

.page-fishing-games__registration-guide .page-fishing-games__text-content {
    text-align: left;
}

.page-fishing-games__steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.page-fishing-games__step-item {
    position: relative;
    padding-left: 40px;
}

.page-fishing-games__step-item::before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--may88-primary);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.page-fishing-games__step-item:nth-child(1)::before { content: '1'; }
.page-fishing-games__step-item:nth-child(2)::before { content: '2'; }
.page-fishing-games__step-item:nth-child(3)::before { content: '3'; }

.page-fishing-games__step-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--may88-deep-green);
    margin-bottom: 10px;
}

.page-fishing-games__step-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333333;
}

.page-fishing-games__step-item p a {
    color: var(--may88-primary);
    text-decoration: underline;
}

/* Promotions */
.page-fishing-games__promotions .page-fishing-games__section-title {
    color: var(--may88-gold);
}

.page-fishing-games__promotions .page-fishing-games__section-description {
    color: var(--may88-text-secondary);
}

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

.page-fishing-games__promotion-card {
    background-color: var(--may88-card-bg);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--may88-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-fishing-games__promotion-card .page-fishing-games__card-title {
    color: var(--may88-gold);
    padding: 0 20px;
    margin-bottom: 10px;
}

.page-fishing-games__promotion-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--may88-text-secondary);
    padding: 0 20px;
    margin-bottom: 20px;
}

.page-fishing-games__btn-link {
    display: inline-block;
    background-color: var(--may88-deep-green);
    color: var(--may88-text-main);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.page-fishing-games__btn-link:hover {
    background-color: var(--may88-primary);
}

/* Tips Section */
.page-fishing-games__tips .page-fishing-games__section-title {
    color: var(--may88-deep-green);
}

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

.page-fishing-games__tip-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.page-fishing-games__tip-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--may88-deep-green);
    margin-bottom: 10px;
}

.page-fishing-games__tip-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333333;
}

/* FAQ Section */
.page-fishing-games__faq .page-fishing-games__section-title {
    color: var(--may88-gold);
}

.page-fishing-games__faq .page-fishing-games__section-description {
    color: var(--may88-text-secondary);
}

.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-fishing-games__faq-item {
    background-color: var(--may88-card-bg);
    border-radius: 10px;
    border: 1px solid var(--may88-border);
    overflow: hidden;
    color: var(--may88-text-main);
}

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

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

.page-fishing-games__faq-qtext {
    flex-grow: 1;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    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 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--may88-text-secondary);
}

.page-fishing-games__faq-answer p a {
    color: var(--may88-primary);
    text-decoration: underline;
}

/* Final CTA */
.page-fishing-games__cta-final {
    background-color: var(--may88-background);
    padding-bottom: 80px;
}

.page-fishing-games__cta-final .page-fishing-games__section-title {
    color: var(--may88-gold);
    margin-top: 40px;
}

.page-fishing-games__cta-final .page-fishing-games__section-description {
    color: var(--may88-text-secondary);
    margin-bottom: 40px;
}

.page-fishing-games__cta-image {
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.page-fishing-games__cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: var(--may88-button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-fishing-games__btn-secondary {
    background-color: #ffffff;
    color: var(--may88-primary);
    border: 2px solid var(--may88-primary);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.2);
}

.page-fishing-games__btn-secondary:hover {
    transform: translateY(-3px);
    background-color: var(--may88-primary);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.4);
}

/* General link styling */
.page-fishing-games a {
    color: var(--may88-primary);
    text-decoration: none;
}

.page-fishing-games a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-fishing-games__grid-2-columns {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__reverse-on-mobile {
        flex-direction: column-reverse;
    }
    .page-fishing-games__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-fishing-games__hero-content {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__section {
        padding: 40px 0;
    }

    .page-fishing-games__section-title {
        font-size: 2.2rem;
    }

    .page-fishing-games__hero-section {
        padding: 40px 0;
        padding-top: 10px !important;
    }

    .page-fishing-games__main-title {
        font-size: 2.5rem;
    }

    .page-fishing-games__subtitle {
        font-size: 1.1rem;
    }

    .page-fishing-games__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 25px;
        font-size: 1rem;
        margin-bottom: 10px;
    }

    /* Image Responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__image-wrapper,
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__promotion-card .page-fishing-games__card-image,
    .page-fishing-games__cta-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        border-radius: 8px !important;
    }

    /* Video Responsive */
    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 56.25% !important; /* Ensure aspect ratio */
    }

    .page-fishing-games__video-overview {
        padding-top: 10px !important; /* Small top padding, body handles --header-offset */
    }

    .page-fishing-games__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }

    .page-fishing-games__faq-answer {
        padding: 15px 20px;
    }

    .page-fishing-games__steps {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__section-title {
        font-size: 1.8rem;
    }

    .page-fishing-games__main-title {
        font-size: 2rem;
    }

    .page-fishing-games__cta-button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__promotions-grid,
    .page-fishing-games__tips-list {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__feature-card,
    .page-fishing-games__promotion-card,
    .page-fishing-games__tip-item,
    .page-fishing-games__faq-item {
        padding: 20px;
    }

    .page-fishing-games__card-title {
        font-size: 1.3rem;
    }
}