/* style/fishing-games.css */

/* Root variables for consistent spacing and colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-background-dark: #08160F;
    --color-card-background: #11271B;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* General page styles */
.page-fishing-games {
    font-family: Arial, sans-serif;
    color: var(--color-text-main);
    background-color: var(--color-background-dark); /* Ensure text is readable on this background */
    line-height: 1.6;
}

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

.page-fishing-games__section {
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.page-fishing-games__section-title {
    font-size: 2.8em;
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__section-text {
    font-size: 1.1em;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__card {
    background-color: var(--color-card-background);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: var(--color-text-main);
    height: 100%;
    box-sizing: border-box;
}

/* Hero Section */
.page-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 top padding, body handles header-offset */
    min-height: 600px;
}

.page-fishing-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.7);
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-text-main);
    max-width: 900px;
    padding: 40px 20px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5em, 5vw, 4.5em);
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    line-height: 1.5;
}

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

/* 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.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: var(--color-text-main);
    border: none;
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-fishing-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-background-dark);
    transform: translateY(-2px);
}

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

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

/* Dark background sections */
.page-fishing-games__dark-bg {
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
}

.page-fishing-games__dark-bg .page-fishing-games__section-text {
    color: var(--color-text-secondary);
}

/* Light background sections */
.page-fishing-games__light-bg {
    background-color: #f8f9fa;
    color: #333333;
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
    color: var(--color-primary);
}

.page-fishing-games__light-bg .page-fishing-games__section-text {
    color: #555555;
}

.page-fishing-games__light-bg .page-fishing-games__step-title {
    color: var(--color-primary);
}

/* Features Grid */
.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 {
    padding: 30px;
}

.page-fishing-games__feature-icon {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px var(--color-glow));
}

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

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

/* Game List */
.page-fishing-games__game-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__game-card {
    padding: 0; /* Image takes full width */
    overflow: hidden;
}

.page-fishing-games__game-image {
    width: 100%;
    height: 225px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-bottom: 15px;
}

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

.page-fishing-games__game-description {
    font-size: 0.95em;
    color: var(--color-text-secondary);
    padding: 0 15px 15px;
}

/* How to Play */
.page-fishing-games__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__step-item {
    background-color: var(--color-card-background);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__step-description {
    font-size: 1.05em;
    color: var(--color-text-secondary);
    margin-bottom: 15px;
}

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

.page-fishing-games__promo-item {
    text-align: left;
}

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

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

/* Reasons List */
.page-fishing-games__reason-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-fishing-games__reason-item {
    background-color: var(--color-card-background);
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__reason-description {
    font-size: 1.05em;
    color: var(--color-text-secondary);
}

/* FAQ Section */
.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(--color-card-background);
    border: 1px solid var(--color-divider);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    text-align: left;
}

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

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

.page-fishing-games__faq-question .page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--color-gold);
}

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

.page-fishing-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__section-title {
        font-size: 2.2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__section {
        padding: 40px 0;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__section-text {
        font-size: 1em;
    }
    .page-fishing-games__hero-section {
        min-height: 450px;
        padding: 0 15px;
        padding-top: 10px !important;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2em, 8vw, 3em);
    }
    .page-fishing-games__hero-description {
        font-size: 0.95em;
    }
    .page-fishing-games__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__game-list,
    .page-fishing-games__promo-list,
    .page-fishing-games__reason-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__game-image {
        height: 180px;
    }
    .page-fishing-games__step-item,
    .page-fishing-games__reason-item,
    .page-fishing-games__feature-card,
    .page-fishing-games__promo-item,
    .page-fishing-games__game-card {
        padding: 20px;
    }
    .page-fishing-games__step-title,
    .page-fishing-games__reason-title,
    .page-fishing-games__feature-title,
    .page-fishing-games__promo-title,
    .page-fishing-games__game-title {
        font-size: 1.2em;
    }
    .page-fishing-games__step-description,
    .page-fishing-games__reason-description,
    .page-fishing-games__feature-description,
    .page-fishing-games__promo-description,
    .page-fishing-games__game-description {
        font-size: 0.9em;
    }
    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px 15px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Ensure all images are 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__features-grid,
    .page-fishing-games__game-list,
    .page-fishing-games__promo-list,
    .page-fishing-games__reason-list,
    .page-fishing-games__faq-list,
    .page-fishing-games__hero-section,
    .page-fishing-games__hero-content,
    .page-fishing-games__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-fishing-games__hero-section { padding-left: 0; padding-right: 0; }
    .page-fishing-games__hero-content { padding-left: 15px; padding-right: 15px; }

    /* Video specific responsive styles if any video existed */
    .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;
    }
}