/* style/fishing-games.css */

/* Base Styles */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Light text for dark body background */
    background-color: #121212; /* Inherited from body */
    line-height: 1.6;
}

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

.page-fishing-games__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for titles */
}

.page-fishing-games__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0; /* Assuming shared.css sets body padding-top */
    margin-top: 0;
    background-color: #1A2E47; /* Fallback */
}

.page-fishing-games__hero-container {
    position: relative;
    margin: 0 auto;
}

.page-fishing-games__hero-image {
    width: 100%;
    margin: 0;
}

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

/* Logo Carousel Section */
.page-fishing-games__logo-carousel-section {
    width: 100%;
    padding: 30px 20px;
    background-color: #0d0d0d; /* Slightly lighter dark for contrast */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__logo-carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.page-fishing-games__logo-carousel {
    display: flex;
    gap: 15px;
    overflow: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 8px 0;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none; /* Disable user dragging */
}

.page-fishing-games__logo-carousel::-webkit-scrollbar {
    display: none;
}

.page-fishing-games__logo-item {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    pointer-events: auto; /* Re-enable clicks on links */
}

.page-fishing-games__logo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__logo-item a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
    pointer-events: auto; /* Re-enable clicks on links */
}

.page-fishing-games__logo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Games Display Section */
.page-fishing-games__games-section {
    width: 100%;
    padding: 60px 20px;
    background-color: #1A2E47; /* Main brand dark blue */
}

.page-fishing-games__games-container {
    max-width: 1400px;
    margin: 0 auto;
}

.page-fishing-games__games-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    align-items: start;
}

.page-fishing-games__featured-game-area {
    width: 100%;
}

.page-fishing-games__featured-game-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 20px 0;
    color: #FFD700;
    text-align: left;
}

.page-fishing-games__featured-game {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__featured-game:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__featured-game-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.page-fishing-games__featured-game-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.page-fishing-games__featured-game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-fishing-games__games-grid-area {
    width: 100%;
}

.page-fishing-games__games-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.page-fishing-games__games-tab {
    background: none;
    border: none;
    padding: 0;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    color: #999999;
    transition: color 0.3s ease;
    text-decoration: none;
    position: relative;
}

.page-fishing-games__games-tab:hover {
    color: #ffffff;
}

.page-fishing-games__games-tab.active {
    color: #FFD700;
    text-decoration: underline;
}

.page-fishing-games__games-tab.active + .page-fishing-games__games-tab {
    color: #ffffff; /* Ensure non-active tab next to active is still visible */
}

.page-fishing-games__games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    display: none;
}

.page-fishing-games__games-grid.active {
    display: grid;
}

.page-fishing-games__game-card {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__game-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.page-fishing-games__game-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.page-fishing-games__game-card-title {
    font-size: 14px;
    font-weight: 500;
    margin: 10px 0 0 0;
    padding: 0 5px 10px;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    line-height: 1.4;
}

/* Module 1: Intro Section */
.page-fishing-games__intro-section {
    padding: 80px 20px;
    background-color: #1A2E47;
}

.page-fishing-games__main-title {
    font-size: 42px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #FFD700;
    line-height: 1.2;
}

.page-fishing-games__intro-text {
    font-size: 18px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    color: #f0f0f0;
}

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

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

.page-fishing-games__feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__feature-item img {
    
    
    object-fit: contain;
    margin-bottom: 20px;
    filter: brightness(1.2); /* Slight brightness for icons on dark background */
    display: inline-block;
}

.page-fishing-games__feature-item h3 {
    font-size: 22px;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-fishing-games__feature-item p {
    font-size: 16px;
    color: #cccccc;
}

/* Module 2: Quick Access Links */
.page-fishing-games__quick-access-section {
    padding: 80px 20px;
    background-color: #0d0d0d;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

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

.page-fishing-games__btn-primary {
    background-color: #FFD700;
    color: #1A2E47;
    border: 2px solid #FFD700;
}

.page-fishing-games__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #FFD700;
    color: #1A2E47;
}

/* Module 3: Core Games Introduction */
.page-fishing-games__core-games-section {
    padding: 80px 20px;
    background-color: #1A2E47;
}

.page-fishing-games__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-fishing-games__category-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__category-item img {
    
    
    object-fit: contain;
    margin-bottom: 15px;
    display: inline-block;
}

.page-fishing-games__category-item h3 {
    font-size: 20px;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-fishing-games__category-item p {
    font-size: 15px;
    color: #cccccc;
}

.page-fishing-games__scrollable-content {
    text-align: center;
    margin-top: 20px;
}

.page-fishing-games__scrollable-content p {
    font-size: 16px;
    color: #f0f0f0;
    margin-bottom: 30px;
}

/* Module 4: Promotions */
.page-fishing-games__promotions-section {
    padding: 80px 20px;
    background-color: #0d0d0d;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 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 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-fishing-games__promo-card h3 {
    font-size: 22px;
    color: #FFD700;
    margin: 20px 15px 10px;
}

.page-fishing-games__promo-card p {
    font-size: 16px;
    color: #cccccc;
    padding: 0 15px 20px;
}

.page-fishing-games__btn-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 5px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-fishing-games__btn-link:hover {
    color: #ffffff;
    border-color: #ffffff;
}

/* Module 5: Security & Customer Service */
.page-fishing-games__security-support-section {
    padding: 80px 20px;
    background-color: #1A2E47;
}

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

.page-fishing-games__info-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__info-card img {
    
    
    object-fit: contain;
    margin-bottom: 20px;
    filter: brightness(1.2); /* Slight brightness for icons on dark background */
    display: inline-block;
}

.page-fishing-games__info-card h3 {
    font-size: 22px;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-fishing-games__info-card p {
    font-size: 16px;
    color: #cccccc;
}

/* Module 6: FAQ */
.page-fishing-games__faq-section {
    padding: 80px 20px;
    background-color: #0d0d0d;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #1A2E47;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-question {
    border-bottom: none;
    background-color: #FFD700;
    color: #1A2E47;
}

.page-fishing-games__faq-question:hover {
    background-color: #FFD700;
    color: #1A2E47;
}

.page-fishing-games__faq-question:hover h3, .page-fishing-games__faq-item.active h3 {
    color: #1A2E47; /* Ensure text color changes on hover/active */
}

.page-fishing-games__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: #ffffff;
    transition: color 0.3s ease;
}

.page-fishing-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #FFD700;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    color: #1A2E47;
    transform: rotate(180deg);
}

.page-fishing-games__faq-question:hover .page-fishing-games__faq-toggle {
    color: #1A2E47;
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background-color: rgba(255, 255, 255, 0.05);
    color: #cccccc;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    border-radius: 0 0 8px 8px;
}

/* Module 7: Latest Blog Content */
.page-fishing-games__blog-section {
    padding: 80px 20px;
    background-color: #1A2E47;
}

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

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

.page-fishing-games__blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__blog-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-fishing-games__blog-card h3 {
    font-size: 22px;
    margin: 20px 15px 10px;
}

.page-fishing-games__blog-card h3 a.page-fishing-games__blog-card-link {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fishing-games__blog-card h3 a.page-fishing-games__blog-card-link:hover {
    color: #ffffff;
}

.page-fishing-games__blog-card p {
    font-size: 16px;
    color: #cccccc;
    padding: 0 15px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__games-layout {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-fishing-games__main-title {
        font-size: 36px;
    }
    .page-fishing-games__section-title {
        font-size: 32px;
    }
    .page-fishing-games__intro-features,
    .page-fishing-games__game-categories,
    .page-fishing-games__promo-grid,
    .page-fishing-games__info-grid,
    .page-fishing-games__blog-grid {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games__hero-section {
        padding-top: 0 !important; /* Ensure no double padding if shared.css adds it to body */
    }
    .page-fishing-games__hero-image img,
    .page-fishing-games__games-section img,
    .page-fishing-games__intro-section img,
    .page-fishing-games__quick-access-section img,
    .page-fishing-games__core-games-section img,
    .page-fishing-games__promotions-section img,
    .page-fishing-games__security-support-section img,
    .page-fishing-games__blog-section img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__logo-carousel-section {
        padding: 20px 15px;
    }
    .page-fishing-games__logo-item {
        width: 80px !important;
        height: 80px !important;
        max-width: 80px !important;
        box-sizing: border-box;
    }
    .page-fishing-games__logo-carousel {
        gap: 12px;
    }
    .page-fishing-games__logo-item a {
        padding: 8px;
    }
    .page-fishing-games__games-section {
        padding: 40px 15px;
    }
    .page-fishing-games__games-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__featured-game-title {
        font-size: 20px;
    }
    .page-fishing-games__featured-game-image {
        height: 300px;
    }
    .page-fishing-games__games-tabs {
        gap: 15px;
    }
    .page-fishing-games__games-tab {
        font-size: 16px;
    }
    .page-fishing-games__games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .page-fishing-games__game-card-image {
        height: 150px;
    }
    .page-fishing-games__game-card-title {
        font-size: 13px;
        margin: 8px 0 0 0;
        padding: 0 3px;
    }
    .page-fishing-games__main-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    .page-fishing-games__intro-text {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-fishing-games__section-title {
        font-size: 26px;
        margin-bottom: 15px;
    }
    .page-fishing-games__section-description {
        font-size: 15px;
        margin-bottom: 25px;
    }
    .page-fishing-games__intro-features,
    .page-fishing-games__game-categories,
    .page-fishing-games__promo-grid,
    .page-fishing-games__info-grid,
    .page-fishing-games__blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__feature-item,
    .page-fishing-games__category-item,
    .page-fishing-games__promo-card,
    .page-fishing-games__info-card,
    .page-fishing-games__blog-card {
        padding: 20px;
    }
    .page-fishing-games__feature-item h3,
    .page-fishing-games__category-item h3,
    .page-fishing-games__promo-card h3,
    .page-fishing-games__info-card h3,
    .page-fishing-games__blog-card h3 {
        font-size: 20px;
    }
    .page-fishing-games__feature-item p,
    .page-fishing-games__category-item p,
    .page-fishing-games__promo-card p,
    .page-fishing-games__info-card p,
    .page-fishing-games__blog-card p {
        font-size: 14px;
    }
    .page-fishing-games__button-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 20px;
        font-size: 16px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__faq-question {
        padding: 15px 20px;
    }
    .page-fishing-games__faq-question h3 {
        font-size: 16px;
    }
    .page-fishing-games__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px 20px !important;
    }
    .page-fishing-games__blog-card img {
        height: 200px;
    }
}

/* Dark background sections */
.page-fishing-games__dark-section {
    background-color: #1A2E47;
    color: #ffffff;
}

/* Card and container base styles */
.page-fishing-games__card {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__promo-card, .page-fishing-games__blog-card {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.page-fishing-games__info-card {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.page-fishing-games__feature-item {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}