/* style/fishing-games.css */

/* Custom Colors */
:root {
    --fishing-games-bg: #08160F;
    --fishing-games-card-bg: #11271B;
    --fishing-games-text-main: #F2FFF6;
    --fishing-games-text-secondary: #A7D9B8;
    --fishing-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --fishing-games-border: #2E7A4E;
    --fishing-games-glow: #57E38D;
    --fishing-games-gold: #F2C14E;
    --fishing-games-divider: #1E3A2A;
    --fishing-games-deep-green: #0A4B2C;
}

.page-fishing-games {
    background-color: var(--fishing-games-bg);
    color: var(--fishing-games-text-main);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* General Section Styling */
.page-fishing-games__section-title {
    font-size: clamp(2em, 4vw, 2.8em);
    font-weight: 700;
    color: var(--fishing-games-gold);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    color: var(--fishing-games-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
}

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

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 40px 20px;
    margin-top: -150px; /* Pull content up slightly over image for visual flow, not overlay */
    background: rgba(8, 22, 15, 0.85); /* Semi-transparent background for readability */
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.page-fishing-games__hero-title {
    font-size: clamp(2.5em, 5vw, 3.5em);
    font-weight: 800;
    color: var(--fishing-games-gold);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    color: var(--fishing-games-text-main);
    margin-bottom: 30px;
}

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

/* Video Section */
.page-fishing-games__video-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 30px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  cursor: pointer; /* Added for JS click interaction */
}

.page-fishing-games__video {
  width: 100%;
  height: auto;
  display: block;
}

.page-fishing-games__video-cta {
    margin-top: 30px;
}

/* Intro Section & Guide Section (shared grid layout) */
.page-fishing-games__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-fishing-games__text-block p {
    color: var(--fishing-games-text-main);
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-fishing-games__text-block p a {
    color: var(--fishing-games-glow);
    text-decoration: none;
}

.page-fishing-games__text-block p a:hover {
    text-decoration: underline;
}

.page-fishing-games__image-block img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Featured Games Section */
.page-fishing-games__featured-games-section {
    padding-bottom: 60px;
}

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

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

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

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

.page-fishing-games__card-title {
    font-size: 1.6em;
    color: var(--fishing-games-gold);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-fishing-games__card-title a {
    color: var(--fishing-games-gold);
    text-decoration: none;
}

.page-fishing-games__card-title a:hover {
    text-decoration: underline;
}

.page-fishing-games__card-description {
    font-size: 1em;
    color: var(--fishing-games-text-secondary);
    padding: 0 15px;
    margin-bottom: 20px;
}

/* Benefits Section */
.page-fishing-games__benefits-section {
    padding-bottom: 60px;
}

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

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

.page-fishing-games__benefit-item:hover {
    transform: translateY(-8px);
}

.page-fishing-games__benefit-icon {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

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

.page-fishing-games__benefit-description {
    color: var(--fishing-games-text-secondary);
    font-size: 1em;
}

/* Guide Section */
.page-fishing-games__guide-section {
    padding-bottom: 60px;
}

.page-fishing-games__guide-step {
    margin-bottom: 30px;
}

.page-fishing-games__guide-title {
    font-size: 1.8em;
    color: var(--fishing-games-gold);
    margin-bottom: 10px;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding-bottom: 60px;
}

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

.page-fishing-games__promo-item {
    background-color: var(--fishing-games-card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.page-fishing-games__promo-title {
    font-size: 1.6em;
    color: var(--fishing-games-gold);
    margin-bottom: 10px;
}

.page-fishing-games__promo-description {
    color: var(--fishing-games-text-secondary);
    font-size: 1em;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding-bottom: 60px;
}

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

.page-fishing-games__faq-item {
    background-color: var(--fishing-games-card-bg);
    border: 1px solid var(--fishing-games-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-fishing-games__faq-item[open] {
    background-color: var(--fishing-games-deep-green);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.3em;
    font-weight: 600;
    color: var(--fishing-games-text-main);
    cursor: pointer;
    list-style: none;
    position: relative;
}

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

.page-fishing-games__faq-qtext {
    flex-grow: 1;
}

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

.page-fishing-games__faq-answer {
    padding: 0 20px 20px;
    color: var(--fishing-games-text-secondary);
    font-size: 1.05em;
}

/* Call to Action Section */
.page-fishing-games__cta-section {
    background-color: var(--fishing-games-deep-green);
    text-align: center;
    padding: 80px 20px;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%;
}

.page-fishing-games__btn-primary {
    background: var(--fishing-games-btn-gradient);
    color: var(--fishing-games-text-main);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--fishing-games-glow);
    border: 2px solid var(--fishing-games-glow);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--fishing-games-glow);
    color: var(--fishing-games-bg);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        margin-top: -100px;
        padding: 30px 15px;
    }
    .page-fishing-games__hero-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games__content-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__image-block:nth-child(2) { /* Move image below text on smaller screens */
        order: -1;
    }
    .page-fishing-games__guide-section .page-fishing-games__image-block {
        order: 1;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__container {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Images responsive */
    .page-fishing-games img {
        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__image-block,
    .page-fishing-games__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Videos responsive */
    .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; /* body already handles --header-offset */
    }

    /* Buttons responsive */
    .page-fishing-games__cta-button,
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        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;
    }
    
    .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-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
        overflow: hidden !important;
    }

    .page-fishing-games__hero-content {
        margin-top: -80px;
        padding: 20px 10px;
    }
    .page-fishing-games__hero-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.8em, 6vw, 2.2em);
    }
    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 15px 15px;
    }
    .page-fishing-games__cta-section {
        padding: 60px 15px;
    }
}