:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --button-register-bg: #C30808;
    --button-login-bg: #C30808;
    --button-font-color: #FFFF00;
    --background-color: #FFFFFF;
}

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

/* Fixed Header Offset */
.page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px);
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a8a61 100%); /* Adjusted gradient for better contrast */
    color: var(--text-color-light);
}

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

.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: 12px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.page-fishing-games__main-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--button-font-color); /* Sử dụng màu vàng cho tiêu đề chính */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__main-description {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color-light);
}

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--button-register-bg); /* Màu đỏ cho CTA chính */
    color: var(--button-font-color); /* Màu vàng cho chữ */
    text-decoration: none;
    border-radius: 8px;
    font-size: 22px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    border: none;
}

.page-fishing-games__cta-button:hover {
    background: #e02a2a; /* Slightly darker red on hover */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* General Section Styling */
.page-fishing-games__section {
    padding: 60px 0;
    background-color: var(--background-color);
}

.page-fishing-games__dark-section {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

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

.page-fishing-games__section-title {
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

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

.page-fishing-games__text-block {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: justify;
}

.page-fishing-games__dark-section .page-fishing-games__text-block {
    color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__faq-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    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(--primary-color);
    color: var(--text-color-light);
    border: 2px solid var(--primary-color);
}

.page-fishing-games__btn-primary:hover {
    background: #005a2e;
    border-color: #005a2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

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

.page-fishing-games__btn-secondary:hover,
.page-fishing-games__faq-btn:hover {
    background: var(--primary-color);
    color: var(--text-color-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Features Grid */
.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 {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__feature-item img {
    width: 100%;
    max-width: 400px;
    height: 300px;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-fishing-games__feature-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color-light);
}

.page-fishing-games__feature-item p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

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

.page-fishing-games__game-card {
    background: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
}

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

.page-fishing-games__game-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
}

.page-fishing-games__card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
    padding: 0 15px;
}

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

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

.page-fishing-games__game-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color-dark);
    padding: 0 15px;
    margin-bottom: 20px;
}

/* Guide Steps */
.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: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__guide-step img {
    width: 100%;
    max-width: 200px;
    
    object-fit: contain; /* Use contain for guide icons */
    margin-bottom: 20px;
}

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