/* style/fishing-games.css */
/* Custom Color Palette */
:root {
    --page-bg: #08160F; /* Background */
    --card-bg: #11271B; /* Card BG */
    --text-main: #F2FFF6; /* Text Main */
    --text-secondary: #A7D9B8; /* Text Secondary */
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    --border-color: #2E7A4E; /* Border */
    --glow-color: #57E38D; /* Glow */
    --gold-color: #F2C14E; /* Gold */
    --divider-color: #1E3A2A; /* Divider */
    --deep-green: #0A4B2C; /* Deep Green */
    --light-bg-section: #11271B; /* Using card-bg for light-bg-section to keep consistent dark theme */
}

/* Base styles for the page content */
.page-fishing-games {
    background-color: var(--page-bg);
    color: var(--text-main); /* Default text color for the page */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Section styling */
.page-fishing-games__about-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__cta-section {
    background-color: var(--light-bg-section);
    color: var(--text-main);
    padding: 80px 0;
}

.page-fishing-games__features-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
    background-color: var(--page-bg);
    color: var(--text-main);
    padding: 80px 0;
}

.page-fishing-games__section-title {
    font-size: 2.5rem;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-fishing-games__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
    text-align: center;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--deep-green); /* Fallback background */
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-fishing-games__hero-image {
    width: 100%;
    max-width: 1920px; /* Match placeholder width */
    height: auto;
    object-fit: cover;
    display: block;
    margin-bottom: 30px; /* Space between image and content */
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Min size for all images */
    min-height: 200px; /* Min size for all images */
}

.page-fishing-games__hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 1;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.2rem); /* H1 font size restriction */
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.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.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-fishing-games__btn-primary {
    background: var(--btn-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-fishing-games__btn-secondary {
    background: var(--card-bg);
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
}

.page-fishing-games__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    background: var(--gold-color);
    color: var(--card-bg);
}

/* About Section */
.page-fishing-games__about-section .page-fishing-games__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__image-full {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Min size for all images */
    min-height: 200px; /* Min size for all images */
}

/* Features Section */
.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-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__card-title {
    font-size: 1.5rem;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-fishing-games__card-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* How To Play Section */
.page-fishing-games__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__step-item {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
}

.page-fishing-games__step-title {
    font-size: 1.4rem;
    color: var(--gold-color);
    margin-bottom: 10px;
}

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

.page-fishing-games__step-description a {
    color: var(--glow-color); /* Link color */
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games__step-description a:hover {
    text-decoration: underline;
}

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

.page-fishing-games__promotion-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-fishing-games__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Why Choose Section */
.page-fishing-games__advantage-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-fishing-games__advantage-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
}

.page-fishing-games__advantage-title {
    font-size: 1.4rem;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-fishing-games__advantage-description {
    font-size: 1rem;
    color: var(--text-secondary);
}

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

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

.page-fishing-games__faq-item summary {
    list-style: none; /* Hide default marker */
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--divider-color);
}

.page-fishing-games__faq-question:hover {
    background-color: var(--deep-green);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    border-bottom: 1px solid var(--divider-color);
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    color: var(--gold-color);
}

.page-fishing-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow-color);
}

.page-fishing-games__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary);
    background-color: var(--card-bg);
}

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

.page-fishing-games__faq-answer a {
    color: var(--glow-color);
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games__faq-answer a:hover {
    text-decoration: underline;
}

/* Call to Action Section */
.page-fishing-games__cta-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap */
}

/* General image styling for content areas */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
    min-width: 200px; /* Min size for all images */
    min-height: 200px; /* Min size for all images */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-fishing-games__container {
        padding: 0 15px !important; /* Force padding for mobile */
    }

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

    .page-fishing-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Small top padding for mobile */
    }

    .page-fishing-games__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem); /* Adjust H1 for smaller screens */
    }

    .page-fishing-games__hero-description {
        font-size: 1rem;
    }

    .page-fishing-games__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

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

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

    .page-fishing-games__about-section,
    .page-fishing-games__features-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section {
        padding: 50px 0;
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__promotions-grid,
    .page-fishing-games__advantage-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__image-full,
    .page-fishing-games__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Ensure all image containers are responsive */
    .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;
        overflow: hidden !important; /* Prevent content overflow */
    }
}

/* Video responsiveness (if any, though not explicitly in HTML for now) */
.page-fishing-games video,
.page-fishing-games__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-fishing-games__video-section,
.page-fishing-games__video-container,
.page-fishing-games__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }
  
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}