/* style/fishing-games.css */

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

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--loto66-text-main); /* Default text color for dark background */
    background-color: var(--loto66-background); /* Body background from shared.css, this is for main sections */
}

.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;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background-color: var(--loto66-background);
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    position: relative;
    margin-bottom: 40px;
}

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--loto66-text-main);
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__hero-description {
    font-size: 1.15rem;
    color: var(--loto66-text-secondary);
    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__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: var(--loto66-button-gradient);
    color: var(--loto66-text-main);
    border: 2px solid var(--loto66-primary-color);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

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

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

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

.page-fishing-games__btn-small {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    background: var(--loto66-button-gradient);
    color: var(--loto66-text-main);
    border: none;
    transition: background 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-fishing-games__btn-small:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* Section Titles and Paragraphs */
.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--loto66-text-main);
    text-align: center;
    margin-bottom: 25px;
    margin-top: 40px;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-fishing-games__text-block {
    font-size: 1rem;
    color: var(--loto66-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}

/* About Section */
.page-fishing-games__about-section {
    padding: 60px 0;
    background-color: var(--loto66-background);
}

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

.page-fishing-games__feature-item,
.page-fishing-games__advantage-item,
.page-fishing-games__game-card {
    background-color: var(--loto66-card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--loto66-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 350px; /* Ensure cards are not too small */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__feature-item:hover,
.page-fishing-games__advantage-item:hover,
.page-fishing-games__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__feature-icon,
.page-fishing-games__advantage-icon,
.page-fishing-games__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-fishing-games__feature-title,
.page-fishing-games__advantage-title,
.page-fishing-games__game-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--loto66-text-main);
    margin-bottom: 10px;
}

.page-fishing-games__feature-description,
.page-fishing-games__advantage-description,
.page-fishing-games__game-description {
    font-size: 0.95rem;
    color: var(--loto66-text-secondary);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Video Section */
.page-fishing-games__video-section {
    padding: 60px 0;
    background-color: var(--loto66-deep-green);
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-fishing-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto 30px auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 100%; /* Ensure width is 100% on desktop */
}

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

.page-fishing-games__video-cta {
    margin-top: 20px;
}

/* Games List Section */
.page-fishing-games__games-list-section {
    padding: 60px 0;
    background-color: var(--loto66-background);
}

.page-fishing-games__view-all-button-wrapper {
    text-align: center;
    margin-top: 50px;
}

/* Tips Section */
.page-fishing-games__tips-section {
    padding: 60px 0;
    background-color: var(--loto66-deep-green);
}

.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 900px;
}

.page-fishing-games__tip-item {
    background-color: var(--loto66-card-bg);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    border-left: 5px solid var(--loto66-primary-color);
}

.page-fishing-games__tip-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--loto66-text-main);
    margin-bottom: 10px;
}

.page-fishing-games__tip-description {
    font-size: 0.95rem;
    color: var(--loto66-text-secondary);
    line-height: 1.6;
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
    padding: 60px 0;
    background-color: var(--loto66-background);
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 60px 0;
    background-color: var(--loto66-deep-green);
}

.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--loto66-text-main);
    cursor: pointer;
    background-color: var(--loto66-card-bg);
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: var(--loto66-deep-green);
}

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--loto66-primary-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 0.95rem;
    color: var(--loto66-text-secondary);
    line-height: 1.6;
}

/* Hide default details marker */
details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}

/* Register CTA Section */
.page-fishing-games__register-cta-section {
    padding: 80px 0;
    background: linear-gradient(to right, var(--loto66-deep-green), var(--loto66-primary-color));
    text-align: center;
}

.page-fishing-games__register-cta-section .page-fishing-games__section-title,
.page-fishing-games__register-cta-section .page-fishing-games__text-block {
    color: var(--loto66-text-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }
    .page-fishing-games__hero-description {
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-bottom: 40px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-fishing-games__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .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;
        font-size: 1rem;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-fishing-games__text-block {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .page-fishing-games__feature-item,
    .page-fishing-games__advantage-item,
    .page-fishing-games__game-card {
        padding: 20px;
        min-height: auto;
    }
    .page-fishing-games__feature-icon,
    .page-fishing-games__advantage-icon,
    .page-fishing-games__game-image {
        height: 180px;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-fishing-games__tips-list,
    .page-fishing-games__faq-list {
        margin-top: 30px;
    }
    .page-fishing-games__tip-item,
    .page-fishing-games__faq-item {
        margin-bottom: 10px;
    }

    /* Mobile image and video responsive adaptation */
    .page-fishing-games img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-fishing-games video,
    .page-fishing-games__video {
      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__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper,
    .page-fishing-games__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    
    .page-fishing-games__video-section {
        padding-top: 10px !important;
    }

    .page-fishing-games__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }

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

@media (max-width: 480px) {
    .page-fishing-games__hero-section {
        padding-bottom: 30px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        font-size: 0.95rem;
        padding: 10px 15px;
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }
    .page-fishing-games__text-block {
        font-size: 0.9rem;
    }
    .page-fishing-games__feature-item,
    .page-fishing-games__advantage-item,
    .page-fishing-games__game-card {
        padding: 15px;
    }
    .page-fishing-games__feature-title,
    .page-fishing-games__advantage-title,
    .page-fishing-games__game-title {
        font-size: 1.15rem;
    }
    .page-fishing-games__feature-description,
    .page-fishing-games__advantage-description,
    .page-fishing-games__game-description {
        font-size: 0.85rem;
    }
    .page-fishing-games__tip-title {
        font-size: 1.1rem;
    }
    .page-fishing-games__tip-description {
        font-size: 0.85rem;
    }
    .page-fishing-games__faq-question {
        font-size: 0.95rem;
    }
    .page-fishing-games__faq-answer {
        font-size: 0.85rem;
    }
}