/* 78wln.homes - style-b4e6.css
 * Mobile-first Vietnamese gaming portal styling.
 * All custom class names use the v60b- prefix per project rule.
 * Color palette: #00BFFF sky / #E8F5E8 mint / #1B263B deep ink /
 *                #F8F9FA mist / #48D1CC turquoise / #40E0D0 cyan
 */

/* ---------- Reset & base ---------- */
:root {
    --v60b-sky: #00BFFF;
    --v60b-mint: #E8F5E8;
    --v60b-ink: #1B263B;
    --v60b-mist: #F8F9FA;
    --v60b-turq: #48D1CC;
    --v60b-cyan: #40E0D0;
    --v60b-bg: #0f1b2d;
    --v60b-bg-2: #14263d;
    --v60b-card: #1a2f4c;
    --v60b-text: #eaf6ff;
    --v60b-muted: #9fb3c8;
    --v60b-gold: #ffd166;
    --v60b-radius: 14px;
    --v60b-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    background: linear-gradient(160deg, var(--v60b-bg) 0%, var(--v60b-bg-2) 60%, #0c1626 100%);
    color: var(--v60b-text);
    line-height: 1.55;
    font-size: 16px;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--v60b-sky); text-decoration: none; }
a:hover { color: var(--v60b-cyan); }
button { font-family: inherit; cursor: pointer; }
.v60b-no-scroll { overflow: hidden; }
.v60b-hidden { display: none !important; }

/* ---------- Header ---------- */
.v60b-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 14px;
    background: rgba(15, 27, 45, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(72, 209, 204, 0.18);
}
.v60b-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.25rem;
    color: #fff;
    letter-spacing: 0.5px;
}
.v60b-logo-mark {
    width: 34px; height: 34px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--v60b-sky), var(--v60b-cyan));
    display: flex; align-items: center; justify-content: center;
    color: #06283d;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.35);
}
.v60b-logo small { display: block; font-size: 10px; color: var(--v60b-turq); font-weight: 500; letter-spacing: 2px; }
.v60b-header-actions { display: flex; align-items: center; gap: 8px; }
.v60b-btn {
    border: none;
    border-radius: 999px;
    padding: 9px 18px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.v60b-btn:active { transform: scale(0.96); }
.v60b-btn-login {
    background: transparent;
    color: var(--v60b-text);
    border: 1.5px solid rgba(72, 209, 204, 0.6);
}
.v60b-btn-register {
    background: linear-gradient(135deg, var(--v60b-sky), var(--v60b-cyan));
    color: #06283d;
    box-shadow: 0 4px 14px rgba(0, 191, 255, 0.4);
}
.v60b-icon-btn {
    background: transparent;
    border: none;
    color: var(--v60b-text);
    font-size: 1.4rem;
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.v60b-icon-btn:hover { background: rgba(72, 209, 204, 0.12); }

/* ---------- Mobile menu ---------- */
.v60b-menu-backdrop {
    position: fixed; inset: 0;
    background: rgba(6, 14, 26, 0.6);
    opacity: 0; pointer-events: none;
    transition: opacity .25s ease;
    z-index: 9998;
}
.v60b-mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--v60b-bg-2);
    border-bottom: 1px solid rgba(72, 209, 204, 0.2);
    transform: translateY(-110%);
    transition: transform .3s ease;
    z-index: 9999;
    max-height: 80vh;
    overflow-y: auto;
    padding: 60px 16px 24px;
}
.v60b-mobile-menu.v60b-is-open { transform: translateY(0); }
.v60b-mobile-menu.v60b-is-open ~ .v60b-menu-backdrop { opacity: 1; pointer-events: auto; }
.v60b-mobile-menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--v60b-text);
    font-weight: 600;
    border-bottom: 1px solid rgba(72, 209, 204, 0.08);
}
.v60b-mobile-menu a:hover { background: rgba(0, 191, 255, 0.08); color: var(--v60b-sky); }
.v60b-menu-cta { display: flex; gap: 10px; margin-bottom: 14px; }
.v60b-menu-cta .v60b-btn { flex: 1; text-align: center; }

/* ---------- Layout ---------- */
main { padding-top: 64px; padding-bottom: 80px; }
.v60b-container { max-width: 1200px; margin: 0 auto; padding: 0 14px; }
.v60b-section { padding: 28px 0; }
.v60b-section-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 14px;
}
.v60b-section-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    display: flex; align-items: center; gap: 8px;
}
.v60b-section-title::before {
    content: ""; width: 4px; height: 22px;
    background: linear-gradient(var(--v60b-sky), var(--v60b-cyan));
    border-radius: 4px;
}
.v60b-more { color: var(--v60b-turq); font-size: 0.85rem; }

/* ---------- Hero carousel ---------- */
.v60b-hero {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--v60b-shadow);
    margin: 14px 0 6px;
}
.v60b-hero-track { position: relative; min-height: 220px; }
.v60b-hero-slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity .6s ease;
    padding: 26px 22px;
    display: flex; flex-direction: column; justify-content: center;
    background-size: cover; background-position: center;
}
.v60b-hero-slide.v60b-active { opacity: 1; position: relative; }
.v60b-hero-slide::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(8, 20, 38, 0.85) 0%, rgba(8, 20, 38, 0.35) 100%);
}
.v60b-hero-content { position: relative; z-index: 2; max-width: 78%; }
.v60b-hero-tag {
    display: inline-block;
    background: rgba(255, 209, 102, 0.18);
    color: var(--v60b-gold);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 10px;
}
.v60b-hero-title { font-size: 1.65rem; line-height: 1.2; font-weight: 900; margin: 0 0 8px; color: #fff; }
.v60b-hero-desc { color: #d7e8f5; font-size: 0.95rem; margin: 0 0 14px; }
.v60b-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.v60b-hero-dots {
    position: absolute; bottom: 10px; right: 14px; z-index: 3;
    display: flex; gap: 6px;
}
.v60b-hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); border: none; }
.v60b-hero-dot.v60b-active { background: var(--v60b-sky); width: 22px; border-radius: 6px; }

/* ---------- Highlights bar ---------- */
.v60b-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 12px 0 4px;
}
.v60b-stat {
    background: linear-gradient(160deg, rgba(0,191,255,.10), rgba(72,209,204,.06));
    border: 1px solid rgba(72, 209, 204, 0.18);
    border-radius: 12px;
    padding: 10px 6px;
    text-align: center;
}
.v60b-stat b { display: block; color: var(--v60b-sky); font-size: 1.05rem; font-weight: 800; }
.v60b-stat span { font-size: 0.7rem; color: var(--v60b-muted); display: block; }

/* ---------- Category pills ---------- */
.v60b-cats { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0 14px; }
.v60b-cats::-webkit-scrollbar { display: none; }
.v60b-cat-pill {
    flex: 0 0 auto;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(72, 209, 204, 0.25);
    color: var(--v60b-text);
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: all .2s ease;
}
.v60b-cat-pill.v60b-active, .v60b-cat-pill:hover {
    background: linear-gradient(135deg, var(--v60b-sky), var(--v60b-cyan));
    color: #06283d;
    border-color: transparent;
}

/* ---------- Featured banner cards ---------- */
.v60b-featured {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.v60b-feature-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--v60b-card);
    box-shadow: var(--v60b-shadow);
    border: 1px solid rgba(72,209,204,0.15);
    display: flex;
    min-height: 130px;
}
.v60b-feature-card img { width: 45%; object-fit: cover; }
.v60b-feature-body { padding: 14px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.v60b-feature-body h3 { margin: 0 0 6px; font-size: 1.1rem; color: #fff; font-weight: 800; }
.v60b-feature-body p { margin: 0 0 10px; font-size: 0.85rem; color: var(--v60b-muted); }
.v60b-feature-link {
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 191, 255, 0.16);
    color: var(--v60b-sky);
    font-weight: 700;
    font-size: 0.8rem;
}

/* ---------- Game grid ---------- */
.v60b-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.v60b-game-card {
    background: var(--v60b-card);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(72, 209, 204, 0.12);
    transition: transform .2s ease, box-shadow .2s ease;
}
.v60b-game-card:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,.35); }
.v60b-game-thumb { aspect-ratio: 1 / 1; background: #0b1626; position: relative; overflow: hidden; }
.v60b-game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.v60b-game-overlay {
    position: absolute; inset: 0;
    background: rgba(6, 16, 32, 0.65);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .2s ease;
}
.v60b-game-card:hover .v60b-game-overlay { opacity: 1; }
.v60b-play-btn {
    background: linear-gradient(135deg, var(--v60b-sky), var(--v60b-cyan));
    color: #06283d;
    border: none;
    border-radius: 999px;
    padding: 8px 18px;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(0,191,255,.4);
}
.v60b-game-name {
    padding: 8px 6px;
    font-size: 0.78rem;
    text-align: center;
    color: #fff;
    font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.v60b-hot-badge {
    position: absolute; top: 6px; left: 6px;
    background: linear-gradient(135deg, #ff5e62, #ff9966);
    color: #fff; font-size: 0.6rem; font-weight: 800;
    padding: 2px 7px; border-radius: 6px;
    letter-spacing: 0.5px;
}

/* ---------- Promo / tournament banner ---------- */
.v60b-promo-banner {
    border-radius: 16px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(0,191,255,.18), rgba(64,224,208,.12));
    border: 1px solid rgba(72,209,204,0.25);
    margin-top: 10px;
}
.v60b-promo-banner h3 { margin: 0 0 6px; color: #fff; font-size: 1.15rem; }
.v60b-promo-banner p { margin: 0 0 12px; color: var(--v60b-muted); font-size: 0.9rem; }

/* ---------- SEO long content ---------- */
.v60b-seo {
    background: rgba(255,255,255,0.03);
    border-radius: 14px;
    padding: 18px;
    border: 1px solid rgba(72,209,204,0.12);
}
.v60b-seo h2 { color: #fff; font-size: 1.25rem; margin: 0 0 10px; }
.v60b-seo h3 { color: var(--v60b-sky); font-size: 1.05rem; margin: 16px 0 6px; }
.v60b-seo p { color: #c9dcec; font-size: 0.92rem; margin: 0 0 10px; }
.v60b-seo ul { padding-left: 18px; color: #c9dcec; }
.v60b-seo li { margin-bottom: 6px; font-size: 0.9rem; }
.v60b-seo a { color: var(--v60b-cyan); border-bottom: 1px dashed rgba(64,224,208,.5); }

/* ---------- FAQ ---------- */
.v60b-faq-item {
    border: 1px solid rgba(72,209,204,0.15);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
}
.v60b-faq-q {
    padding: 12px 14px;
    font-weight: 700;
    color: #fff;
    display: flex; justify-content: space-between; align-items: center;
    gap: 10px;
    cursor: pointer;
}
.v60b-faq-q::after {
    content: "+"; color: var(--v60b-sky); font-size: 1.3rem; font-weight: 700;
}
.v60b-faq-item.v60b-open .v60b-faq-q::after { content: "−"; }
.v60b-faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
    padding: 0 14px;
    color: var(--v60b-muted);
}
.v60b-faq-item.v60b-open .v60b-faq-a { max-height: 320px; padding: 0 14px 12px; }

/* ---------- Reveal animation ---------- */
.v60b-reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.v60b-reveal.v60b-visible { opacity: 1; transform: none; }

/* ---------- Footer ---------- */
.v60b-footer {
    background: #0a1424;
    padding: 28px 0 30px;
    border-top: 1px solid rgba(72, 209, 204, 0.18);
    color: var(--v60b-muted);
}
.v60b-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.v60b-footer h4 { color: #fff; margin: 0 0 10px; font-size: 0.95rem; }
.v60b-footer a { color: var(--v60b-muted); display: block; padding: 4px 0; font-size: 0.82rem; }
.v60b-footer a:hover { color: var(--v60b-sky); }
.v60b-footer-bottom {
    text-align: center; padding-top: 16px; margin-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.78rem; color: #6e8298;
}
.v60b-18plus { display: inline-block; border: 1px solid #6e8298; border-radius: 4px; padding: 0 6px; margin-right: 6px; font-weight: 700; }

/* ---------- Bottom nav ---------- */
.v60b-bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 62px;
    background: rgba(10, 20, 36, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(72, 209, 204, 0.2);
    display: flex; justify-content: space-around; align-items: stretch;
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
}
.v60b-nav-btn {
    flex: 1;
    background: none; border: none;
    color: var(--v60b-muted);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 2px;
    font-size: 0.66rem;
    font-weight: 600;
    transition: color .2s ease;
    min-width: 60px;
}
.v60b-nav-btn i, .v60b-nav-btn span.material-icons-outlined, .v60b-nav-btn ion-icon { font-size: 22px; }
.v60b-nav-btn:hover { color: var(--v60b-text); }
.v60b-nav-btn.v60b-active { color: var(--v60b-sky); }
.v60b-nav-btn.v60b-cta {
    position: relative;
    color: #06283d;
}
.v60b-nav-btn.v60b-cta .v60b-nav-orb {
    position: absolute; top: -16px;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--v60b-sky), var(--v60b-cyan));
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 191, 255, 0.5);
    color: #06283d;
    font-size: 1.4rem;
    border: 3px solid #0a1424;
}
.v60b-nav-btn.v60b-cta span:not(.v60b-nav-orb) { margin-top: 34px; }

#v60b-back-top {
    position: fixed; right: 14px; bottom: 76px;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(0, 191, 255, 0.85);
    color: #06283d;
    border: none;
    display: flex; align-items: center; justify-content: center;
    z-index: 900;
    box-shadow: 0 4px 12px rgba(0,0,0,.35);
}

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
    .v60b-bottom-nav { display: none; }
    main { padding-bottom: 30px; }
    .v60b-grid { grid-template-columns: repeat(5, 1fr); }
    .v60b-featured { grid-template-columns: repeat(2, 1fr); }
    .v60b-stats { grid-template-columns: repeat(4, 1fr); }
    .v60b-footer-grid { grid-template-columns: repeat(4, 1fr); }
    .v60b-mobile-only { display: none; }
    .v60b-hero-title { font-size: 2.2rem; }
    .v60b-section-title { font-size: 1.6rem; }
}

@media (max-width: 430px) {
    .v60b-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .v60b-feature-card img { width: 40%; }
    .v60b-hero-title { font-size: 1.4rem; }
}

@media (max-width: 360px) {
    .v60b-grid { grid-template-columns: repeat(2, 1fr); }
}
