/* style/fishing-games.css */
:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f8f8f8;
    --background-dark: #0A2463;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff; /* Default light background for body content */
    padding-top: 120px; /* Adjust for fixed header on desktop */
}

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

.page-fishing-games__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--background-dark);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.page-fishing-games__main-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: rgba(255, 255, 255, 0.9);
}

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

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

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

.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: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* About Section */
.page-fishing-games__about-section {
    padding: 60px 20px;
    background-color: var(--background-light);
    color: var(--text-dark);
}

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

.page-fishing-games__grid-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__feature-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-fishing-games__item-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__item-description {
    font-size: 15px;
    color: #555555;
}

/* How-To-Play Section */
.page-fishing-games__how-to-play-section {
    padding: 60px 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-fishing-games__how-to-play-section .page-fishing-games__section-title {
    color: var(--secondary-color);
}

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

.page-fishing-games__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 280px;
}

.page-fishing-games__step-number {
    font-size: 50px;
    font-weight: bold;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.page-fishing-games__step-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
    z-index: 1;
}

.page-fishing-games__step-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    flex-grow: 1;
    z-index: 1;
}

.page-fishing-games__step-button {
    margin-top: auto;
    z-index: 1;
}

/* Strategy Section */
.page-fishing-games__strategy-section {
    padding: 60px 20px;
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-fishing-games__strategy-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    margin-top: 40px;
}

.page-fishing-games__strategy-image {
    flex: 1 1 400px;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__strategy-list {
    flex: 2 1 500px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-fishing-games__strategy-list li {
    background-color: #ffffff;
    border-left: 5px solid var(--secondary-color);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__strategy-list li:last-child {
    margin-bottom: 0;
}

.page-fishing-games__list-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 60px 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-fishing-games__promotions-section .page-fishing-games__section-title {
    color: var(--secondary-color);
}

.page-fishing-games__promotions-intro {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

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

.page-fishing-games__promotions-list li {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
    transition: background-color 0.3s ease;
}

.page-fishing-games__promotions-list li:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-fishing-games__promotions-list .page-fishing-games__list-title {
    color: var(--secondary-color);
    font-size: 20px;
    margin-bottom: 10px;
}

.page-fishing-games__promotions-list p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

/* Security Section */
.page-fishing-games__security-section {
    padding: 60px 20px;
    background-color: var(--background-light);
    color: var(--text-dark);
}

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

.page-fishing-games__security-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__security-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.page-fishing-games__security-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.1));
}

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

/* Final CTA Section */
.page-fishing-games__final-cta-section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-fishing-games__final-cta-section .page-fishing-games__section-title {
    color: var(--secondary-color);
}

.page-fishing-games__final-description {
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-fishing-games__cta-buttons--large .page-fishing-games__cta-button {
    padding: 18px 45px;
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: 42px;
    }
    .page-fishing-games__section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        padding-top: 100px !important; /* Adjust for fixed header on mobile */
        font-size: 16px;
        line-height: 1.6;
    }
    
    .page-fishing-games__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-fishing-games__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-fishing-games__hero-description,
    .page-fishing-games__final-description,
    .page-fishing-games__promotions-intro {
        font-size: 16px;
        margin-bottom: 30px;
    }

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

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-fishing-games__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 25px !important;
        font-size: 16px !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__grid-item,
    .page-fishing-games__step-item,
    .page-fishing-games__security-item,
    .page-fishing-games__promotions-list li {
        padding: 25px;
    }

    .page-fishing-games__item-title {
        font-size: 19px;
    }

    .page-fishing-games__step-number {
        font-size: 40px;
    }

    .page-fishing-games__step-title {
        font-size: 20px;
    }

    .page-fishing-games__strategy-content {
        flex-direction: column;
    }

    .page-fishing-games__strategy-image {
        max-width: 100%;
        height: auto;
        order: -1; /* Image first on mobile */
    }

    .page-fishing-games__strategy-list {
        width: 100%;
    }
    
    .page-fishing-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-fishing-games__hero-section,
    .page-fishing-games__about-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__security-section,
    .page-fishing-games__final-cta-section {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: 28px;
    }
    .page-fishing-games__section-title {
        font-size: 24px;
    }
    .page-fishing-games__cta-button {
        font-size: 15px !important;
    }
    .page-fishing-games__cta-buttons--large .page-fishing-games__cta-button {
        padding: 10px 20px !important;
        font-size: 16px !important;
    }
}