/* style/fishing-games.css */

/* Base Styles for the Fishing Games Page */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: #f8f8f8; /* Light background for the page content */
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
}

/* Section Styling */
.page-fishing-games__hero-section,
.page-fishing-games__introduction-section,
.page-fishing-games__game-types-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__advantages-section,
.page-fishing-games__promotions-section,
.page-fishing-games__mobile-section,
.page-fishing-games__responsible-gaming-section,
.page-fishing-games__conclusion-section {
    padding: 60px 20px;
    margin-bottom: 20px;
    background-color: #ffffff; /* White background for sections */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__hero-section {
    position: relative;
    padding: 80px 20px;
    background: linear-gradient(135deg, #000000 0%, #333333 100%); /* Dark background for hero */
    color: #ffffff; /* White text for dark background */
    text-align: center;
    overflow: hidden;
    margin-bottom: 0; /* No margin-bottom for hero */
    border-radius: 0;
    box-shadow: none;
    max-width: none;
}

.page-fishing-games__hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Golden brand color for title */
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.page-fishing-games__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-card,
.page-fishing-games__btn-large {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-fishing-games__btn-primary {
    background-color: #FFD700; /* Golden primary button */
    color: #000000; /* Black text for golden button */
}

.page-fishing-games__btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary {
    background-color: #000000; /* Black secondary button */
    color: #FFD700; /* Golden text for black button */
    border: 2px solid #FFD700;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #1a1a1a;
    color: #ffe033;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-card {
    background-color: #FFD700;
    color: #000000;
    padding: 10px 25px;
    font-size: 0.95em;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__btn-card:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__btn-large {
    padding: 18px 45px;
    font-size: 1.2em;
    border-radius: 60px;
}

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    opacity: 0.3; /* Subtle background image */
}

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7); /* Darken image for better text contrast */
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #000000; /* Black title for light background */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Golden underline */
    border-radius: 2px;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Game Types Section */
.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: #fefefe;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 12px 12px 0 0;
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-fishing-games__card-description {
    font-size: 0.95em;
    color: #555555;
    margin-bottom: 20px;
    padding: 0 15px;
    flex-grow: 1; /* Allows description to take available space */
}

/* How to Play Section */
.page-fishing-games__steps-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
}

.page-fishing-games__step-item {
    background-color: #f9f9f9;
    border-left: 5px solid #FFD700;
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-fishing-games__step-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__step-title {
    font-size: 1.3em;
    color: #000000;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-fishing-games__text-link {
    color: #007bff; /* Standard link color */
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games__text-link:hover {
    text-decoration: underline;
    color: #0056b3;
}

.page-fishing-games__cta-bottom {
    text-align: center;
    margin-top: 40px;
}

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

.page-fishing-games__advantage-item {
    text-align: center;
    padding: 30px 20px;
    background-color: #fefefe;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__advantage-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-fishing-games__advantage-title {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 10px;
}

/* Promotions Section */
.page-fishing-games__promo-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
}

.page-fishing-games__promo-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: background-color 0.3s ease;
}

.page-fishing-games__promo-item:hover {
    background-color: #f0f0f0;
}

.page-fishing-games__promo-title {
    font-size: 1.3em;
    color: #FFD700; /* Golden color for promo titles */
    margin-top: 0;
    margin-bottom: 10px;
}

.page-fishing-games__cta-promotions {
    text-align: center;
    margin-top: 40px;
}

/* Mobile Section */
.page-fishing-games__mobile-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.page-fishing-games__mobile-text {
    flex: 1;
}

.page-fishing-games__mobile-image-wrapper {
    flex: 1;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__mobile-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsible Gaming Section */
.page-fishing-games__cta-support {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Conclusion Section */
.page-fishing-games__final-cta {
    text-align: center;
    margin-top: 40px;
}

/* Global Image and Video Responsive Styles (Desktop base) */
.page-fishing-games img,
.page-fishing-games video {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-fishing-games__image-wrapper,
.page-fishing-games__video-wrapper,
.page-fishing-games__container,
.page-fishing-games__section,
.page-fishing-games__card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 2.8em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
        font-size: 16px;
        line-height: 1.6;
    }

    .page-fishing-games__hero-section {
        padding: 60px 15px;
    }

    .page-fishing-games__hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-fishing-games__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-fishing-games__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-large {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-fishing-games__introduction-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__advantages-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__mobile-section,
    .page-fishing-games__responsible-gaming-section,
    .page-fishing-games__conclusion-section {
        padding: 40px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0;
        margin-right: 0;
    }

    .page-fishing-games__game-list,
    .page-fishing-games__advantage-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__game-image {
        height: 180px;
    }

    .page-fishing-games__mobile-content {
        flex-direction: column;
        gap: 30px;
    }

    .page-fishing-games__mobile-image-wrapper {
        order: -1; /* Image first on mobile */
    }

    .page-fishing-games__cta-support {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Ensure all images are responsive and do not cause overflow */
    .page-fishing-games img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-fishing-games__image-wrapper,
.page-fishing-games__video-wrapper,
.page-fishing-games__container,
.page-fishing-games__section,
.page-fishing-games__card,
.page-fishing-games__hero-image-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
      padding-left: 0;
      padding-right: 0;
    }
    
    .page-fishing-games__hero-image {
        width: 100% !important;
        height: 100% !important; /* object-fit cover handles aspect ratio */
        object-fit: cover !important;
    }
}