/* style/fishing-games.css */

/* Base Styles for page-fishing-games */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Light text on dark body background */
    line-height: 1.6;
    background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-fishing-games__section-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__item-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Slightly off-white for readability */
}

.page-fishing-games__text-center {
    text-align: center;
}

.page-fishing-games__dark-bg {
    background-color: #000080; /* Dark blue auxiliary color */
    padding: 60px 0;
}

/* Buttons */
.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: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background-color: #FFD700; /* Gold brand color */
    color: #000080; /* Dark blue text on gold */
    border: 2px solid #FFD700;
}

.page-fishing-games__btn-primary:hover {
    background-color: #e6c200;
    color: #00005a;
    transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text on dark background */
    border: 2px solid #FFD700;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #FFD700;
    color: #000080;
    transform: translateY(-2px);
}

.page-fishing-games a {
    color: #FFD700;
    text-decoration: none;
}

.page-fishing-games a:hover {
    text-decoration: underline;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-fishing-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.page-fishing-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 128, 0.7)); /* Dark overlay with brand blue */
    z-index: 0;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
}

.page-fishing-games__hero-title {
    font-size: 4em;
    color: #FFD700; /* Gold title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
    font-size: 1.5em;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Intro Section */
.page-fishing-games__intro-section {
    padding: 80px 0;
}

/* Gameplay Section */
.page-fishing-games__gameplay-section {
    padding: 80px 0;
    background-color: #1a1a2e; /* Dark background from body */
}

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

.page-fishing-games__gameplay-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for card background */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-fishing-games__gameplay-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 2px solid #FFD700;
    object-fit: cover;
}

.page-fishing-games__tip-list {
    list-style: none;
    padding: 0;
    text-align: left;
    width: 100%;
    margin-top: 15px;
}

.page-fishing-games__tip-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #f0f0f0;
}

.page-fishing-games__tip-list li::before {
    content: '★';
    color: #FFD700;
    position: absolute;
    left: 0;
    top: 0;
}

/* Versions Section */
.page-fishing-games__versions-section {
    padding: 80px 0;
}

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

.page-fishing-games__game-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for card background */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.page-fishing-games__card-title {
    font-size: 1.6em;
    color: #FFD700;
    margin: 10px 15px;
}

.page-fishing-games__card-title a {
    color: #FFD700;
    text-decoration: none;
}

.page-fishing-games__card-title a:hover {
    text-decoration: underline;
}

.page-fishing-games__card-description {
    font-size: 1em;
    color: #e0e0e0;
    padding: 0 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-fishing-games__card-button {
    margin: 0 15px;
}

/* Advantages Section */
.page-fishing-games__advantages-section {
    padding: 80px 0;
    background-color: #1a1a2e;
}

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

.page-fishing-games__advantage-item {
    background-color: rgba(0, 0, 128, 0.7); /* Dark blue with transparency */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-fishing-games__advantage-icon {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #FFD700;
}

/* Video Section */
.page-fishing-games__video-section {
    padding: 80px 0;
}

.page-fishing-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 12px;
    border: 3px solid #FFD700;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.page-fishing-games__video-cta {
    text-align: center;
    margin-top: 30px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 80px 0;
    background-color: #1a1a2e;
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #000080; /* Dark blue background for question */
    color: #FFD700; /* Gold text for question */
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: #0000a0;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
    color: #f0f0f0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Ensure it expands */
    padding: 15px 25px;
}

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

/* CTA Section */
.page-fishing-games__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-fishing-games__cta-button {
    margin-top: 40px;
    font-size: 1.3em;
    padding: 18px 40px;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3.5em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.3em;
    }
    .page-fishing-games__section-title {
        font-size: 2.2em;
    }
    .page-fishing-games__item-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-fishing-games__hero-section {
        height: auto;
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-fishing-games__hero-title {
        font-size: 2.5em;
        margin-top: 20px;
    }

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

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        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__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-fishing-games__cta-buttons {
      display: flex;
      flex-direction: column; 
    }

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

    .page-fishing-games__item-title {
        font-size: 1.4em;
    }

    .page-fishing-games__gameplay-item,
    .page-fishing-games__game-card,
    .page-fishing-games__advantage-item {
        padding: 20px;
    }

    .page-fishing-games__gameplay-image,
    .page-fishing-games__card-image,
    .page-fishing-games__advantage-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-fishing-games__video-wrapper {
        margin: 20px auto;
    }

    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-fishing-games__faq-answer {
        padding: 0 20px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
      padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__game-cards {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__content-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__advantages-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__cta-button {
        font-size: 1.1em;
        padding: 15px 30px;
    }
}