/* style/fishing-games.css */

:root {
    --op88-primary-color: #26A9E0;
    --op88-secondary-color: #FFFFFF;
    --op88-login-color: #EA7C07;
    --op88-text-dark: #333333;
    --op88-text-light: #FFFFFF;
    --op88-bg-light: #FFFFFF;
    --op88-bg-dark: #26A9E0;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--op88-text-dark); /* Default text color for light backgrounds */
    background-color: var(--op88-bg-light); /* Assuming shared.css sets body to light */
    line-height: 1.6;
}

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

.page-fishing-games__dark-section {
    background-color: var(--op88-bg-dark);
    color: var(--op88-text-light);
}

.page-fishing-games__dark-section .page-fishing-games__section-title,
.page-fishing-games__dark-section .page-fishing-games__description-text,
.page-fishing-games__dark-section .page-fishing-games__feature-title,
.page-fishing-games__dark-section .page-fishing-games__feature-description,
.page-fishing-games__dark-section .page-fishing-games__promo-title,
.page-fishing-games__dark-section .page-fishing-games__promo-description,
.page-fishing-games__dark-section .page-fishing-games__main-title,
.page-fishing-games__dark-section .page-fishing-games__tagline {
    color: var(--op88-text-light);
}

.page-fishing-games__light-bg {
    background-color: var(--op88-bg-light);
    color: var(--op88-text-dark);
}

.page-fishing-games__hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    height: auto;
    overflow: hidden;
}

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

.page-fishing-games__hero-content {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--op88-bg-dark);
    color: var(--op88-text-light);
    padding-top: 10px; /* Minimal top padding, body handles header offset */
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--op88-text-light);
}

.page-fishing-games__tagline {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--op88-text-light);
}

.page-fishing-games__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--op88-primary-color);
}

.page-fishing-games__dark-section .page-fishing-games__section-title {
    color: var(--op88-secondary-color);
}

.page-fishing-games__description-text {
    font-size: 1.1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

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

.page-fishing-games__btn-primary:hover {
    background-color: darken(var(--op88-primary-color), 10%);
    border-color: darken(var(--op88-primary-color), 10%);
}

.page-fishing-games__btn-secondary {
    background-color: var(--op88-secondary-color);
    color: var(--op88-primary-color);
    border: 2px solid var(--op88-primary-color);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--op88-primary-color);
    color: var(--op88-text-light);
}

.page-fishing-games__btn-tertiary {
    background-color: transparent;
    color: var(--op88-primary-color);
    border: 2px solid var(--op88-primary-color);
    padding: 10px 20px;
    font-size: 0.95rem;
}

.page-fishing-games__dark-section .page-fishing-games__btn-secondary {
    background-color: var(--op88-bg-dark);
    color: var(--op88-text-light);
    border-color: var(--op88-text-light);
}

.page-fishing-games__dark-section .page-fishing-games__btn-secondary:hover {
    background-color: var(--op88-text-light);
    color: var(--op88-primary-color);
}

.page-fishing-games__dark-section .page-fishing-games__btn-tertiary {
    color: var(--op88-text-light);
    border-color: var(--op88-text-light);
}

.page-fishing-games__dark-section .page-fishing-games__btn-tertiary:hover {
    background-color: var(--op88-text-light);
    color: var(--op88-primary-color);
}

.page-fishing-games__intro-section,
.page-fishing-games__why-choose-us,
.page-fishing-games__game-showcase,
.page-fishing-games__how-to-play,
.page-fishing-games__promotions-section,
.page-fishing-games__security-section,
.page-fishing-games__mobile-experience,
.page-fishing-games__faq-section,
.page-fishing-games__cta-final {
    padding: 80px 0;
}

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

.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-item {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.page-fishing-games__feature-icon {
    width: 200px; /* Min size */
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-fishing-games__feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--op88-text-light);
}

.page-fishing-games__feature-description {
    font-size: 1rem;
    color: var(--op88-text-light);
}

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

.page-fishing-games__game-tile {
    background-color: var(--op88-secondary-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-fishing-games__game-image {
    width: 100%;
    height: 250px; /* Fixed height for square aspect ratio */
    object-fit: cover;
    display: block;
    aspect-ratio: 1/1;
}

.page-fishing-games__game-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 20px 15px 15px 15px;
    color: var(--op88-primary-color);
    flex-grow: 1;
}

.page-fishing-games__btn-play {
    display: block;
    background-color: var(--op88-login-color);
    color: var(--op88-text-light);
    padding: 12px 20px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 12px 12px;
    transition: background-color 0.3s ease;
}

.page-fishing-games__btn-play:hover {
    background-color: darken(var(--op88-login-color), 10%);
}

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

.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-color: var(--op88-secondary-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.page-fishing-games__step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--op88-primary-color);
}

.page-fishing-games__step-description {
    font-size: 1rem;
    color: var(--op88-text-dark);
}

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

.page-fishing-games__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-fishing-games__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-fishing-games__promo-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 20px 15px 10px 15px;
    color: var(--op88-text-light);
    flex-grow: 1;
}

.page-fishing-games__promo-description {
    font-size: 0.95rem;
    margin: 0 15px 20px 15px;
    color: var(--op88-text-light);
}

.page-fishing-games__promo-card .page-fishing-games__btn-tertiary {
    margin-top: auto;
    margin-bottom: 20px;
    align-self: center;
}

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

.page-fishing-games__faq-item {
    background-color: var(--op88-secondary-color);
    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: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--op88-primary-color);
    cursor: pointer;
    list-style: none;
    -webkit-tap-highlight-color: transparent;
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--op88-primary-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: var(--op88-text-dark);
}

.page-fishing-games__faq-answer p {
    margin-bottom: 0;
    color: var(--op88-text-dark);
}

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

/* Ensure all images are responsive */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .page-fishing-games__container {
        padding: 15px;
    }

    .page-fishing-games__hero-content {
        padding: 40px 15px;
        padding-top: 10px !important; /* Minimal top padding, body handles header offset */
    }

    .page-fishing-games__hero-image {
        object-fit: contain; /* Ensure image is not cropped on mobile */
        aspect-ratio: unset; /* Allow aspect ratio to adjust */
        max-height: none;
    }

    .page-fishing-games__main-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .page-fishing-games__tagline {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .page-fishing-games__section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .page-fishing-games__description-text {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-tertiary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .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;
      flex-wrap: wrap !important;
      gap: 10px;
    }

    .page-fishing-games__intro-section,
    .page-fishing-games__why-choose-us,
    .page-fishing-games__game-showcase,
    .page-fishing-games__how-to-play,
    .page-fishing-games__promotions-section,
    .page-fishing-games__security-section,
    .page-fishing-games__mobile-experience,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-final {
        padding: 50px 0;
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__promo-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__feature-item,
    .page-fishing-games__step-item,
    .page-fishing-games__promo-card {
        padding: 20px;
    }

    .page-fishing-games__feature-icon {
        width: 150px; /* Adjust for mobile */
        height: 100px;
    }

    .page-fishing-games__game-image {
        height: 200px; /* Adjust for mobile */
        aspect-ratio: 1/1;
    }

    .page-fishing-games__game-title {
        font-size: 1.1rem;
    }

    .page-fishing-games__promo-image {
        height: 150px;
    }

    .page-fishing-games__promo-title {
        font-size: 1.1rem;
    }

    .page-fishing-games__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-fishing-games__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95rem;
    }

    .page-fishing-games img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }

    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
}