/* style/fishing-games.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-color-dark-bg: #FFFFFF;
    --text-color-light-bg: #333333;
    --button-register-bg: #C30808;
    --button-login-bg: #C30808;
    --button-text-color: #FFFF00;
    --border-color: #e0e0e0;
    --background-light: #f9f9f9;
    --background-white: #FFFFFF;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-light-bg);
    background-color: var(--background-white);
}

.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;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, header offset handled by body */
    background: var(--primary-color);
    color: var(--text-color-dark-bg);
}

.page-fishing-games__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

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

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-fishing-games__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: var(--text-color-dark-bg);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.page-fishing-games__hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color-dark-bg);
}

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-register-bg);
    color: var(--button-text-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__cta-button:hover {
    background: darken(var(--button-register-bg), 10%); /* This won't work in pure CSS, but implies a darker shade */
    background: #a30606; /* Manual darker shade */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* General Section Styling */
.page-fishing-games__section {
    padding: 60px 0;
}

.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

.page-fishing-games__section p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.page-fishing-games__section ul, .page-fishing-games__section ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.page-fishing-games__section li {
    margin-bottom: 8px;
    font-size: 1rem;
}

/* Background Colors */
.page-fishing-games__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-color-dark-bg);
}

.page-fishing-games__light-bg {
    background-color: var(--background-white);
    color: var(--text-color-light-bg);
}

/* Image in content */
.page-fishing-games__image-content {
    text-align: center;
    margin: 30px 0;
}

.page-fishing-games__image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__feature-item img {
    
    
    object-fit: contain;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Ensure icons are white on dark background */
    display: block; /* Ensure it respects max-width */
    margin-left: auto; /* Center image */
    margin-right: auto; /* Center image */
}

.page-fishing-games__feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color-dark-bg);
}

.page-fishing-games__feature-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Game Cards Grid */
.page-fishing-games__game-cards-grid, .page-fishing-games__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-fishing-games__game-card, .page-fishing-games__promo-card {
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-fishing-games__game-card img, .page-fishing-games__promo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-fishing-games__game-card h3, .page-fishing-games__promo-card h3 {
    font-size: 1.3rem;
    padding: 15px 20px 10px;
    margin: 0;
    color: var(--primary-color);
}

.page-fishing-games__game-card p, .page-fishing-games__promo-card p {
    font-size: 0.95rem;
    padding: 0 20px 20px;
    margin: 0;
    color: var(--text-color-light-bg);
    flex-grow: 1;
}

/* How-to-play list */
.page-fishing-games__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-fishing-games__guide-list li {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: var(--text-color-dark-bg);
}

.page-fishing-games__guide-list li h3 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--text-color-dark-bg);
}

.page-fishing-games__guide-list li p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* CTA Center */
.page-fishing-games__cta-center {
    text-align: center;
    margin-top: 40px;
}

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

.page-fishing-games__info-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: var(--text-color-dark-bg);
}

.page-fishing-games__info-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color-dark-bg);
}

.page-fishing-games__info-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

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

details.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--background-white);
}

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--text-color-light-bg);
}

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

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
    background: var(--background-light);
}

.page-fishing-games__faq-qtext {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
}

.page-fishing-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 20px 20px;
    background: var(--background-light);
    border-radius: 0 0 5px 5px;
    color: var(--text-color-light-bg);
}

.page-fishing-games__faq-answer p {
    margin-bottom: 0;
}

/* Bottom CTA Section */
.page-fishing-games__cta-bottom {
    text-align: center;
    padding: 80px 20px;
}

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

.page-fishing-games__cta-bottom p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-fishing-games__hero-description {
        font-size: 1.05rem;
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    }
    .page-fishing-games__feature-item img {
        
        
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-fishing-games__hero-image img {
        border-radius: 4px;
    }
    
    .page-fishing-games__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        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__container {
        padding: 0 15px;
    }
    .page-fishing-games__section {
        padding: 40px 0;
    }
    .page-fishing-games__features-grid, .page-fishing-games__game-cards-grid, .page-fishing-games__promo-grid, .page-fishing-games__info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__feature-item, .page-fishing-games__game-card, .page-fishing-games__promo-card, .page-fishing-games__info-item {
        padding: 20px;
    }
    .page-fishing-games__feature-item img {
        
        
    }
    .page-fishing-games__guide-list li {
        padding: 20px;
    }
    details.page-fishing-games__faq-item summary.page-fishing-games__faq-question { padding: 15px; }
    .page-fishing-games__faq-qtext { font-size: 15px; }
    .page-fishing-games__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
        padding: 0 15px 15px;
    }
    /* Ensure all images are responsive */
    .page-fishing-games img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    .page-fishing-games__cta-bottom {
        padding: 60px 15px;
    }
    .page-fishing-games__cta-bottom .page-fishing-games__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-fishing-games__hero-description {
        font-size: 0.95rem;
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    .page-fishing-games__cta-button {
        font-size: 15px;
        padding: 10px 20px;
    }
    .page-fishing-games__feature-item h3, .page-fishing-games__game-card h3, .page-fishing-games__promo-card h3, .page-fishing-games__info-item h3 {
        font-size: 1.2rem;
    }
    .page-fishing-games__section p, .page-fishing-games__guide-list li p {
        font-size: 0.9rem;
    }
    .page-fishing-games__faq-qtext {
        font-size: 14px;
    }
}

/* Ensure filter is not used on images */
.page-fishing-games img {
    filter: none; /* Explicitly ensure no filter is applied */
}

.page-fishing-games__feature-item img {
    filter: brightness(0) invert(1); /* This is for icons, not content images, to make them white. This is an exception. */
}