 
:root {
    --eg: #ff4d32;
    --eg2: #ff765f;
    --blue: #1e73be;
    --ink: #151922;
    --muted: #687386;
    --paper: #f5f7fb;
    --line: #e7eaf0;
    --yellow: #ffb524;
    --green: #19b878;
    --violet: #7357ff
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
    color: var(--ink);
    background: var(--paper)
}

a {
    text-decoration: none
}

.topnote {
    background: #111827;
    color: #dfe5ee;
    font-size: .78rem;
    padding: .46rem 0
}

.navbar {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line)
}

.brandmark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    background: linear-gradient(145deg,var(--eg),#ff875c);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 8px 20px #ff4d3230
}

.nav-link {
    font-weight: 650;
    color: #4c5667 !important
}

    .nav-link:hover, .nav-link.active {
        color: var(--eg) !important
    }

.btn-eg {
    background: linear-gradient(135deg,var(--eg),var(--eg2));
    color: #fff;
    border: 0;
    box-shadow: 0 10px 25px #ff4d3229;
    transition: .2s
}

    .btn-eg:hover {
        color: #fff;
        transform: translateY(-1px)
    }

.hero {
    position: relative;
    overflow: hidden;
    background: #fff;
    padding: 68px 0 48px
}

    .hero:before {
        content: "";
        position: absolute;
        width: 480px;
        height: 480px;
        border-radius: 50%;
        background: #ff4d320c;
        right: -150px;
        top: -210px
    }

.eyebrow {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    border: 1px solid #ffd7cf;
    background: #fff5f2;
    color: #c93924;
    border-radius: 999px;
    padding: .42rem .75rem;
    font-weight: 800;
    font-size: .78rem
}

.hero h1 {
    font-size: clamp(2.65rem,5.4vw,5.3rem);
    letter-spacing: -.055em;
    line-height: .94;
    font-weight: 900
}

    .hero h1 .hot {
        color: var(--eg)
    }

.hero-copy {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 690px
}

.quickbar {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: .55rem;
    box-shadow: 0 18px 55px #26324a12;
    max-width: 800px
}

    .quickbar input {
        border: 0;
        box-shadow: none !important;
        padding: .8rem 1rem
    }

.statline {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: #697386;
    font-size: .86rem
}

    .statline b {
        color: #1d2735
    }

.play-stage {
    position: relative;
    min-height: 410px
}

.float-card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 22px 60px #1c2d4617;
    border-radius: 24px
}

.daily {
    inset: 20px 12px 48px 32px;
    padding: 24px;
    background: linear-gradient(155deg,#fff 40%,#fff4f1)
}

.orb {
    width: 74px;
    height: 74px;
    border-radius: 23px;
    background: linear-gradient(135deg,#ff4d32,#ff9b4a);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 2rem;
    transform: rotate(-6deg)
}

.mini-score {
    right: -4px;
    top: 5px;
    padding: 12px 16px;
    border-radius: 18px;
    animation: float 4s ease-in-out infinite
}

.mini-streak {
    left: 4px;
    bottom: 22px;
    padding: 12px 16px;
    border-radius: 18px;
    animation: float 4.5s ease-in-out infinite reverse
}

@keyframes float {
    50% {
        transform: translateY(-9px)
    }
}

.section {
    padding: 64px 0
}

.section-title {
    font-size: clamp(1.8rem,3vw,2.6rem);
    font-weight: 900;
    letter-spacing: -.035em
}

.game-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    transition: .22s
}

    .game-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px #1b2d4615
    }

.game-art {
    height: 165px;
    padding: 22px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden
}

    .game-art i.big {
        position: absolute;
        font-size: 7rem;
        right: 18px;
        top: 4px;
        opacity: .18;
        transform: rotate(-8deg)
    }

.art-red {
    background: linear-gradient(135deg,#ffebe6,#fff7f4)
}

.art-blue {
    background: linear-gradient(135deg,#e8f4ff,#f5faff)
}

.art-yellow {
    background: linear-gradient(135deg,#fff1c7,#fffaf0)
}

.art-violet {
    background: linear-gradient(135deg,#eeeaff,#faf9ff)
}

.art-green {
    background: linear-gradient(135deg,#e5faef,#f6fffa)
}

.art-dark {
    background: linear-gradient(135deg,#1a2332,#283851);
    color: #fff
}

.pill {
    display: inline-flex;
    border-radius: 999px;
    padding: .32rem .62rem;
    font-size: .7rem;
    font-weight: 850;
    background: #ffffffd6;
    border: 1px solid #fff
}

.game-body {
    padding: 18px
}

.game-title {
    font-size: 1.05rem;
    font-weight: 850
}

.meta {
    font-size: .78rem;
    color: var(--muted)
}

.ad-slot {
    border: 1px dashed #cdd4df;
    background: #fff;
    border-radius: 18px;
    min-height: 104px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #9aa4b2
}

    .ad-slot small {
        display: block;
        font-size: .64rem;
        letter-spacing: .12em
    }

.challenge {
    background: #141c29;
    color: #fff;
    border-radius: 32px;
    padding: 36px;
    position: relative;
    overflow: hidden
}

    .challenge:after {
        content: "";
        position: absolute;
        width: 330px;
        height: 330px;
        border: 70px solid #ffffff08;
        border-radius: 50%;
        right: -80px;
        top: -120px
    }

.progress {
    height: 9px;
    background: #ffffff17
}

.progress-bar {
    background: linear-gradient(90deg,#ff4d32,#ffb524)
}

.rank-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 900
}

.points {
    background: linear-gradient(135deg,#fff7e7,#fff);
    border: 1px solid #ffe0a5;
    border-radius: 26px;
    padding: 28px
}

.biz {
    background: linear-gradient(135deg,#fff1ed,#fff 52%,#edf6ff);
    border: 1px solid #ffd8cf;
    border-radius: 30px;
    padding: 36px
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 1.1rem
}

.search-empty {
    display: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px;
    text-align: center
}

.modal-content {
    border: 0;
    border-radius: 24px
}

.quiz-option {
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 12px 14px;
    cursor: pointer;
    transition: .15s;
    background: #fff
}

    .quiz-option:hover {
        border-color: #ff9d8d;
        background: #fff7f5
    }

    .quiz-option.correct {
        border-color: #78d7ad;
        background: #effcf6
    }

    .quiz-option.wrong {
        border-color: #ff9c8d;
        background: #fff1ee
    }

footer {
    background: #111827;
    color: #c8d0db;
    padding: 48px 0 24px
}

    footer a {
        color: #dce2ea
    }

.mobile-play {
    display: none
}

@media(max - width:991px) {
    .hero {
        padding-top: 40px
    }

    .play-stage {
        min-height: 350px;
        margin-top: 18px
    }

    .daily {
        inset: 8px 10px 36px
    }

    .hero h1 {
        font-size: 3.45rem
    }
}

@media(max - width:575px) {
    .topnote {
        display: none
    }

    .hero h1 {
        font-size: 2.75rem
    }

    .hero-copy {
        font-size: .98rem
    }

    .play-stage {
        min-height: 310px
    }

    .daily {
        padding: 18px
    }

    .section {
        padding: 44px 0
    }

    .game-art {
        height: 135px
    }

    .biz, .challenge {
        padding: 24px
    }

    .mobile-play {
        display: block;
        position: fixed;
        z-index: 1000;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 999px;
        box-shadow: 0 12px 30px #0003
    }
}

/* Young Creators */
.kids-zone {
    background: #fff
}

.kids-shell {
    border-radius: 30px;
    background: linear-gradient(120deg,#fff3ef,#fff 48%,#eef7ff);
    border: 1px solid #f0ddd7;
    padding: 32px
}

.kids-label {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    background: #fff;
    border: 1px solid #ffd5ca;
    color: #c83b26;
    border-radius: 999px;
    padding: 6px 11px;
    font-size: .68rem;
    font-weight: 900
}

.kid-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    transition: .22s
}

    .kid-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 35px #1d2d4315
    }

.kid-art {
    height: 125px;
    display: grid;
    place-items: center;
    font-size: 3.2rem
}

    .kid-art.a {
        background: linear-gradient(135deg,#ffb1c5,#ffd17d)
    }

    .kid-art.b {
        background: linear-gradient(135deg,#17264d,#5043aa)
    }

    .kid-art.c {
        background: linear-gradient(135deg,#b9ebff,#66a9ee)
    }

    .kid-art.d {
        background: linear-gradient(135deg,#e0c5ff,#8b6ef2)
    }

.kid-body {
    padding: 14px
}

.kid-title {
    font-weight: 900
}

.kid-by {
    font-size: .72rem;
    color: var(--muted)
}

.kid-play {
    display: flex;
    justify-content: center;
    margin-top: 11px;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--eg);
    color: #fff;
    font-size: .75rem;
    font-weight: 850
}

    .kid-play:hover {
        color: #fff;
        background: #e9432b
    }

.creator-note {
    margin-top: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px
}

    .creator-note i {
        color: var(--blue)
    }
 /*
    ===========*/


/* Young Creators */
.kids-zone {
    background: #fff
}

.kids-shell {
    border-radius: 30px;
    background: linear-gradient(120deg,#fff3ef,#fff 48%,#eef7ff);
    border: 1px solid #f0ddd7;
    padding: 32px
}

.kids-label {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    background: #fff;
    border: 1px solid #ffd5ca;
    color: #c83b26;
    border-radius: 999px;
    padding: 6px 11px;
    font-size: .68rem;
    font-weight: 900
}

.kid-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    transition: .22s
}

    .kid-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 35px #1d2d4315
    }

.kid-art {
    height: 125px;
    display: grid;
    place-items: center;
    font-size: 3.2rem
}

    .kid-art.a {
        background: linear-gradient(135deg,#ffb1c5,#ffd17d)
    }

    .kid-art.b {
        background: linear-gradient(135deg,#17264d,#5043aa)
    }

    .kid-art.c {
        background: linear-gradient(135deg,#b9ebff,#66a9ee)
    }

    .kid-art.d {
        background: linear-gradient(135deg,#e0c5ff,#8b6ef2)
    }

.kid-body {
    padding: 14px
}

.kid-title {
    font-weight: 900
}

.kid-by {
    font-size: .72rem;
    color: var(--muted)
}

.kid-play {
    display: flex;
    justify-content: center;
    margin-top: 11px;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--eg);
    color: #fff;
    font-size: .75rem;
    font-weight: 850
}

    .kid-play:hover {
        color: #fff;
        background: #e9432b
    }

.creator-note {
    margin-top: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px
}

    .creator-note i {
        color: var(--blue)
    }

.page-hero {
    background: #fff;
    padding: 54px 0 34px;
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden
}

    .page-hero:after {
        content: "";
        position: absolute;
        width: 360px;
        height: 360px;
        border-radius: 50%;
        background: #1e73be09;
        right: -120px;
        top: -180px
    }

.breadcrumb {
    font-size: .78rem
}

    .breadcrumb a {
        color: var(--eg)
    }

.game-toolbar {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 12px;
    box-shadow: 0 12px 32px #1b2d4610
}

    .game-toolbar .form-control {
        border: 0;
        box-shadow: none
    }

.filter-row {
    display: flex;
    gap: 8px;
    overflow: auto;
    scrollbar-width: none
}

    .filter-row::-webkit-scrollbar {
        display: none
    }

.filter-btn {
    white-space: nowrap;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: .75rem;
    font-weight: 800;
    color: #596476
}

    .filter-btn.active, .filter-btn:hover {
        background: var(--eg);
        border-color: var(--eg);
        color: #fff
    }

.catalog-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    transition: .22s
}

    .catalog-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 40px #1b2d4615
    }

.catalog-art {
    height: 150px;
    display: grid;
    place-items: center;
    position: relative;
    font-size: 3.8rem
}

.catalog-body {
    padding: 16px
}

.catalog-title {
    font-weight: 900;
    font-size: 1rem
}

.catalog-meta {
    font-size: .72rem;
    color: var(--muted)
}

.creator-chip {
    position: absolute;
    left: 10px;
    top: 10px;
    background: #ffffffdf;
    border: 1px solid #fff;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: .62rem;
    font-weight: 900
}

.points-chip {
    position: absolute;
    right: 10px;
    top: 10px;
    background: #151922;
    color: #fff;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: .62rem;
    font-weight: 850
}

.play-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg,var(--eg),var(--eg2));
    color: #fff;
    border-radius: 999px;
    padding: 8px 12px;
    margin-top: 13px;
    font-size: .76rem;
    font-weight: 850
}

    .play-link:hover {
        color: #fff;
        filter: brightness(.97)
    }

.featured-game {
    background: linear-gradient(135deg,#141c29,#243552);
    color: #fff;
    border-radius: 28px;
    padding: 28px;
    overflow: hidden;
    position: relative
}

    .featured-game:after {
        content: "🎮";
        position: absolute;
        right: 25px;
        bottom: -30px;
        font-size: 9rem;
        opacity: .08;
        transform: rotate(-12deg)
    }

    .featured-game > * {
        position: relative;
        z-index: 1
    }

.side-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 20px
}

.result-count {
    font-size: .78rem;
    color: var(--muted)
}

@media(max-width:575px) {
    .page-hero {
        padding: 36px 0 25px
    }

    .catalog-art {
        height: 120px;
        font-size: 3rem
    }

    .game-toolbar {
        padding: 8px
    }
}
