/* jl85-click style.css - CSS prefix: wf370- */
/* Colors: #333333 | #778899 | #20B2AA | #F5F5F5 | #BDC3C7 */

:root {
    --wf370-bg: #1a1a1a;
    --wf370-surface: #242424;
    --wf370-card: #2e2e2e;
    --wf370-charcoal: #333333;
    --wf370-slate: #778899;
    --wf370-teal: #20B2AA;
    --wf370-teal-dark: #178a84;
    --wf370-light: #F5F5F5;
    --wf370-silver: #BDC3C7;
    --wf370-text: #e8e8e8;
    --wf370-muted: #9a9a9a;
    --wf370-border: #3a3a3a;
    --wf370-radius: 8px;
    --wf370-radius-lg: 14px;
    --wf370-header-h: 56px;
    --wf370-bnav-h: 60px;
    font-size: 62.5%;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--wf370-bg);
    color: var(--wf370-text);
    font-size: 1.5rem;
    line-height: 1.6;
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    overflow-x: hidden;
}

a { color: var(--wf370-teal); text-decoration: none; }
a:hover { color: var(--wf370-silver); }
img { display: block; max-width: 100%; }
ul { list-style: none; }
h1,h2,h3,h4 { line-height: 1.25; }

/* ========== HEADER ========== */
.wf370-header {
    position: fixed;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: var(--wf370-header-h);
    background: var(--wf370-charcoal);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.4rem;
    z-index: 1000;
    transition: box-shadow .3s;
}
.wf370-header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.5); }

.wf370-logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: 2rem;
    font-weight: 800;
    color: var(--wf370-teal);
    letter-spacing: -.5px;
}
.wf370-logo span { color: var(--wf370-silver); font-weight: 400; font-size: 1.3rem; }

.wf370-header-actions {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.wf370-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .55rem 1.2rem;
    border-radius: var(--wf370-radius);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all .2s;
    white-space: nowrap;
}
.wf370-btn-outline {
    background: transparent;
    border: 1.5px solid var(--wf370-teal);
    color: var(--wf370-teal);
}
.wf370-btn-outline:hover { background: var(--wf370-teal); color: #fff; }
.wf370-btn-primary {
    background: var(--wf370-teal);
    color: #fff;
}
.wf370-btn-primary:hover { background: var(--wf370-teal-dark); }
.wf370-btn-lg {
    padding: 1rem 2.4rem;
    font-size: 1.5rem;
    border-radius: var(--wf370-radius-lg);
}
.wf370-btn-ghost {
    background: transparent;
    border: none;
    color: var(--wf370-silver);
    font-size: 2.2rem;
    cursor: pointer;
    padding: .4rem;
    display: flex;
    align-items: center;
}

/* ========== MOBILE MENU ========== */
.wf370-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.65);
    z-index: 9990;
}
.wf370-overlay.active { display: block; }

.wf370-menu {
    position: fixed;
    top: 0; right: -280px;
    width: 280px;
    height: 100%;
    background: var(--wf370-surface);
    z-index: 9999;
    transition: right .3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.wf370-menu.open { right: 0; }

.wf370-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.6rem 1.4rem;
    border-bottom: 1px solid var(--wf370-border);
}
.wf370-menu-logo { font-size: 2rem; font-weight: 800; color: var(--wf370-teal); }

.wf370-menu-nav { padding: 1rem 0; }
.wf370-menu-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.6rem;
    color: var(--wf370-text);
    font-size: 1.5rem;
    transition: background .2s, color .2s;
}
.wf370-menu-nav a:hover { background: var(--wf370-card); color: var(--wf370-teal); }
.wf370-menu-nav a i { width: 2rem; text-align: center; color: var(--wf370-teal); font-size: 1.6rem; }

.wf370-menu-cta {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: .8rem;
    margin-top: auto;
    border-top: 1px solid var(--wf370-border);
}

/* ========== MAIN CONTENT ========== */
main { padding-top: var(--wf370-header-h); }

@media (max-width: 768px) {
    main { padding-bottom: calc(var(--wf370-bnav-h) + 10px); }
}

/* ========== SLIDER ========== */
.wf370-slider {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--wf370-charcoal);
}
.wf370-track {
    display: flex;
    height: 100%;
    transition: transform .5s ease;
}
.wf370-slide {
    flex: 0 0 100%;
    position: relative;
    cursor: pointer;
}
.wf370-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wf370-slide-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.2rem 1.6rem;
    background: linear-gradient(transparent, rgba(0,0,0,.8));
    color: #fff;
}
.wf370-slide-caption h3 { font-size: 1.6rem; font-weight: 700; }
.wf370-slide-caption p { font-size: 1.2rem; color: var(--wf370-silver); }

.wf370-slider-prev,
.wf370-slider-next {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,.45);
    border: none;
    color: #fff;
    width: 3.2rem; height: 3.2rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    z-index: 10;
}
.wf370-slider-prev { left: .8rem; }
.wf370-slider-next { right: .8rem; }

.wf370-dots {
    display: flex;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 0;
    background: var(--wf370-charcoal);
}
.wf370-dot {
    width: .7rem; height: .7rem;
    border-radius: 50%;
    background: var(--wf370-slate);
    cursor: pointer;
    transition: all .3s;
    border: none;
}
.wf370-dot.active {
    background: var(--wf370-teal);
    width: 2rem;
    border-radius: .4rem;
}

/* ========== STATS STRIP ========== */
.wf370-stats {
    display: flex;
    background: var(--wf370-surface);
    border-bottom: 1px solid var(--wf370-border);
}
.wf370-stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem .5rem;
    border-right: 1px solid var(--wf370-border);
    font-size: 1.1rem;
}
.wf370-stat-item:last-child { border-right: none; }
.wf370-stat-item strong {
    font-size: 1.6rem;
    color: var(--wf370-teal);
    font-weight: 700;
}
.wf370-stat-item span { color: var(--wf370-muted); font-size: 1rem; }

/* ========== SECTIONS ========== */
.wf370-section { padding: 2rem 1.4rem; }
.wf370-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.4rem;
}
.wf370-section-title {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--wf370-light);
}
.wf370-section-title i { color: var(--wf370-teal); font-size: 1.8rem; }
.wf370-see-all {
    font-size: 1.2rem;
    color: var(--wf370-teal);
    display: flex;
    align-items: center;
    gap: .3rem;
}

/* ========== GAME GRID ========== */
.wf370-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .8rem;
}
@media (min-width: 360px) { .wf370-game-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 420px) { .wf370-game-grid { grid-template-columns: repeat(6, 1fr); } }

.wf370-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform .2s;
}
.wf370-game-item:active { transform: scale(.94); }
.wf370-game-item img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--wf370-radius);
    object-fit: cover;
    background: var(--wf370-card);
}
.wf370-game-item span {
    font-size: .9rem;
    color: var(--wf370-muted);
    text-align: center;
    margin-top: .3rem;
    line-height: 1.2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    width: 100%;
}

/* ========== PROMO BANNER ========== */
.wf370-promo-banner {
    margin: 0 1.4rem;
    border-radius: var(--wf370-radius-lg);
    background: linear-gradient(135deg, var(--wf370-teal-dark) 0%, #0d6e68 100%);
    padding: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
}
.wf370-promo-banner-text h3 { font-size: 1.6rem; color: #fff; font-weight: 700; }
.wf370-promo-banner-text p { font-size: 1.2rem; color: rgba(255,255,255,.8); margin-top: .3rem; }
.wf370-promo-banner-icon { font-size: 3.6rem; opacity: .7; }

/* ========== QUICK ACTIONS ========== */
.wf370-quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .8rem;
    padding: 1.4rem;
}
.wf370-quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: 1.2rem .5rem;
    background: var(--wf370-card);
    border-radius: var(--wf370-radius);
    cursor: pointer;
    border: 1px solid var(--wf370-border);
    transition: all .2s;
}
.wf370-quick-btn:hover { border-color: var(--wf370-teal); background: rgba(32,178,170,.08); }
.wf370-quick-btn i { font-size: 2.2rem; color: var(--wf370-teal); }
.wf370-quick-btn span { font-size: 1.1rem; color: var(--wf370-muted); text-align: center; }

/* ========== CARDS / INFO CARDS ========== */
.wf370-info-card {
    background: var(--wf370-card);
    border-radius: var(--wf370-radius-lg);
    padding: 1.6rem;
    border: 1px solid var(--wf370-border);
}
.wf370-info-card h3 {
    font-size: 1.6rem;
    color: var(--wf370-teal);
    margin-bottom: .8rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}
.wf370-info-card p { font-size: 1.4rem; color: var(--wf370-muted); line-height: 1.7; }

/* ========== FEATURE GRID ========== */
.wf370-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.wf370-feature-card {
    background: var(--wf370-card);
    border-radius: var(--wf370-radius);
    padding: 1.4rem 1.2rem;
    border-left: 3px solid var(--wf370-teal);
    border-top: 1px solid var(--wf370-border);
    border-right: 1px solid var(--wf370-border);
    border-bottom: 1px solid var(--wf370-border);
}
.wf370-feature-card i { font-size: 2.4rem; color: var(--wf370-teal); margin-bottom: .6rem; }
.wf370-feature-card h4 { font-size: 1.4rem; color: var(--wf370-light); margin-bottom: .4rem; }
.wf370-feature-card p { font-size: 1.2rem; color: var(--wf370-muted); }

/* ========== FAQ ========== */
.wf370-faq-item {
    background: var(--wf370-card);
    border-radius: var(--wf370-radius);
    margin-bottom: .8rem;
    border: 1px solid var(--wf370-border);
    overflow: hidden;
}
.wf370-faq-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.3rem 1.4rem;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--wf370-light);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    gap: .8rem;
}
.wf370-faq-head .faq-icon {
    color: var(--wf370-teal);
    font-size: 2rem;
    flex-shrink: 0;
    transition: transform .3s;
    line-height: 1;
}
.wf370-faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    padding: 0 1.4rem;
    font-size: 1.4rem;
    color: var(--wf370-muted);
    line-height: 1.7;
}
.wf370-faq-item.open .wf370-faq-body { padding-bottom: 1.4rem; }

/* ========== RTP BARS ========== */
.wf370-rtp-item {
    margin-bottom: 1.2rem;
}
.wf370-rtp-label {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    margin-bottom: .4rem;
    color: var(--wf370-text);
}
.wf370-rtp-label span:last-child { color: var(--wf370-teal); font-weight: 700; }
.wf370-rtp-bar {
    height: .7rem;
    background: var(--wf370-border);
    border-radius: .5rem;
    overflow: hidden;
}
.wf370-rtp-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--wf370-teal-dark), var(--wf370-teal));
    border-radius: .5rem;
    transition: width 1s ease;
}

/* ========== CTA SECTION ========== */
.wf370-cta {
    background: linear-gradient(135deg, var(--wf370-charcoal), #0e1c1c 40%, var(--wf370-teal-dark));
    padding: 3rem 1.4rem;
    text-align: center;
}
.wf370-cta h2 { font-size: 2.2rem; color: var(--wf370-light); margin-bottom: .8rem; }
.wf370-cta p { font-size: 1.4rem; color: var(--wf370-silver); margin-bottom: 2rem; }
.wf370-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ========== INTERNAL LINKS ========== */
.wf370-link {
    color: var(--wf370-teal);
    font-weight: 500;
    border-bottom: 1px dashed rgba(32,178,170,.4);
}
.wf370-link:hover { border-bottom-color: var(--wf370-teal); }

/* ========== FOOTER ========== */
.wf370-footer {
    background: var(--wf370-charcoal);
    padding: 2.4rem 1.4rem 1.6rem;
    border-top: 1px solid var(--wf370-border);
}
.wf370-footer-logo { font-size: 2rem; font-weight: 800; color: var(--wf370-teal); margin-bottom: .6rem; }
.wf370-footer-desc { font-size: 1.3rem; color: var(--wf370-muted); line-height: 1.6; margin-bottom: 1.6rem; }

.wf370-partners {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-bottom: 1.6rem;
}
.wf370-partners img {
    height: 3rem;
    width: auto;
    border-radius: .4rem;
    opacity: .7;
    filter: grayscale(.3);
}

.wf370-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.4rem;
    margin-bottom: 1.4rem;
}
.wf370-footer-nav a { font-size: 1.2rem; color: var(--wf370-muted); }
.wf370-footer-nav a:hover { color: var(--wf370-teal); }

.wf370-footer-copy { font-size: 1.1rem; color: var(--wf370-border); text-align: center; padding-top: 1.2rem; border-top: 1px solid var(--wf370-border); }

/* ========== BOTTOM NAV ========== */
.wf370-bnav {
    display: none;
}
@media (max-width: 768px) {
    .wf370-bnav {
        display: flex;
        position: fixed;
        bottom: 0; left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 430px;
        height: var(--wf370-bnav-h);
        background: var(--wf370-charcoal);
        border-top: 1px solid var(--wf370-border);
        z-index: 1000;
        align-items: stretch;
    }
}
.wf370-bnav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem .2rem;
    color: var(--wf370-slate);
    transition: all .2s;
    position: relative;
}
.wf370-bnav-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 20%; right: 20%;
    height: 2px;
    background: var(--wf370-teal);
    border-radius: 0 0 2px 2px;
    transform: scaleX(0);
    transition: transform .2s;
}
.wf370-bnav-btn.active::before { transform: scaleX(1); }
.wf370-bnav-btn i { font-size: 2rem; }
.wf370-bnav-btn span { font-size: 1rem; }
.wf370-bnav-btn.active { color: var(--wf370-teal); }
.wf370-bnav-btn:active { transform: scale(.9); }

/* ========== HERO (inner pages) ========== */
.wf370-hero {
    background: linear-gradient(180deg, var(--wf370-surface) 0%, var(--wf370-bg) 100%);
    padding: 2.4rem 1.4rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--wf370-border);
}
.wf370-hero h1 { font-size: 2rem; color: var(--wf370-light); margin-bottom: .6rem; }
.wf370-hero p { font-size: 1.4rem; color: var(--wf370-muted); }

/* ========== DESKTOP HIDE ========== */
@media (min-width: 769px) {
    .wf370-bnav { display: none !important; }
}
