:root {
    --primary-color: #E53935;
    --secondary-color: #FF5A4F;
    --card-bg: #FFFFFF;
    --background-color: #F5F7FA;
    --text-main: #333333;
    --border-color: #E0E0E0;
    --dark-text-on-primary: #ffffff;
    --light-text-on-dark: #ffffff;
    --header-offset: 120px; /* Default, will be overridden by shared.css */
}

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

/* Assume body padding-top is handled by shared.css, so first section needs minimal padding */
.page-fishing-games__hero-section {
    padding-top: 10px; /* Minimal padding after shared header offset */
    padding-bottom: 60px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--light-text-on-dark);
    text-align: center;
}

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

.page-fishing-games__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Use clamp for H1 */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--light-text-on-dark);
}

.page-fishing-games__hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--light-text-on-dark);
}

.page-fishing-games__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Button responsive */
    box-sizing: border-box; /* Button responsive */
    white-space: normal; /* Button responsive */
    word-wrap: break-word; /* Button responsive */
}

.page-fishing-games__btn-primary {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--light-text-on-dark);
    border: 2px solid var(--secondary-color);
}

.page-fishing-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text-on-dark);
}

.page-fishing-games__hero-image-wrapper {
    margin-top: 30px;
}

.page-fishing-games__hero-image {
    max-width: 800px;
    height: 450px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    display: block; /* Ensure it's treated as a block for max-width and margin auto */
    margin: 0 auto; /* Center the image */
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
    object-fit: cover;
}

.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.page-fishing-games__section-description {
    font-size: 1.1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

/* About Section */
.page-fishing-games__about-section {
    padding: 80px 0;
    text-align: center;
}

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

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

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

.page-fishing-games__content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.page-fishing-games__content-wrapper p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.page-fishing-games__image-full {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
    object-fit: cover;
}

/* Game Types Section */
.page-fishing-games__game-types-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

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

.page-fishing-games__game-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards are same height */
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
}

.page-fishing-games__game-thumbnail {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-fishing-games__game-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 0 15px;
    flex-grow: 1; /* Push button to bottom */
}

.page-fishing-games__game-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fishing-games__game-title a:hover {
    color: var(--secondary-color);
}

.page-fishing-games__game-description {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 20px;
    padding: 0 15px;
}

.page-fishing-games__btn-small {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--light-text-on-dark);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
    margin-top: auto; /* Push to bottom */
    max-width: 100%; /* Button responsive */
    box-sizing: border-box; /* Button responsive */
    white-space: normal; /* Button responsive */
    word-wrap: break-word; /* Button responsive */
}

.page-fishing-games__btn-small:hover {
    opacity: 0.9;
}

.page-fishing-games__cta-more-games {
    text-align: center;
    margin-top: 60px;
}

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

.page-fishing-games__light-bg {
    background-color: var(--card-bg); /* Explicitly white for contrast */
    color: var(--text-main);
}

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

.page-fishing-games__feature-item {
    text-align: center;
    padding: 30px;
    background-color: var(--background-color);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    min-width: 200px; /* Min image size, will be scaled down by width/height */
    min-height: 200px; /* Min image size */
    object-fit: contain;
}

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

.page-fishing-games__feature-description {
    font-size: 1rem;
    color: var(--text-main);
}

/* Guide Section */
.page-fishing-games__guide-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.page-fishing-games__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-fishing-games__guide-list li {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--text-main);
    counter-increment: guide-step;
    position: relative;
    padding-left: 60px;
}

.page-fishing-games__guide-list li::before {
    content: counter(guide-step);
    position: absolute;
    left: 20px;
    top: 20px;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: var(--light-text-on-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.page-fishing-games__guide-list li strong {
    color: var(--primary-color);
}

.page-fishing-games__cta-buttons-inline {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* Strategy Section */
.page-fishing-games__strategy-section {
    padding: 80px 0;
    text-align: center;
}

.page-fishing-games__strategy-section .page-fishing-games__content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__strategy-section .page-fishing-games__content-wrapper p,
.page-fishing-games__strategy-section .page-fishing-games__content-wrapper ul {
    text-align: left;
    color: var(--light-text-on-dark);
}

.page-fishing-games__strategy-section .page-fishing-games__content-wrapper ul {
    margin-bottom: 30px;
}

.page-fishing-games__strategy-list {
    list-style: disc;
    padding-left: 20px;
    margin-top: 20px;
}

.page-fishing-games__strategy-list li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--light-text-on-dark);
}

.page-fishing-games__strategy-list li strong {
    color: var(--secondary-color);
}

.page-fishing-games__image-right {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
    object-fit: cover;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

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

.page-fishing-games__promotion-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-fishing-games__promotion-card:hover {
    transform: translateY(-5px);
}