/* style/fishing-games.css */

/* Base styles and common elements */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light background */
    background-color: var(--background-color, #FFFFFF); /* Use shared background variable */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
    padding-bottom: 80px;
    color: #ffffff; /* Light text for dark background */
    background: linear-gradient(135deg, #017439, #005a2e); /* Brand color gradient */
    text-align: center;
    overflow: hidden;
}

.page-fishing-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle overlay */
    z-index: 0;
}

.page-fishing-games__hero-section .page-fishing-games__container {
    position: relative;
    z-index: 1;
}

.page-fishing-games__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFF00; /* Register/Login font color for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__description-text {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

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

.page-fishing-games__cta-buttons--center {
    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: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%; /* Ensure button fits container */
    box-sizing: border-box; /* Include padding/border in width */
}

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

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

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

.page-fishing-games__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.page-fishing-games__btn-secondary--white-text {
    color: #ffffff; /* Ensure white text on dark background for steps */
}

/* Section common styles */
.page-fishing-games__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: #017439; /* Brand color for titles */
}

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

.page-fishing-games__sub-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #017439;
}

.page-fishing-games__dark-section .page-fishing-games__sub-title {
    color: #f0f0f0;
}

.page-fishing-games__intro-section,
.page-fishing-games__gameplay-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__tips-section,
.page-fishing-games__video-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-bottom-section {
    padding: 60px 0;
}

.page-fishing-games__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-fishing-games__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

/* Content Area */
.page-fishing-games__content-area p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-fishing-games__content-area strong {
    color: #017439;
}

.page-fishing-games__dark-section .page-fishing-games__content-area p {
    color: #f0f0f0;
}

.page-fishing-games__dark-section .page-fishing-games__content-area strong {
    color: #FFFF00;
}

/* Image Text Grid */
.page-fishing-games__image-text-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-fishing-games__image-text-grid .page-fishing-games__content-image {
    flex: 1;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
    display: block;
}

.page-fishing-games__image-text-grid .page-fishing-games__text-block {
    flex: 1;
}

.page-fishing-games__feature-list {
    list-style: none;
    padding: 0;
}

.page-fishing-games__feature-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    font-size: 1.1em;
}

.page-fishing-games__feature-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #017439;
}

.page-fishing-games__dark-section .page-fishing-games__feature-list li::before {
    color: #FFFF00;
}

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

.page-fishing-games__card {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for cards */
    object-fit: cover;
    margin-bottom: 20px;
    max-width: 100%;
    display: block;
}

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

.page-fishing-games__dark-bg .page-fishing-games__card-title {
    color: #FFFF00;
}

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

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

.page-fishing-games__card p {
    font-size: 1em;
    padding: 0 15px;
    color: #333333;
}

.page-fishing-games__dark-bg .page-fishing-games__card p {
    color: #f0f0f0;
}

/* Step-by-Step Guide */
.page-fishing-games__step-by-step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__step-card {
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #017439; /* Brand color for steps */
    color: #ffffff;
}

.page-fishing-games__step-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #FFFF00; /* Yellow for step titles */
}

.page-fishing-games__step-card p {
    font-size: 1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

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

.page-fishing-games__tip-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

.page-fishing-games__tip-item p {
    font-size: 1em;
    color: #555555;
}

/* Video Section */
.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-top: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    cursor: pointer;
}

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

.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f9f9f9;
}