/* style/fishing-games.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --login-button-color: #EA7C07;
    --text-on-dark-bg: #FFFFFF;
    --text-on-light-bg: #333333;
    --body-bg-color: #0a0a0a; /* From shared.css */
}

.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-on-dark-bg); /* Default text color for dark body background */
    background-color: var(--body-bg-color); /* Inherit from body or shared */
}

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

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

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

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

.page-fishing-games__hero-content {
    text-align: center;
    padding: 30px 20px;
    max-width: 900px;
    z-index: 1;
    color: var(--text-on-dark-bg);
}

.page-fishing-games__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-fishing-games__hero-cta-buttons,
.page-fishing-games__button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background-color: var(--login-button-color); /* Login button color */
    color: var(--secondary-color);
    border: 2px solid var(--login-button-color);
}

.page-fishing-games__btn-primary:hover {
    background-color: #e06a00;
    transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* General Section Styles */
.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.2;
}

.page-fishing-games__text-block {
    font-size: 1rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.page-fishing-games__keyword-highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* Light Background Sections */
.page-fishing-games__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-on-light-bg);
    padding: 60px 0;
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
    color: var(--text-on-light-bg);
}

.page-fishing-games__light-bg .page-fishing-games__text-block {
    color: var(--text-on-light-bg);
}

.page-fishing-games__light-bg .page-fishing-games__keyword-highlight {
    color: var(--primary-color);
}

/* Dark Background Sections */
.page-fishing-games__dark-bg {
    background-color: #1a1a1a; /* Slightly lighter than body for contrast */
    color: var(--text-on-dark-bg);
    padding: 60px 0;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
    color: var(--text-on-dark-bg);
}

/* Image Content */
.page-fishing-games__image-content {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 30px auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

.page-fishing-games__mobile-image {
    max-width: 400px; /* Specific width for mobile app image */
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

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

.page-fishing-games__feature-card,
.page-fishing-games__reason-card {
    background-color: rgba(255, 255, 255, 0.08); /* Light background for dark section */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.page-fishing-games__feature-title,
.page-fishing-games__reason-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__feature-description,
.page-fishing-games__reason-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* How To Play List */
.page-fishing-games__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    counter-reset: step-counter;
}

.page-fishing-games__step-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
}

.page-fishing-games__step-item::before {
    counter-increment: step-counter;
    content: "0" counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.page-fishing-games__step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-on-light-bg);
    margin-bottom: 10px;
}

.page-fishing-games__step-description {
    font-size: 1rem;
    color: var(--text-on-light-bg);
}

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

.page-fishing-games__promo-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.page-fishing-games__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for promo images */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

.page-fishing-games__promo-card h3,
.page-fishing-games__promo-card p {
    padding: 0 20px;
}

.page-fishing-games__promo-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 20px 0 10px 0;
}

.page-fishing-games__promo-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 40px;
}

.page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item[open] {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    list-style: none;
    outline: none;
}

.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: 20px;
    color: var(--primary-color);
}

.page-fishing-games__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
}

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

    .page-fishing-games__hero-content {
        padding: 20px 15px;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
        margin-bottom: 20px;
    }

    .page-fishing-games__text-block {
        font-size: 0.95rem;
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__reasons-grid,
    .page-fishing-games__promo-cards {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-fishing-games__hero-cta-buttons,
    .page-fishing-games__button-group {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
    }

    /* Mobile specific padding for content containers */
    .page-fishing-games__container {
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__promo-card,
    .page-fishing-games__feature-card,
    .page-fishing-games__reason-card,
    .page-fishing-games__faq-item,
    .page-fishing-games__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; /* body has header-offset, this is decorative */
    }

    /* Button mobile responsiveness */
    .page-fishing-games__cta-button,
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      white-space: normal !important;
      word-wrap: break-word !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    
    .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;
      flex-wrap: wrap !important;
      gap: 10px;
      flex-direction: column !important; /* Ensure vertical stacking for multiple buttons */
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-fishing-games__hero-description {
        font-size: 1rem;
    }
    .page-fishing-games__step-item {
        padding-left: 45px;
    }
    .page-fishing-games__step-item::before {
        font-size: 1.8rem;
    }
}