:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --text-main-color: #F3F8FF;
    --text-secondary-color: #AFC4E8;
    --card-bg-color: #10233F;
    --border-color: #244D84;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy-color: #08162B; /* This is the body background */
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    background-color: var(--deep-navy-color); /* Inherited from body */
    color: var(--text-main-color); /* Light text on dark body background */
    line-height: 1.6;
    padding-bottom: 50px; /* Adjust if footer is fixed */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 50px;
    text-align: center;
    overflow: hidden;
    background-color: var(--primary-color);
}

.page-fishing-games__hero-image-container {
    width: 100%;
    max-height: 675px; /* Max height for the image */
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-fishing-games__hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.2em, 4vw, 3.2em); /* Use clamp for H1 */
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
    line-height: 1.2;
}

.page-fishing-games__description {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__game-btn,
.page-fishing-games__promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    max-width: 100%; /* For mobile button responsiveness */
    box-sizing: border-box; /* For mobile button responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 115, 246, 0.6);
}

.page-fishing-games__btn-secondary {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* General Section Styles */
.page-fishing-games__section-title {
    font-size: 2.2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--gold-color);
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-fishing-games__section-intro {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-secondary-color);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__dark-section {
    background-color: var(--card-bg-color);
    padding: 60px 0;
    margin-top: 40px;
    border-top: 1px solid var(--divider-color);
    border-bottom: 1px solid var(--divider-color);
}

.page-fishing-games__light-section {
    background-color: var(--deep-navy-color); /* Default body background */
    padding: 60px 0;
    margin-top: 40px;
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
    padding-top: 60px;
}

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

.page-fishing-games__feature-card {
    background-color: var(--deep-navy-color); /* Darker than card-bg for contrast */
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

.page-fishing-games__feature-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__feature-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-fishing-games__feature-text {
    font-size: 1em;
    color: var(--text-secondary-color);
}

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

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

.page-fishing-games__game-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

.page-fishing-games__game-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__game-title {
    font-size: 1.3em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__game-description {
    font-size: 0.95em;
    color: var(--text-secondary-color);
    margin-bottom: 20px;
    min-height: 60px; /* Ensure consistent card height */
}

.page-fishing-games__game-btn {
    background: var(--button-gradient);
    color: #ffffff;
    padding: 10px 20px;
    font-size: 0.95em;
    border-radius: 6px;
    text-decoration: none;
}

.page-fishing-games__game-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(43, 115, 246, 0.6);
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
    padding-top: 60px;
}

.page-fishing-games__steps-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
}

.page-fishing-games__step-item {
    background-color: var(--deep-navy-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-title {
    font-size: 1.3em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__step-item p {
    color: var(--text-secondary-color);
    font-size: 1em;
}

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

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 60px 0;
}

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

.page-fishing-games__promo-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

.page-fishing-games__promo-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__promo-title {
    font-size: 1.3em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__promo-description {
    font-size: 0.95em;
    color: var(--text-secondary-color);
    margin-bottom: 20px;
    min-height: 50px; /* Ensure consistent card height */
}