/* style/fishing-games.css */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-color-dark-bg: #FFFFFF;
    --text-color-light-bg: #333333;
    --btn-register-login-bg: #C30808;
    --btn-register-login-text: #FFFF00;
    --body-bg: #1a1a1a; /* From shared.css */
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark-bg); /* Default text color for body background */
    background-color: var(--body-bg);
}

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

/* Sections */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--header-offset, 120px) 20px 60px; /* Use header offset */
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-color-dark-bg);
    overflow: hidden;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin-bottom: 30px;
}

.page-fishing-games__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--text-color-dark-bg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
}

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

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

.page-fishing-games__intro-section,
.page-fishing-games__promo-section,
.page-fishing-games__faq-section {
    background-color: var(--secondary-color);
    color: var(--text-color-light-bg);
    padding: 60px 0;
}

.page-fishing-games__games-section,
.page-fishing-games__strategy-section,
.page-fishing-games__platform-features,
.page-fishing-games__cta-section {
    background-color: var(--primary-color);
    color: var(--text-color-dark-bg);
    padding: 60px 0;
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherits from section, ensures contrast */
}

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

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

.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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background-color: var(--btn-register-login-bg);
    color: var(--btn-register-login-text);
    border: 2px solid var(--btn-register-login-bg);
}

.page-fishing-games__btn-primary:hover {
    background-color: #E00A0A; /* Slightly darker red */
    border-color: #E00A0A;
}

.page-fishing-games__btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

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

/* Images */
.page-fishing-games__image,
.page-fishing-games__card-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

/* 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__game-card,
.page-fishing-games__promo-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark sections */
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--text-color-dark-bg);
}

.page-fishing-games__intro-section .page-fishing-games__promo-card,
.page-fishing-games__faq-section .page-fishing-games__promo-card {
    background-color: var(--secondary-color);
    color: var(--text-color-light-bg);
    border: 1px solid #e0e0e0;
}

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

.page-fishing-games__card-description {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Lists */
.page-fishing-games__ordered-list,
.page-fishing-games__unordered-list,
.page-fishing-games__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-fishing-games__list-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter for dark sections */
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--text-color-dark-bg);
}

.page-fishing-games__intro-section .page-fishing-games__list-item,
.page-fishing-games__promo-section .page-fishing-games__list-item,
.page-fishing-games__faq-section .page-fishing-games__list-item {
    background-color: #f9f9f9;
    color: var(--text-color-light-bg);
    border: 1px solid #eee;
}