/* style/fishing-games.css */

/* Base styles for the page content */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text on light background */
    background-color: var(--secondary-color); /* Matches body background: #FFFFFF */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-fishing-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games__section:nth-of-type(even) {
    background-color: #f8f8f8; /* Slightly off-white for visual separation */
}

.page-fishing-games__section-title {
    font-size: 36px;
    color: #000000; /* Black for strong contrast */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-fishing-games__section-description {
    font-size: 18px;
    color: #555555;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #017439, #005f2e); /* Darker green gradient for hero background */
    color: #ffffff; /* White text on dark background */
    overflow: hidden; /* Ensure image doesn't overflow */
}

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

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

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

.page-fishing-games__hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-fishing-games__hero-description {
    font-size: 22px;
    margin-bottom: 40px;
    line-height: 1.5;
    color: #f0f0f0;
}

/* CTA Buttons */
.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    min-width: 180px; /* Ensure buttons are not too small */
}

.page-fishing-games__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-register {
    background: #C30808; /* Register button color */
    color: #FFFF00; /* Register button font color */
    border: 2px solid #C30808;
}

.page-fishing-games__btn-register:hover {
    background: #a30606;
    border-color: #a30606;
}

.page-fishing-games__btn-login {
    background: #C30808; /* Login button color */
    color: #FFFF00; /* Login button font color */
    border: 2px solid #C30808;
}

.page-fishing-games__btn-login:hover {
    background: #a30606;
    border-color: #a30606;
}

.page-fishing-games__btn-primary {
    background: var(--primary-color); /* Primary color for general CTAs */
    color: #ffffff;
    border: 2px solid var(--primary-color);
}

.page-fishing-games__btn-primary:hover {
    background: #005f2e;
    border-color: #005f2e;
}

.page-fishing-games__btn-secondary {
    background: var(--secondary-color); /* White background for secondary CTAs */
    color: var(--primary-color); /* Dark green text */
    border: 2px solid var(--primary-color);
}

.page-fishing-games__btn-secondary:hover {
    background: #f0f0f0;
    color: #005f2e;
    border-color: #005f2e;
}

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

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

/* Why TP88 Section */
.page-fishing-games__why-tp88 .page-fishing-games__section-title {
    color: var(--primary-color);
}

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

.page-fishing-games__feature-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

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

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

.page-fishing-games__feature-item p {
    font-size: 16px;
    color: #555555;
}

/* Popular Games Section */
.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 {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
}

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

.page-fishing-games__game-card-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-fishing-games__game-card-title {
    font-size: 22px;
    color: var(--primary-color);
    margin: 20px 20px 10px 20px;
    font-weight: 600;
}

.page-fishing-games__game-card-text {
    font-size: 16px;
    color: #555555;
    padding: 0 20px 20px 20px;
    flex-grow: 1; /* Allows text to take up available space */
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
    margin: 0 20px 20px 20px;
    width: calc(100% - 40px);
    box-sizing: border-box;
    padding: 12px 20px;
    font-size: 16px;
}

/* How to Play Section */
.page-fishing-games__how-to-play .page-fishing-games__section-title {
    color: var(--primary-color);
}

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

.page-fishing-games__step-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid #e0e0e0;
}

.page-fishing-games__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-fishing-games__step-title {
    font-size: 22px;
    color: #000000;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-fishing-games__step-item p {
    font-size: 16px;
    color: #555555;
}

.page-fishing-games__step-item p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games__step-item p a:hover {
    text-decoration: underline;
}

/* Tips Section */
.page-fishing-games__tips .page-fishing-games__section-title {
    color: var(--primary-color);
}

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

.page-fishing-games__tip-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}

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

.page-fishing-games__tip-item p {
    font-size: 16px;
    color: #555555;
}

/* Promotions Section */
.page-fishing-games__promotions {
    background-color: #f0fdf4; /* Light green background */
}

.page-fishing-games__promotions .page-fishing-games__section-title {
    color: var(--primary-color);
}