/* style/fishing-games.css */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light background */
    background-color: #ffffff;
}

.page-fishing-games__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-fishing-games__light-bg {
    background-color: #ffffff;
    color: #333333;
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #017439;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-fishing-games__section-title--white {
    color: #ffffff;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-fishing-games__text-block--white {
    color: #ffffff;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding-top: var(--header-offset, 120px);
}

.page-fishing-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-fishing-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    max-width: 900px;
    padding: 0 20px;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background-color: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}

.page-fishing-games__btn-primary:hover {
    background-color: #9c0606;
    border-color: #9c0606;
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
    border-color: #ffffff;
}

.page-fishing-games__btn-link {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: #017439;
    color: #ffffff;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-link:hover {
    background-color: #005a2d;
}

.page-fishing-games__btn-link--white {
    background-color: #ffffff;
    color: #017439;
    border: 1px solid #017439;
}

.page-fishing-games__btn-link--white:hover {
    background-color: #f0f0f0;
}

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

/* Video Section */
.page-fishing-games__video-section {
    padding: 60px 20px;
    text-align: center;
}

.page-fishing-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 1000px;
    margin: 30px auto 0 auto;
    background-color: #000;
    border-radius: 10px;
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
}

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

.page-fishing-games__card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
    color: #333333;
}

.page-fishing-games__card:hover {
    transform: translateY(-10px);
}

.page-fishing-games__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-fishing-games__card-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    padding: 0 15px;
}

.page-fishing-games__card--promo {
    background-color: #017439;
    color: #ffffff;
}

.page-fishing-games__card-title--promo {
    color: #ffffff;
}

.page-fishing-games__card-description--white {
    color: #f0f0f0;
}

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

.page-fishing-games__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__feature-title {
    font-size: 1.6em;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-fishing-games__feature-description {
    font-size: 1.05em;
    color: #f0f0f0;
}

/* How to Play Section */
.page-fishing-games__how-to-play-list,
.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-fishing-games__how-to-play-list li {
    background-color: #f9f9f9;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #017439;
}

.page-fishing-games__list-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 10px;
}

.page-fishing-games__list-description {
    font-size: 1em;
    color: #555555;
}

.page-fishing-games__tips-list li {
    margin-bottom: 10px;
    color: #333333;
    padding-left: 25px;
    position: relative;
}

.page-fishing-games__tips-list li::before {
    content: '•';
    color: #017439;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

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

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

.page-fishing-games__security-icon {
    width: 100%;
    height: 200px; /* Enforce min size */
    object-fit: contain;
    margin-bottom: 20px;
}

.page-fishing-games__security-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 10px;
}

.page-fishing-games__security-description {
    font-size: 1em;
    color: #555555;
}

/* FAQ Section */
.page-fishing-games__faq-items {
    margin-top: 30px;
}

.page-fishing-games__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #017439;
    color: #ffffff;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
}

.page-fishing-games__faq-question:hover {
    background-color: #005a2d;
}

.page-fishing-games__faq-question h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.1em;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #ffffff;
    color: #333333;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 15px 20px;
}

.page-fishing-games__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
    padding: 80px 20px;
    text-align: center;
}

.page-fishing-games__cta-content {
    max-width: 800px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.2em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__text-block {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__hero-section {
        height: 500px;
    }
    .page-fishing-games__hero-title {
        font-size: 2.5em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-link {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__content-area {
        padding: 20px 15px;
    }
    .page-fishing-games__game-cards,
    .page-fishing-games__features-grid,
    .page-fishing-games__security-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__card,
    .page-fishing-games__feature-item,
    .page-fishing-games__security-item {
        padding: 20px;
    }
    .page-fishing-games__card-image {
        height: 200px;
    }
    .page-fishing-games__security-icon {
        height: 150px;
    }
    .page-fishing-games__video-wrapper {
        margin: 20px auto 0 auto;
    }
    /* Mobile image and video responsive */
    .page-fishing-games img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-fishing-games video,
    .page-fishing-games__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper,
    .page-fishing-games__hero-section,
    .page-fishing-games__introduction-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__features-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__security-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-final-section,
    .page-fishing-games__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow-x: hidden !important;
    }
    .page-fishing-games__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-fishing-games__hero-section {
      padding-top: var(--header-offset, 120px) !important;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__hero-section {
        height: 400px;
    }
}