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

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

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

.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px;
    text-align: center;
    overflow: hidden;
    background-color: var(--deep-green-color);
}

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

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

.page-fishing-games__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -80px; /* Overlap slightly for visual effect, but not text on image */
    background-color: rgba(17, 39, 27, 0.9); /* Card BG with slight transparency */
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.page-fishing-games__main-title {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.6);
}

.page-fishing-games__description {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
}

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--button-gradient);
    color: var(--text-main-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__cta-button--small {
    padding: 10px 20px;
    font-size: 1em;
}

.page-fishing-games__cta-button--secondary {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.page-fishing-games__cta-button--secondary:hover {
    background: var(--primary-color);
    color: var(--text-main-color);
}

.page-fishing-games__cta-button--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-fishing-games__section-title {
    font-size: 2em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 5px rgba(87, 227, 141, 0.4);
}

.page-fishing-games__text-block {
    color: var(--text-secondary-color);
    margin-bottom: 20px;
    font-size: 1.05em;
}

.page-fishing-games__text-block--center {
    text-align: center;
}

.page-fishing-games__introduction-section, 
.page-fishing-games__guide-section, 
.page-fishing-games__security-support-section, 
.page-fishing-games__cta-section {
    padding: 60px 0;
    background-color: var(--background-color-page);
    color: var(--text-main-color);
}

.page-fishing-games__games-showcase-section, .page-fishing-games__promotions-section, .page-fishing-games__faq-section {
    padding: 60px 0;
    background-color: var(--card-bg-color);
    color: var(--text-main-color);
}

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

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

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

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

.page-fishing-games__card-description {
    font-size: 0.95em;
    color: var(--text-secondary-color);
    padding: 0 15px;
    margin-bottom: 20px;
    min-height: 70px; /* Ensure consistent card height */
}

.page-fishing-games__card-button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--button-gradient);
    color: var(--text-main-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9em;
    transition: transform 0.2s ease;
    max-width: calc(100% - 30px); /* Account for padding */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__card-button:hover {
    transform: translateY(-2px);
}

.page-fishing-games__step-by-step {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.page-fishing-games__step-item {
    flex: 1 1 calc(33% - 20px);
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--divider-color);
    min-width: 280px;
    box-sizing: border-box;
}

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

.page-fishing-games__step-description {
    color: var(--text-secondary-color);
    margin-bottom: 20px;
}

.page-fishing-games__promo-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 30px auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-fishing-games__promo-item {
    background-color: var(--deep-green-color);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    color: var(--text-main-color);
    font-size: 1.05em;
}

.page-fishing-games__promo-item strong {
    color: var(--gold-color);
}

.page-fishing-games__security-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 30px auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--text-main-color);
    cursor: pointer;
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--divider-color);
    list-style: none; /* Hide default summary marker */
}

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

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

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

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

.page-fishing-games__faq-answer {
    padding: 20px;
    color: var(--text-secondary-color);
    font-size: 1em;
    border-top: 1px solid var(--divider-color);
}

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

.page-fishing-games__cta-content {
    text-align: center;
}

.page-fishing-games__cta-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 30px auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: 2em;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__hero-content {
        margin-top: -60px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-content {
        margin-top: -40px;
        padding: 25px 15px;
    }
    .page-fishing-games__main-title {
        font-size: 1.8em;
    }
    .page-fishing-games__description {
        font-size: 1em;
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
        margin-bottom: 30px;
    }
    .page-fishing-games__text-block {
        font-size: 0.95em;
    }
    .page-fishing-games__game-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__step-item {
        flex: 1 1 100%;
    }
    .page-fishing-games__step-title {
        font-size: 1.3em;
    }
    .page-fishing-games__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-fishing-games__cta-button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    
    /* Mobile image, video, button responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games video,
    .page-fishing-games__video {
      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__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper,
    .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;
        overflow: hidden !important; /* Ensure no overflow for containers */
    }
    .page-fishing-games__hero-section,
    .page-fishing-games__introduction-section,
    .page-fishing-games__games-showcase-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__security-support-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section {
        padding: 40px 0 !important;
    }
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
    }
    .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;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__card-description {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: 1.5em;
    }
    .page-fishing-games__section-title {
        font-size: 1.3em;
    }
    .page-fishing-games__hero-content {
        margin-top: -20px;
        padding: 20px 10px;
    }
    .page-fishing-games__description {
        font-size: 0.9em;
    }
}