/* style/fishing-games.css */
:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --text-main-color: #1F2D3D;
    --background-color: #F4F7FB;
    --card-bg-color: #FFFFFF;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
}

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

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

.page-fishing-games__section-title {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: 700;
    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-color: var(--secondary-color);
    border-radius: 2px;
}

.page-fishing-games__text-block {
    max-width: 800px;
    margin: 0 auto 20px auto;
    font-size: 17px;
    line-height: 1.7;
    color: #4a5568;
}

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

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

.page-fishing-games__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-fishing-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-fishing-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-fishing-games__hero-content h1 {
    font-size: clamp(28px, 4vw, 48px);
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.page-fishing-games__hero-content p {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-main-color);
    max-width: 900px;
    margin: 0 auto 30px auto;
}

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(47, 107, 255, 0.3);
    border: none;
    cursor: pointer;
}

.page-fishing-games__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(47, 107, 255, 0.4);
}

.page-fishing-games__cta-button--large {
    padding: 18px 50px;
    font-size: 20px;
}

.page-fishing-games__cta-button--small {
    padding: 12px 25px;
    font-size: 16px;
}

/* Introduction Section */
.page-fishing-games__introduction-section {
    background-color: var(--card-bg-color);
}

/* Featured Games Section */
.page-fishing-games__featured-games-section {
    background-color: var(--background-color);
}

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

.page-fishing-games__game-card {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.page-fishing-games__game-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-fishing-games__card-title {
    font-size: 24px;
    color: var(--primary-color);
    padding: 15px 20px 5px;
    margin: 0;
    font-weight: 700;
}

.page-fishing-games__card-description {
    font-size: 15px;
    color: #555;
    padding: 0 20px 15px;
    margin: 0;
}

.page-fishing-games__card-button {
    display: inline-block;
    background: var(--button-gradient);
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin: 0 20px 20px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.page-fishing-games__card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(47, 107, 255, 0.3);
}

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

/* How To Play Section */
.page-fishing-games__how-to-play-section {
    background-color: var(--card-bg-color);
}

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

.page-fishing-games__step-item {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-fishing-games__step-item:hover {
    transform: translateY(-5px);
}

.page-fishing-games__step-item img {
    width: 100%;
    
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
}

.page-fishing-games__step-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-fishing-games__step-item p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.page-fishing-games__strategy-tip {
    margin-top: 40px;
    padding: 20px;
    background-color: #e6f0ff;
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
    font-style: italic;
    color: var(--text-main-color);
}

/* Benefits Section */
.page-fishing-games__benefits-section {
    background: var(--primary-color);
    color: #ffffff;
}

.page-fishing-games__benefits-section .page-fishing-games__section-title {
    color: #ffffff;
}

.page-fishing-games__benefits-section .page-fishing-games__section-title::after {
    background-color: var(--secondary-color);
}

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

.page-fishing-games__benefit-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    transition: background 0.3s ease;
}

.page-fishing-games__benefit-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.page-fishing-games__benefit-title {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #ffffff;
}

.page-fishing-games__benefit-item p {
    font-size: 16px;
    color: #f0f8ff;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    background-color: var(--background-color);
}

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

.page-fishing-games__promo-card {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-fishing-games__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__promo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-fishing-games__promo-card .page-fishing-games__card-title {
    padding-top: 15px;
}

.page-fishing-games__promo-card .page-fishing-games__card-button {
    margin-top: 10px;
}

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

.page-fishing-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main-color);
}

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

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
    background: #f8f8f8;
}

.page-fishing-games__faq-qtext {
    flex: 1;
    text-align: left;
}

.page-fishing-games__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
    line-height: 1;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 25px 20px;
    background: #fdfdfd;
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px;
    text-align: left;
    font-size: 16px;
    color: #555;
}

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

/* CTA Section */
.page-fishing-games__cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
    padding: 80px 20px;
}

.page-fishing-games__cta-section .page-fishing-games__section-title {
    color: #ffffff;
    margin-bottom: 20px;
}

.page-fishing-games__cta-section .page-fishing-games__section-title::after {
    background-color: #ffffff;
}

.page-fishing-games__cta-section .page-fishing-games__text-block {
    color: #e6f0ff;
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__section-title {
        font-size: 32px;
    }
    .page-fishing-games__hero-content h1 {
        font-size: clamp(26px, 4vw, 42px);
    }
    .page-fishing-games__hero-content p {
        font-size: clamp(15px, 2vw, 18px);
    }
    .page-fishing-games__game-grid, .page-fishing-games__steps-grid, .page-fishing-games__benefits-list, .page-fishing-games__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__hero-image img {
        border-radius: 8px;
    }
    .page-fishing-games__hero-content h1 {
        font-size: clamp(24px, 6vw, 36px);
    }
    .page-fishing-games__hero-content p {
        font-size: clamp(14px, 3vw, 16px);
        margin-bottom: 20px;
    }
    .page-fishing-games__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        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-button--large {
        padding: 15px 35px;
        font-size: 18px;
    }
    .page-fishing-games__cta-button--small {
        padding: 10px 20px;
        font-size: 14px;
    }
    .page-fishing-games__button-group {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__button-group .page-fishing-games__cta-button {
        width: 100%;
    }
    .page-fishing-games__section {
        padding: 40px 0;
    }
    .page-fishing-games__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-fishing-games__text-block {
        font-size: 16px;
    }
    .page-fishing-games__game-grid, .page-fishing-games__steps-grid, .page-fishing-games__benefits-list, .page-fishing-games__promo-grid {
        gap: 20px;
        padding: 0 15px;
    }
    .page-fishing-games__game-card, .page-fishing-games__step-item, .page-fishing-games__benefit-item, .page-fishing-games__promo-card {
        margin: 0 auto;
        max-width: 100%;
        box-sizing: border-box;
    }
    .page-fishing-games__game-card img {
        
    }
    .page-fishing-games__card-title {
        font-size: 20px;
    }
    .page-fishing-games__step-title {
        font-size: 20px;
    }
    .page-fishing-games__faq-list {
        padding: 0 15px;
    }
    details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
        padding: 15px 20px;
        font-size: 16px;
    }
    .page-fishing-games__faq-toggle {
        font-size: 24px;
        width: 25px;
    }
    details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
        padding: 0 20px 15px;
        font-size: 15px;
    }
    .page-fishing-games__cta-section {
        padding: 60px 15px;
    }
    .page-fishing-games img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    .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;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__section-title {
        font-size: 24px;
    }
    .page-fishing-games__hero-content h1 {
        font-size: clamp(22px, 8vw, 30px);
    }
    .page-fishing-games__hero-content p {
        font-size: clamp(14px, 4vw, 15px);
    }
    .page-fishing-games__game-card img {
        
    }
    .page-fishing-games__card-title {
        font-size: 18px;
    }
    .page-fishing-games__step-title {
        font-size: 18px;
    }
    details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
        font-size: 15px;
    }
    .page-fishing-games__faq-toggle {
        font-size: 22px;
    }
}