/* General Styling for Fishing Games Page */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main, #333333); /* Default text color, ensuring contrast */
    background: var(--background, #F5F7FA); /* Page background color */
}

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

.page-fishing-games__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-main, #333333);
    text-align: center;
    margin-bottom: 20px;
    padding-top: 20px;
}

.page-fishing-games__section-subtitle {
    font-size: 18px;
    color: var(--text-main, #333333);
    text-align: center;
    margin-bottom: 40px;
}

.page-fishing-games__text-block p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-main, #333333);
}

.page-fishing-games__text-block strong.text-highlight {
    color: var(--main-color, #E53935);
}

.page-fishing-games__content-image {
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px; /* Minimum height for hero */
}

.page-fishing-games__hero-image {
    width: 100%;
    max-height: 600px; /* Limit height to prevent excessive stretching */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; /* Space between image and content */
}

.page-fishing-games__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover the container */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size, not fixed large */
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
    max-width: 600px; /* Limit button group width */
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__cta-buttons--center {
    margin-top: 50px;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-link,
.page-fishing-games a[class*="button"],
.page-fishing-games a[class*="btn"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    max-width: 100%; /* Ensure button does not overflow container */
}

.page-fishing-games__btn-primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary {
    background: #ffffff;
    color: var(--main-color, #E53935);
    border: 2px solid var(--main-color, #E53935);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--main-color, #E53935);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-link {
    color: var(--main-color, #E53935);
    text-decoration: underline;
    font-size: 16px;
    padding: 5px 0;
}

.page-fishing-games__btn-link:hover {
    color: var(--aux-color, #FF5A4F);
}

/* Section Backgrounds for Contrast */
.page-fishing-games__light-bg {
    background: var(--card-bg, #FFFFFF);
    color: var(--text-main, #333333);
}

.page-fishing-games__dark-section {
    background: var(--main-color, #E53935);
    color: #ffffff;
}

.page-fishing-games__dark-section .page-fishing-games__section-title,
.page-fishing-games__dark-section .page-fishing-games__section-subtitle,
.page-fishing-games__dark-section .page-fishing-games__text-block p,
.page-fishing-games__dark-section .page-fishing-games__feature-title,
.page-fishing-games__dark-section .page-fishing-games__feature-description {
    color: #ffffff;
}
.page-fishing-games__dark-section strong.text-highlight {
    color: #FFD700; /* Gold for highlight on dark background */
}


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

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

.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-card {
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__feature-icon {
    width: 100%;
    max-width: 150px; /* Keep icons a reasonable size */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-fishing-games__feature-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-fishing-games__feature-description {
    font-size: 16px;
    color: #f0f0f0;
}

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

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

.page-fishing-games__game-card {
    background: var(--card-bg, #FFFFFF);
    border: 1px solid var(--border-color, #E0E0E0);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__game-thumbnail {
    width: 100%;
    height: 200px; /* Fixed height for thumbnails */
    object-fit: cover;
    display: block;
}

.page-fishing-games__game-title {
    font-size: 20px;
    font-weight: bold;
    margin: 15px 15px 10px;
    color: var(--text-main, #333333);
}

.page-fishing-games__game-title a {
    color: var(--text-main, #333333);
    text-decoration: none;
}

.page-fishing-games__game-title a:hover {
    color: var(--main-color, #E53935);
}

.page-fishing-games__game-description {
    font-size: 15px;
    color: #666666;
    margin: 0 15px 15px;
}

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

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

.page-fishing-games__numbered-list li {
    background: var(--card-bg, #FFFFFF);
    border: 1px solid var(--border-color, #E0E0E0);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 60px;
    font-size: 16px;
    color: var(--text-main, #333333);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-fishing-games__numbered-list li:before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: var(--main-color, #E53935);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.page-fishing-games__numbered-list li a {
    color: var(--main-color, #E53935);
    text-decoration: underline;
}

.page-fishing-games__numbered-list li a:hover {
    color: var(--aux-color, #FF5A4F);
}

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

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

.page-fishing-games__bullet-list li {
    background: rgba(255, 255, 255, 0.1);
    border-left: 5px solid #FFD700; /* Highlight on dark background */
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 10px;
    font-size: 16px;
    color: #f0f0f0;
}

.page-fishing-games__bullet-list li strong {
    color: #ffffff;
}

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

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