/* style/fishing-games.css */

/* Variables and Base Styles */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --accent-color-register-login: #C30808; /* For Register/Login buttons */
    --text-color-register-login: #FFFF00; /* For Register/Login button text */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f9f9f9;
    --border-color: #e0e0e0;
}

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

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

.page-fishing-games__section {
    padding: 60px 0;
    margin-bottom: 20px;
    background-color: var(--secondary-color); /* Default section background */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__section--intro,
.page-fishing-games__section--guide,
.page-fishing-games__section--strategies,
.page-fishing-games__section--security,
.page-fishing-games__section--faq,
.page-fishing-games__section--news {
    background-color: var(--secondary-color);
}

.page-fishing-games__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-color-light); /* Light text for dark background */
}

.page-fishing-games__heading {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 10px;
    position: relative;
}

.page-fishing-games__heading--white {
    color: var(--text-color-light);
}

.page-fishing-games__heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-fishing-games__heading--white::after {
    background-color: var(--secondary-color);
}

.page-fishing-games__text {
    font-size: 18px;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color-dark);
}

.page-fishing-games__text--white {
    color: var(--text-color-light);
}

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure button adapts to container width */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__cta-button--primary {
    background: var(--primary-color);
    color: var(--text-color-light);
    border: 2px solid var(--primary-color);
}

.page-fishing-games__cta-button--primary:hover {
    background: #005c2d; /* Darker green */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__cta-button--secondary {
    background: var(--accent-color-register-login);
    color: var(--text-color-register-login);
    border: 2px solid var(--accent-color-register-login);
    margin-left: 20px;
}

.page-fishing-games__cta-button--secondary:hover {
    background: #a60606; /* Darker red */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__cta-button--white-outline {
    background: transparent;
    color: var(--text-color-light);
    border: 2px solid var(--text-color-light);
}

.page-fishing-games__cta-button--white-outline:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

/* 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;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background: linear-gradient(135deg, var(--primary-color) 0%, #017439aa 100%); /* Subtle gradient for hero background */
    overflow: hidden; /* Prevent content 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;
}

.page-fishing-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
    max-height: 500px; /* Limit hero image height */
    overflow: hidden;
    border-radius: 12px;
}

.page-fishing-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: var(--text-color-light);
}

.page-fishing-games__hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-color-light);
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 22px;
    margin-bottom: 40px;
    color: var(--text-color-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Intro Section */
.page-fishing-games__section--intro .page-fishing-games__image-wrapper {
    margin: 40px auto;
    max-width: 900px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__section--intro .page-fishing-games__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

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

.page-fishing-games__game-card {
    background-color: var(--background-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

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

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

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

.page-fishing-games__game-card .page-fishing-games__card-text {
    font-size: 16px;
    color: var(--text-color-dark);
    padding: 0 15px 20px;
    text-align: left;
    flex-grow: 1;
}

/* Guide Section */
.page-fishing-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-fishing-games__guide-item {
    background-color: var(--background-light);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-fishing-games__guide-item:hover {
    transform: translateY(-5px);
}

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

.page-fishing-games__guide-item .page-fishing-games__guide-text {
    font-size: 16px;
    color: var(--text-color-dark);
    text-align: left;
    margin-bottom: 0;
}

.page-fishing-games__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Strategy Section */
.page-fishing-games__strategy-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
}

.page-fishing-games__strategy-list li {
    background-color: var(--background-light);
    margin-bottom: 15px;
    padding: 20px 25px;
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 17px;
    color: var(--text-color-dark);
    line-height: 1.7;
}

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

/* Promotions Section */
.page-fishing-games__section--promotions {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    text-align: center;
}

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

.page-fishing-games__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--text-color-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.page-fishing-games__promo-card:hover {
    transform: translateY(-8px);
}

.page-fishing-games__promo-card .page-fishing-games__card-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-color-light);
    margin-bottom: 15px;
}

.page-fishing-games__promo-card .page-fishing-games__card-text {
    font-size: 16px;
    color: var(--text-color-light);
    text-align: center;
    margin-bottom: 0;
}

/* Security Section */
.page-fishing-games__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-fishing-games__feature-item {
    background-color: var(--background-light);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.page-fishing-games__feature-item:hover {
    transform: translateY(-5px);
}

.page-fishing-games__feature-item img {
    
    
    object-fit: contain;
    margin-bottom: 20px;
}

.page-fishing-games__feature-item .page-fishing-games__feature-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-fishing-games__feature-item .page-fishing-games__feature-text {
    font-size: 16px;
    color: var(--text-color-dark);
    text-align: center;
    margin-bottom: 0;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}