/* style/fishing-games.css */

/* --- General Page Styles --- */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light body background */
    line-height: 1.6;
    background-color: var(--secondary-color); /* White background as per shared.css body */
}

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

.page-fishing-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games__section-title {
    font-size: 36px;
    color: #017439; /* Primary color for titles */
    margin-bottom: 40px;
    font-weight: bold;
    text-transform: uppercase;
}

.page-fishing-games__text-block {
    font-size: 18px;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

.page-fishing-games__inline-link {
    color: #017439;
    text-decoration: underline;
    font-weight: bold;
}

.page-fishing-games__inline-link:hover {
    color: #005f2e;
}

/* --- 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: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background: linear-gradient(135deg, #e0f2f1, #ffffff); /* Light gradient background */
}

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

.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: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-fishing-games__main-title {
    font-size: 48px;
    color: #017439;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.page-fishing-games__description {
    font-size: 20px;
    color: #555555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-fishing-games__btn-register {
    background: #C30808; /* Custom Register color */
    color: #FFFF00; /* Custom Register font color */
    border: 2px solid #C30808;
}

.page-fishing-games__btn-register:hover {
    background: #a10707;
    border-color: #a10707;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-download {
    background: #017439; /* Primary color */
    color: #FFFFFF; /* Secondary color */
    border: 2px solid #017439;
}

.page-fishing-games__btn-download:hover {
    background: #005f2e;
    border-color: #005f2e;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* --- Dark Section Styles --- */
.page-fishing-games__dark-section {
    background: #017439; /* Primary color background */
    color: #ffffff; /* White text for dark background */
}

.page-fishing-games__dark-section .page-fishing-games__section-title {
    color: #ffffff;
}

.page-fishing-games__dark-section .page-fishing-games__text-block {
    color: #f0f0f0;
}

.page-fishing-games__dark-section .page-fishing-games__inline-link {
    color: #FFFF00;
}

.page-fishing-games__dark-section .page-fishing-games__inline-link:hover {
    color: #ffcc00;
}

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

.page-fishing-games__feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-fishing-games__feature-title {
    font-size: 24px;
    color: #FFFF00; /* Custom Register font color for emphasis */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__feature-description {
    font-size: 16px;
    color: #f0f0f0;
}

/* --- Game Showcase --- */
.page-fishing-games__game-showcase .page-fishing-games__section-title {
    color: #017439;
}

.page-fishing-games__game-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-fishing-games__game-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 20px;
}

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

.page-fishing-games__game-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.page-fishing-games__game-card-title {
    font-size: 22px;
    color: #017439;
    margin: 0 20px 10px;
    font-weight: bold;
}

.page-fishing-games__game-card-description {
    font-size: 16px;
    color: #666666;
    margin: 0 20px 20px;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px;
    padding: 12px 20px;
    font-size: 16px;
    text-align: center;
    background: #C30808; /* Custom Register color */
    color: #FFFF00; /* Custom Register font color */
    border: none;
    border-radius: 6px;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary:hover {
    background: #a10707;
}

.page-fishing-games__centered-text {
    margin-top: 40px;
}

.page-fishing-games__download-btn-bottom {
    margin-top: 20px;
    background: #017439;
    color: #FFFFFF;
}

/* --- How To Play Section --- */
.page-fishing-games__how-to-play .page-fishing-games__section-title {
    color: #ffffff;
}

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

.page-fishing-games__step-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    padding-top: 70px;
}

.page-fishing-games__step-number {
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 36px;
    font-weight: bold;
    color: #FFFF00; /* Custom Register font color */
    line-height: 1;
}

.page-fishing-games__step-title {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-fishing-games__step-description {
    font-size: 16px;
    color: #f0f0f0;
}

.page-fishing-games__mobile-app-promo {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__mobile-screenshot {
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

/* --- Promotions Section --- */
.page-fishing-games__promotions .page-fishing-games__section-title {
    color: #017439;
}

.page-fishing-games__promotion-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__promotion-item {
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    text-align: left;
    border-left: 5px solid #017439;
}

.page-fishing-games__promotion-title {
    font-size: 22px;
    color: #017439;
    margin-bottom: 10px;
    font-weight: bold;
}

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

.page-fishing-games__btn-secondary {
    background: #ffffff;
    color: #017439;
    border: 2px solid #017439;
    padding: 14px 35px;
    font-size: 17px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.page-fishing-games__btn-secondary:hover {
    background: #017439;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* --- Security & Support Section --- */
.page-fishing-games__security-support .page-fishing-games__section-title {
    color: #ffffff;
}

.page-fishing-games__grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    text-align: left;
    margin-top: 40px;
}

.page-fishing-games__sub-title {
    font-size: 26px;
    color: #FFFF00;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__text-content p {
    color: #f0f0f0;
    margin-bottom: 15px;
}

.page-fishing-games__security-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* --- FAQ Section --- */
.page-fishing-games__faq-section .page-fishing-games__section-title {
    color: #017439;
}

.page-fishing-games__faq-illustration {
    max-width: 600px;
    height: auto;
    margin: 20px auto 40px auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.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 15px;
    opacity: 0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 2000px !important; /* 🚨 Using !important */
    padding: 20px 15px !important; /* 🚨 Using !important */
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-fishing-games__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-fishing-games__faq-question:active {
    background: #eeeeee;
}

.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: #333333;
}
}