/* style/fishing-games.css */

/* Base styles for the page content, ensuring contrast with body background */
.page-fishing-games {
    color: #ffffff; /* Light text for dark background, adjusted by sections */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Let body handle the actual background */
}

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

.page-fishing-games__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff; /* Default for dark sections, adjusted for light sections */
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-fishing-games__section-description {
    font-size: 1.1rem;
    color: #f0f0f0; /* Default for dark sections */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsiveness */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

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

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

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

.page-fishing-games__btn-secondary:hover {
    background-color: #C30808;
    color: #ffffff;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image first, then content */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0 60px 0; /* Small top padding, no var(--header-offset) */
    overflow: hidden;
    background-color: #ffffff; /* Explicit light background for hero content */
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 400px; /* Ensure minimum size */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-top: 40px; /* Space between image and content */
    padding: 0 20px;
}

.page-fishing-games__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Clamp for H1, no fixed huge size */
    font-weight: 800;
    color: #017439; /* Brand color for H1 on light background */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 1.2rem;
    color: #333333; /* Dark text for light background */
    margin-bottom: 30px;
}

.page-fishing-games__hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Dark background sections */
.page-fishing-games__dark-bg {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
    padding: 80px 0;
}
.page-fishing-games__dark-bg .page-fishing-games__section-title {
    color: #ffffff;
}
.page-fishing-games__dark-bg .page-fishing-games__section-description {
    color: #f0f0f0;
}
.page-fishing-games__dark-bg p {
    color: #f0f0f0;
}
.page-fishing-games__dark-bg h3 {
    color: #ffffff;
}

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

.page-fishing-games__intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-fishing-games__intro-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__intro-image {
    width: 100%;
    height: auto;
    display: block;
    min-width: 200px; /* Min size */
    min-height: 200px; /* Min size */
}

.page-fishing-games__intro-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Advantages Section */
.page-fishing-games__advantages-section {
    padding: 80px 0;
    background-color: #f8f8f8; /* Light background for contrast */
    color: #333333;
}
.page-fishing-games__advantages-section .page-fishing-games__section-title {
    color: #017439; /* Brand color for light section title */
}
.page-fishing-games__advantages-section p {
    color: #555555;
}
.page-fishing-games__advantages-section h3 {
    color: #017439;
}

.page-fishing-games__advantages-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-fishing-games__advantages-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__advantages-image {
    width: 100%;
    height: auto;
    display: block;
    min-width: 200px; /* Min size */
    min-height: 200px; /* Min size */
}

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

.page-fishing-games__advantage-item {
    margin-bottom: 25px;
}

.page-fishing-games__advantage-item:last-child {
    margin-bottom: 0;
}

.page-fishing-games__advantage-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
    padding: 80px 0;
}

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

.page-fishing-games__game-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards are same height */
}