/* style/arcade-fishing-games.css */

/* Variables for consistent styling based on custom colors */
:root {
    --phdream-primary: #F2C14E;
    --phdream-secondary: #FFD36B;
    --phdream-card-bg: #111111;
    --phdream-site-bg: #0A0A0A; /* Assuming this is the body background from shared.css */
    --phdream-text-main: #FFF6D6;
    --phdream-border: #3A2A12;
    --phdream-glow: #FFD36B;
    --phdream-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

/* Base styles for the page content, ensuring contrast against presumed dark body background */
.page-arcade-fishing-games {
    font-family: Arial, sans-serif;
    color: var(--phdream-text-main); /* Light text for dark background */
    background-color: var(--phdream-site-bg); /* Ensure page background matches body if not covered by sections */
    line-height: 1.6;
}

/* General container for content sections */
.page-arcade-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Section styling */
.page-arcade-fishing-games__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--phdream-border);
}

.page-arcade-fishing-games__section:last-of-type {
    border-bottom: none;
}

/* Hero Section */
.page-arcade-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 10px; /* Small decorative top padding, body handles --header-offset */
    min-height: 600px; /* Ensure hero section has a decent height */
    box-sizing: border-box;
}

.page-arcade-fishing-games__hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-arcade-fishing-games__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Ensure video is not filtered */
    filter: none;
    -webkit-filter: none;
}

.page-arcade-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
    padding: 40px;
    border-radius: 10px;
    max-width: 900px;
    box-sizing: border-box;
    margin: 20px; /* Spacing from screen edges */
}

/* Titles */
.page-arcade-fishing-games__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Flexible font size for H1 */
    color: var(--phdream-secondary);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5); /* Subtle glow */
}

.page-arcade-fishing-games__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    color: var(--phdream-primary);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-arcade-fishing-games__sub-title {
    font-size: clamp(1.4em, 2.5vw, 2em);
    color: var(--phdream-secondary);
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.4;
}

/* Text elements */
.page-arcade-fishing-games__hero-description,
.page-arcade-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--phdream-text-main);
}

.page-arcade-fishing-games__highlight {
    color: var(--phdream-secondary);
    font-weight: bold;
}

/* Buttons */
.page-arcade-fishing-games__btn-primary,
.page-arcade-fishing-games__btn-secondary,
.page-arcade-fishing-games__btn-small {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    margin-top: 20px;
}

.page-arcade-fishing-games__btn-primary {
    background: var(--phdream-button-gradient);
    color: #ffffff; /* White text for contrast */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-arcade-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-arcade-fishing-games__btn-secondary {
    background: transparent;
    color: var(--phdream-primary);
    border: 2px solid var(--phdream-primary);
    box-shadow: 0 2px 10px rgba(242, 193, 78, 0.2);
}

.page-arcade-fishing-games__btn-secondary:hover {
    background: rgba(242, 193, 78, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-arcade-fishing-games__btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
    background: var(--phdream-button-gradient);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
}
.page-arcade-fishing-games__btn-small:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Images */
.page-arcade-fishing-games__image-wrapper {
    margin: 30px 0;
    text-align: center;
}

.page-arcade-fishing-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    display: block; /* Ensure it behaves as a block element for max-width to work */
    margin: 0 auto;
    /* Ensure images are not filtered */
    filter: none;
    -webkit-filter: none;
}

/* Lists */
.page-arcade-fishing-games__features-list,
.page-arcade-fishing-games__list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-arcade-fishing-games__feature-item,
.page-arcade-fishing-games__list-item {
    background: var(--phdream-card-bg); /* Dark card background */
    color: var(--phdream-text-main); /* Light text */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 5px solid var(--phdream-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
}

.page-arcade-fishing-games__feature-item::before,
.page-arcade-fishing-games__list-item::before {
    content: '⭐'; /* Decorative bullet */
    margin-right: 15px;
    font-size: 1.2em;
    color: var(--phdream-secondary);
}

/* Game Grid for Popular Games section */
.page-arcade-fishing-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-arcade-fishing-games__game-card {
    background: var(--phdream-card-bg);
    border: 1px solid var(--phdream-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-arcade-fishing-games__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
    display: block;
    /* Ensure images are not filtered */
    filter: none;
    -webkit-filter: none;
}

.page-arcade-fishing-games__game-title {
    font-size: 1.5em;
    color: var(--phdream-primary);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-arcade-fishing-games__game-description {
    font-size: 0.95em;
    color: var(--phdream-text-main);
    margin-bottom: 20px;
    padding: 0 15px;
}

/* Links */
.page-arcade-fishing-games__link {
    color: var(--phdream-secondary);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-arcade-fishing-games__link:hover {
    color: var(--phdream-primary);
    text-decoration: underline;
}

/* FAQ Section */
.page-arcade-fishing-games__faq-section {
    background-color: var(--phdream-site-bg);
}

.page-arcade-fishing-games__faq-list {
    margin-top: 40px;
}

.page-arcade-fishing-games__faq-item {
    background: var(--phdream-card-bg);
    border: 1px solid var(--phdream-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-arcade-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for question */
    transition: background 0.3s ease;
}

.page-arcade-fishing-games__faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

.page-arcade-fishing-games__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--phdream-primary);
}

.page-arcade-fishing-games__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--phdream-secondary);
    transition: transform 0.3s ease;
}

.page-arcade-fishing-games__faq-item.active .page-arcade-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-arcade-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--phdream-text-main);
}

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

.page-arcade-fishing-games__faq-answer p {
    margin-bottom: 0;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-arcade-fishing-games__hero-content {
        padding: 30px;
    }

    .page-arcade-fishing-games__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }

    .page-arcade-fishing-games__section-title {
        font-size: clamp(1.6em, 4vw, 2.5em);
    }
}

@media (max-width: 768px) {
    /* General mobile padding */
    .page-arcade-fishing-games__container {
        padding: 15px;
    }

    .page-arcade-fishing-games__section {
        padding: 40px 0;
    }

    /* Hero section */
    .page-arcade-fishing-games__hero-section {
        min-height: 450px;
        padding-top: 10px !important; /* Ensure small top padding on mobile */
    }

    .page-arcade-fishing-games__hero-content {
        padding: 20px;
        margin: 10px;
    }

    .page-arcade-fishing-games__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }

    .page-arcade-fishing-games__hero-description,
    .page-arcade-fishing-games__text-block {
        font-size: 1em;
    }

    /* Buttons */
    .page-arcade-fishing-games__btn-primary,
    .page-arcade-fishing-games__btn-secondary,
    .page-arcade-fishing-games__btn-small {
        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;
        margin-top: 15px;
    }
    
    .page-arcade-fishing-games__btn-primary,
    .page-arcade-fishing-games__btn-secondary {
        padding: 12px 15px;
    }

    /* Image responsiveness */
    .page-arcade-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    
    /* Ensure containers holding images/buttons are responsive */
    .page-arcade-fishing-games__section,
    .page-arcade-fishing-games__card,
    .page-arcade-fishing-games__container,
    .page-arcade-fishing-games__game-grid,
    .page-arcade-fishing-games__game-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Game grid for smaller screens */
    .page-arcade-fishing-games__game-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-arcade-fishing-games__game-image {
        height: auto; /* Allow height to adjust on mobile */
    }

    /* FAQ */
    .page-arcade-fishing-games__faq-question {
        padding: 15px;
    }

    .page-arcade-fishing-games__faq-question h3 {
        font-size: 1.1em;
    }

    .page-arcade-fishing-games__faq-answer {
        padding: 0 15px;
    }
    .page-arcade-fishing-games__faq-item.active .page-arcade-fishing-games__faq-answer {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-arcade-fishing-games__main-title {
        font-size: clamp(1.2em, 7vw, 2em);
    }

    .page-arcade-fishing-games__section-title {
        font-size: clamp(1.4em, 5vw, 2em);
    }
    
    .page-arcade-fishing-games__feature-item,
    .page-arcade-fishing-games__list-item {
        padding: 10px 15px;
        font-size: 0.9em;
    }
    
    .page-arcade-fishing-games__feature-item::before,
    .page-arcade-fishing-games__list-item::before {
        margin-right: 10px;
        font-size: 1em;
    }
}