:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #017439; /* Using primary color as dark background for contrast */
    --button-register: #C30808;
    --button-login: #C30808;
    --button-text-yellow: #FFFF00;
}

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

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

.page-fishing-games__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.3;
}

.page-fishing-games__section-title--white {
    color: var(--text-light);
}

.page-fishing-games__text-block {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-dark);
}

.page-fishing-games__text-block--white {
    color: var(--text-light);
}

.page-fishing-games__card {
    background: var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
    border: 1px solid #e0e0e0;
}

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

.page-fishing-games__cta-button,
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-fishing-games__btn-primary:hover {
    background: #a30707; /* Darken on hover */
    border-color: #a30707;
    transform: translateY(-2px);
}

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

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

.page-fishing-games__btn-small {
    padding: 10px 20px;
    font-size: 16px;
}

.page-fishing-games__keyword {
    font-weight: bold;
    color: var(--primary-color);
}

.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background: linear-gradient(135deg, var(--primary-color), #004d26); /* Darker gradient for hero background */
}

.page-fishing-games__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.page-fishing-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-fishing-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: var(--text-light);
}

.page-fishing-games__hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-fishing-games__hero-description {
    font-size: 20px;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--text-light);
    opacity: 0.9;
}

.page-fishing-games__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.page-fishing-games__hero-cta-buttons .page-fishing-games__cta-button {
    min-width: 180px;
    max-width: 100%;
}

.page-fishing-games__introduction-section {
    background: var(--bg-light);
    padding: 60px 0;
    color: var(--text-dark);
}

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

.page-fishing-games__feature-item {
    padding: 25px;
}

.page-fishing-games__feature-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 15px;
    margin-bottom: 15px;
}

.page-fishing-games__quick-access-section {
    background: var(--bg-dark);
    padding: 60px 0;
    color: var(--text-light);
}

.page-fishing-games__button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.page-fishing-games__button-group .page-fishing-games__btn-primary,
.page-fishing-games__button-group .page-fishing-games__btn-secondary {
    min-width: 180px;
    flex-grow: 1;
    max-width: 280px;
}

.page-fishing-games__games-showcase-section {
    background: var(--secondary-color);
    padding: 60px 0;
    color: var(--text-dark);
}

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

.page-fishing-games__game-card {
    padding: 20px;
}