/* style/fishing-games.css */

/* Custom Colors from prompt */
/* Primary: #C91F17 */
/* Auxiliary: #E53935 */
/* Button Gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%) */
/* Card BG: #D32F2F */
/* Background: #B71C1C */
/* Text Main: #FFF5E1 */
/* Border: #F2B544 */
/* Glow: #FFCC66 */
/* Gold: #F4D34D */
/* Deep Red: #7A0E0E */

.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--site-bg, #f5f5f5); /* Fallback to light gray if --site-bg is not set */
}

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

.page-fishing-games__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #C91F17; /* Primary brand color for titles */
}

.page-fishing-games__text-main {
    color: #FFF5E1; /* Light yellow text for dark backgrounds */
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__cta-button,
.page-fishing-games__game-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
}

.page-fishing-games__btn-primary,
.page-fishing-games__game-button {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    color: #7A0E0E; /* Deep Red text for gold button */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-primary:hover,
.page-fishing-games__game-button:hover {
    background: linear-gradient(180deg, #FFD86A 0%, #F4D34D 100%);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
    background: #C91F17; /* Primary brand color */
    color: #FFF5E1; /* Light yellow text */
    border: 2px solid #F2B544; /* Gold border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary:hover {
    background: #E53935; /* Auxiliary brand color */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 60px;
    overflow: hidden;
    background-color: #B71C1C; /* Deep Red background */
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit hero image height */
    overflow: hidden;
    position: relative;
}

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

.page-fishing-games__hero-content {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: center;
    color: #FFF5E1; /* Light yellow text for hero content */
    padding: 0 20px;
}

.page-fishing-games__hero-title {
    font-size: clamp(30px, 4.5vw, 56px); /* Responsive font size */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #F4D34D; /* Gold color for H1 */
}

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

.page-fishing-games__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* About Section */
.page-fishing-games__about-section {
    padding: 60px 0;
    background-color: #f8f8f8; /* Light background for contrast */
    color: #333333; /* Dark text */
}

.page-fishing-games__about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-fishing-games__about-image {
    flex: 1;
    min-width: 400px; /* Minimum width for desktop */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__about-text {
    flex: 1.5;
    font-size: 17px;
}

/* Features Section */
.page-fishing-games__features-section {
    padding: 60px 0;
    background-color: #B71C1C; /* Deep Red background */
}

.page-fishing-games__features-grid {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-fishing-games__feature-list {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-fishing-games__feature-item {
    font-size: 17px;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #FFF5E1; /* Light yellow text */
}

.page-fishing-games__feature-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #F4D34D; /* Gold checkmark */
}

.page-fishing-games__features-image {
    flex: 1;
    min-width: 400px; /* Minimum width for desktop */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
    padding: 60px 0;
    background-color: #f8f8f8; /* Light background */
    color: #333333; /* Dark text */
}

.page-fishing-games__steps-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px;
    max-width: 800px;
}

.page-fishing-games__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

.page-fishing-games__step-number {
    font-size: 28px;
    font-weight: bold;
    color: #F4D34D; /* Gold color */
    background-color: #C91F17; /* Primary brand color */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__step-content h3 {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 5px;
    color: #C91F17;
}

.page-fishing-games__step-content p {
    font-size: 16px;
}

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

/* Popular Games Section */
.page-fishing-games__popular-games-section {
    padding: 60px 0;
    background-color: #B71C1C; /* Deep Red background */
}

.page-fishing-games__game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.page-fishing-games__game-card {
    background-color: #D32F2F; /* Card BG color */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-fishing-games__game-thumbnail-wrapper {
    width: 100%;
    height: 200px; /* Fixed height for thumbnails */
    overflow: hidden;
}

.page-fishing-games__game-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-fishing-games__game-title {
    font-size: 24px;
    font-weight: bold;
    margin: 20px 15px 15px;
    color: #FFF5E1; /* Light yellow text */
}

.page-fishing-games__game-iframe-wrapper {
    flex-grow: 1;
    padding: 0 15px 15px;
    min-height: 200px; /* Minimum height for iframe */
}

.page-fishing-games__game-trial-frame {
    border: 2px solid #F2B544; /* Gold border */
    border-radius: 5px;
    height: 100%;
    width: 100%;
}

.page-fishing-games__game-button {
    margin: 0 15px 20px;
    padding: 10px 20px;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 60px 0;
    background-color: #f8f8f8; /* Light background */
    color: #333333; /* Dark text */
    text-align: center;
}

.page-fishing-games__promotion-text {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 17px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 60px 0;
    background-color: #B71C1C; /* Deep Red background */
}

.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

details.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #F2B544; /* Gold border */
    overflow: hidden;
    background: #D32F2F; /* Card BG color */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
    display: none;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
    background: #E53935; /* Auxiliary color on hover */
}
.page-fishing-games__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #FFF5E1; /* Light yellow text */
}
.page-fishing-games__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: #F4D34D; /* Gold color */
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 25px 20px;
    background: #7A0E0E; /* Deep Red background for answer */
    border-radius: 0 0 10px 10px;
    color: #FFF5E1; /* Light yellow text */
    font-size: 16px;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer p {
    margin-bottom: 0;
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: clamp(28px, 5vw, 48px);
    }
    .page-fishing-games__about-content,
    .page-fishing-games__features-grid {
        flex-direction: column;
    }
    .page-fishing-games__about-image,
    .page-fishing-games__features-image {
        min-width: unset;
        width: 80%;
        max-width: 600px;
    }
    .page-fishing-games__game-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-fishing-games__game-thumbnail-wrapper {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile hero */
        padding-bottom: 40px;
    }
    .page-fishing-games__hero-content {
        margin-top: 20px;
    }
    .page-fishing-games__hero-title {
        font-size: clamp(24px, 7vw, 36px) !important;
        margin-bottom: 15px;
    }
    .page-fishing-games__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-fishing-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__cta-button,
    .page-fishing-games__game-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        font-size: 16px;
        padding: 10px 20px;
    }
    .page-fishing-games__cta-container {
        padding: 0 15px;
    }
    .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__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games__about-section,
    .page-fishing-games__features-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__popular-games-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section {
        padding: 40px 0;
    }

    .page-fishing-games__about-content {
        gap: 20px;
    }
    .page-fishing-games__about-image,
    .page-fishing-games__features-image {
        width: 100%;
        max-width: 100%;
        height: auto !important; /* Mobile image responsive */
    }
    .page-fishing-games__about-text,
    .page-fishing-games__feature-item,
    .page-fishing-games__promotion-text,
    .page-fishing-games__step-content p {
        font-size: 15px;
    }
    .page-fishing-games__feature-item {
        margin-bottom: 10px;
    }

    .page-fishing-games__steps-list {
        max-width: 100%;
        margin-bottom: 30px;
    }
    .page-fishing-games__step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 25px;
    }
    .page-fishing-games__step-number {
        margin-bottom: 10px;
    }
    .page-fishing-games__step-content h3 {
        font-size: 20px;
    }

    .page-fishing-games__game-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__game-thumbnail-wrapper {
        height: 150px;
    }
    .page-fishing-games__game-title {
        font-size: 20px;
        margin: 15px 10px 10px;
    }
    .page-fishing-games__game-iframe-wrapper {
        min-height: 180px;
        padding: 0 10px 10px;
    }
    .page-fishing-games__game-button {
        margin: 0 10px 15px;
    }

    details.page-fishing-games__faq-item {
        margin-bottom: 10px;
    }
    details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
        padding: 15px 20px;
    }
    .page-fishing-games__faq-qtext {
        font-size: 16px;
    }
    .page-fishing-games__faq-toggle {
        font-size: 24px;
        width: 24px;
        margin-left: 10px;
    }
    details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
        padding: 0 20px 15px;
        font-size: 15px;
    }

    /* General image responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-fishing-games__about-section,
    .page-fishing-games__features-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__popular-games-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__game-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}