/* style/fishing-games.css */

/* --- General Styles & Reset (Scoped to .page-fishing-games) --- */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: var(--secondary-color, #FFFFFF); /* Ensure white background for main content */
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #017439; /* Primary color for titles */
    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: #017439;
    border-radius: 2px;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-fishing-games__highlight {
    color: #017439;
    font-weight: bold;
}

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

.page-fishing-games__text-link:hover {
    color: #005f2e; /* Darken primary color */
}

/* --- Button Styles --- */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure responsiveness */
}

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

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

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

.page-fishing-games__btn-secondary:hover {
    background-color: #017439;
    color: #FFFFFF;
}

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

/* --- Image & Video Responsiveness (Base) --- */
.page-fishing-games img,
.page-fishing-games video {
    max-width: 100%;
    height: auto;
    display: block;
    /* No filter properties allowed */
    filter: none;
}

.page-fishing-games__image-wrapper,
.page-fishing-games__video-wrapper,
.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* --- Section Specific Styles --- */

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    color: #FFFFFF; /* White text for dark background */
    background-color: #017439; /* Primary color as background */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow: hidden; /* Prevent image overflow */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #F0F0F0;
}

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

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3; /* Subtle background image */
    background-size: cover;
    background-position: center;
}

.page-fishing-games__hero-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Intro Section */
.page-fishing-games__intro-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

/* Game Types Section */
.page-fishing-games__game-types-section {
    padding: 60px 0;
    background-color: #017439;
    color: #FFFFFF;
}

.page-fishing-games__game-types-section .page-fishing-games__section-title {
    color: #FFFFFF;
}

.page-fishing-games__game-types-section .page-fishing-games__section-title::after {
    background-color: #FFFFFF;
}

.page-fishing-games__game-types-section .page-fishing-games__text-block {
    color: #F0F0F0;
}

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

.page-fishing-games__game-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-bottom: 20px;
    color: #333333;
}

.page-fishing-games__game-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency, min 200px */
    object-fit: cover;
    margin-bottom: 15px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.page-fishing-games__game-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-fishing-games__game-title .page-fishing-games__game-link {
    color: #017439;
    text-decoration: none;
}

.page-fishing-games__game-title .page-fishing-games__game-link:hover {
    text-decoration: underline;
}

.page-fishing-games__game-description {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px;
}

/* Guide Section */
.page-fishing-games__guide-section {
    padding: 60px 0;
    background-color: #F8F8F8;
}

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

.page-fishing-games__guide-step {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-fishing-games__step-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 15px;
    position: relative;
}

.page-fishing-games__step-title::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -15px;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background-color: #C30808;
    border-radius: 2px;
}

.page-fishing-games__step-description {
    font-size: 1em;
    color: #555555;
}

/* Advantages Section */
.page-fishing-games__advantages-section {
    padding: 60px 0;
    background-color: #017439;
    color: #FFFFFF;
}

.page-fishing-games__advantages-section .page-fishing-games__section-title {
    color: #FFFFFF;
}

.page-fishing-games__advantages-section .page-fishing-games__section-title::after {
    background-color: #FFFFFF;
}

.page-fishing-games__advantages-section .page-fishing-games__text-block {
    color: #F0F0F0;
}

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

.page-fishing-games__advantage-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.3s ease;
}

.page-fishing-games__advantage-item:hover {
    transform: translateY(-5px);
}

.page-fishing-games__advantage-title {
    font-size: 1.3em;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.page-fishing-games__advantage-description {
    font-size: 1em;
    color: #F0F0F0;
}

/* Tips Section */
.page-fishing-games__tips-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

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

.page-fishing-games__tip-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
}

.page-fishing-games__tip-image {
    width: 100%;
    height: 220px; /* Fixed height, min 200px */
    object-fit: cover;
    margin-bottom: 15px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.page-fishing-games__tip-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-fishing-games__tip-description {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 60px 0;
    background-color: #017439;
    color: #FFFFFF;
}

.page-fishing-games__promotions-section .page-fishing-games__section-title {
    color: #FFFFFF;
}

.page-fishing-games__promotions-section .page-fishing-games__section-title::after {
    background-color: #FFFFFF;
}

.page-fishing-games__promotions-section .page-fishing-games__text-block {
    color: #F0F0F0;
}

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

.page-fishing-games__promotion-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 12px;
    text-align: left;
}

.page-fishing-games__promotion-title {
    font-size: 1.3em;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.page-fishing-games__promotion-description {
    font-size: 1em;
    color: #F0F0F0;
}

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

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

.page-fishing-games__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-fishing-games__faq-item[open] {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    background-color: #FDFDFD;
    user-select: none;
    position: relative;
    list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}

.page-fishing-games__faq-item summary {
    list-style: none; /* Hide default marker for Firefox */
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #C30808;
}