* {
    box-sizing: border-box;
}

:root {
    --bg: #050914;
    --panel: rgba(10, 17, 34, .76);
    --line: rgba(140, 170, 255, .18);
    --text: #f4f7ff;
    --muted: #8995b1;
    --cyan: #38bdf8;
    --purple: #9b5cff;
    --pink: #e34cff;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 80% 10%, rgba(73, 42, 170, .16), transparent 30%),
        radial-gradient(circle at 10% 60%, rgba(0, 180, 255, .08), transparent 30%),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.world-shell {
    min-height: 100vh;
    overflow: hidden;
}

.topbar {
    height: 76px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: rgba(3, 7, 18, .88);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand {
    min-width: 210px;
}

.brand-main {
    display: block;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 4px;
}

.brand-main span {
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    color: transparent;
}

.brand small {
    display: block;
    color: #687693;
    font-size: 7px;
    letter-spacing: 2px;
    margin-top: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 27px;
    font-size: 13px;
    color: #8490ab;
}

.main-nav a {
    transition: .2s;
}

.main-nav a:hover,
.main-nav .active {
    color: #fff;
}

.main-nav .active {
    text-shadow: 0 0 18px rgba(56, 189, 248, .7);
}

.top-actions {
    display: flex;
    gap: 9px;
    align-items: center;
}

.icon-btn,
.avatar-mini {
    width: 39px;
    height: 39px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(18, 27, 50, .8);
    color: white;
}

.avatar-mini {
    border-radius: 50%;
    background: linear-gradient(135deg, #46b7ff, #9d42ff);
    font-weight: 800;
}

.hero {
    min-height: 680px;
    display: grid;
    grid-template-columns: 39% 61%;
    border-bottom: 1px solid var(--line);
}

.hero-copy {
    padding: 100px 50px 70px 7vw;
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: relative;
    z-index: 5;
}

.eyebrow {
    color: var(--cyan);
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 800;
}

.hero h1 {
    font-size: clamp(48px, 5vw, 78px);
    line-height: .92;
    margin: 18px 0 24px;
    letter-spacing: -4px;
}

.hero h1 span,
h2 span {
    background: linear-gradient(90deg, var(--cyan), var(--purple), var(--pink));
    -webkit-background-clip: text;
    color: transparent;
}

.hero-copy p {
    max-width: 500px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 16px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}

.primary-btn {
    color: white;
    background: linear-gradient(100deg, #299ff2, #8e43ed);
    box-shadow: 0 12px 35px rgba(87, 75, 255, .28);
}

.secondary-btn {
    border: 1px solid var(--line);
    background: rgba(255,255,255,.035);
    color: #c8d2e8;
}

.hero-stats {
    display: flex;
    gap: 35px;
    margin-top: 50px;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hero-stats strong {
    font-size: 17px;
}

.hero-stats span {
    color: #697793;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-city {
    min-height: 680px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(10, 23, 55, .35), rgba(4, 8, 19, .95)),
        radial-gradient(circle at 55% 38%, rgba(102, 62, 255, .33), transparent 22%),
        linear-gradient(145deg, #111b3a, #050814 72%);
}

.city-glow {
    position: absolute;
    width: 800px;
    height: 400px;
    border-radius: 50%;
    background: rgba(62, 117, 255, .18);
    filter: blur(80px);
    left: 20%;
    top: 22%;
}

.sun {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, #a4e7ff, #5a55ff 45%, transparent 70%);
    right: 14%;
    top: 12%;
    filter: blur(1px);
}

.building {
    position: absolute;
    bottom: 24%;
    width: 8%;
    background: linear-gradient(90deg, #10182d, #25335a, #0c1224);
    border: 1px solid rgba(130, 164, 255, .18);
    box-shadow: inset 0 0 35px rgba(77, 130, 255, .12);
}

.building:after {
    content: "";
    position: absolute;
    inset: 8px;
    background: repeating-linear-gradient(
        0deg,
        transparent 0 13px,
        rgba(67, 184, 255, .25) 14px 16px
    );
}

.b1 { left: 2%; height: 27%; }
.b2 { left: 12%; height: 42%; }
.b3 { left: 22%; height: 31%; }
.b4 { left: 31%; height: 55%; }
.b5 { right: 24%; height: 45%; }
.b6 { right: 13%; height: 60%; }
.b7 { right: 4%; height: 35%; }
.b8 { left: 41%; height: 30%; }

.tower {
    position: absolute;
    left: 43%;
    bottom: 23%;
    width: 11%;
    height: 70%;
    background: linear-gradient(90deg, #0b1732, #27426d, #091226);
    clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
    border: 1px solid rgba(90, 205, 255, .4);
}

.tower-sign {
    position: absolute;
    top: 25%;
    width: 100%;
    text-align: center;
    color: #55d5ff;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 3px;
    text-shadow: 0 0 20px #36bfff;
}

.plaza {
    position: absolute;
    left: 40%;
    bottom: 15%;
    width: 27%;
    aspect-ratio: 1.8;
    border-radius: 50%;
    background: radial-gradient(ellipse, #1c3970, #091226 65%);
    border: 2px solid rgba(64, 203, 255, .5);
    box-shadow: 0 0 50px rgba(50, 147, 255, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 3;
}

.plaza strong {
    font-size: 18px;
    letter-spacing: 3px;
}

.plaza small {
    color: #6ecaff;
    font-size: 6px;
    letter-spacing: 2px;
}

.floating-label {
    position: absolute;
    z-index: 10;
    padding: 11px 15px;
    background: rgba(5, 11, 27, .85);
    border: 1px solid rgba(82, 183, 255, .3);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px rgba(0,0,0,.3);
}

.floating-label b,
.floating-label span {
    display: block;
}

.floating-label b {
    font-size: 10px;
    letter-spacing: 1px;
}

.floating-label span {
    color: #8192b4;
    font-size: 8px;
    margin-top: 3px;
}

.label-business { left: 8%; top: 22%; }
.label-creator { right: 5%; top: 20%; }
.label-market { left: 9%; bottom: 32%; }
.label-night { right: 7%; bottom: 31%; }

.road {
    position: absolute;
    height: 17%;
    background: #080d19;
    border-top: 1px solid rgba(94, 143, 255, .3);
    transform: rotate(-10deg);
    bottom: 3%;
}

.road-one {
    width: 110%;
    left: -4%;
}

.road-two {
    width: 80%;
    right: -10%;
    transform: rotate(14deg);
}

.player-avatar {
    position: absolute;
    z-index: 20;
    bottom: 11%;
    left: 52%;
    width: 50px;
    height: 100px;
}

.avatar-head {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b8795d, #492d3a);
    margin: auto;
}

.avatar-body {
    width: 40px;
    height: 65px;
    margin: 3px auto;
    border-radius: 18px 18px 5px 5px;
    background: linear-gradient(135deg, #192d55, #6950d5);
    box-shadow: 0 0 25px rgba(90, 100, 255, .5);
}

.ecosystem,
.feature-band,
.economy-section,
.cta {
    max-width: 1400px;
    margin: auto;
    padding: 90px 6vw;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 35px;
}

h2 {
    font-size: clamp(30px, 4vw, 54px);
    margin: 10px 0 0;
    letter-spacing: -2px;
}

.section-heading p {
    max-width: 360px;
    color: var(--muted);
    line-height: 1.6;
}

.world-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
}

.world-card,
.glass-panel,
.economy-card,
.market-preview {
    background: var(--panel);
    border: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.world-card {
    min-height: 105px;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: .25s;
}

.world-card:hover {
    transform: translateY(-4px);
    border-color: rgba(75, 190, 255, .45);
    box-shadow: 0 20px 50px rgba(0,0,0,.2);
}

.card-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(70, 120, 255, .12);
    font-size: 20px;
}

.world-card h3 {
    margin: 0 0 5px;
    font-size: 14px;
}

.world-card p {
    margin: 0;
    color: #71809e;
    font-size: 10px;
}

.arrow {
    margin-left: auto;
    color: #566886;
}

.feature-band {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: center;
}

.feature-text p {
    color: var(--muted);
    line-height: 1.8;
    max-width: 550px;
}

.social-panel {
    padding: 22px;
    border-radius: 18px;
}

.panel-title {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--line);
}

.panel-title span {
    float: right;
    color: var(--cyan);
}

.friend {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(140, 170, 255, .08);
}

.friend-avatar {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #238ed8, #7740ca);
    font-weight: 900;
}

.friend b,
.friend small {
    display: block;
}

.friend b {
    font-size: 12px;
}

.friend small {
    color: #687895;
    font-size: 9px;
    margin-top: 3px;
}

.friend i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #39e0a1;
    margin-left: auto;
    box-shadow: 0 0 12px #39e0a1;
}

.economy-section {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 18px;
}

.economy-card,
.market-preview {
    border-radius: 20px;
    padding: 35px;
}

.economy-card h2 {
    font-size: 42px;
}

.economy-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 35px;
}

.economy-items span {
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: #9eabc4;
    font-size: 9px;
}

.market-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 25px;
}

.market-header h2 {
    font-size: 30px;
}

.market-link {
    color: var(--cyan);
    font-size: 9px;
    font-weight: 900;
}

.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.product {
    padding: 10px;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(140, 170, 255, .1);
    border-radius: 12px;
}

.product-image {
    height: 105px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: grid;
    place-items: center;
    font-size: 9px;
    letter-spacing: 2px;
    color: #b5c8ff;
    background: linear-gradient(145deg, #192d4c, #10172d);
}

.product-image.grocery {
    font-size: 32px;
}

.product b,
.product span {
    display: block;
}

.product b {
    font-size: 10px;
}

.product span {
    color: var(--cyan);
    font-size: 9px;
    margin-top: 4px;
}

.cta {
    margin-top: 30px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta h2 {
    font-size: 42px;
}

footer {
    min-height: 100px;
    padding: 30px 6vw;
    display: flex;
    gap: 30px;
    align-items: center;
    color: #65728c;
    font-size: 9px;
    flex-wrap: wrap;
}

.brand-footer {
    color: white;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 3px;
    margin-right: auto;
}

@media (max-width: 1100px) {
    .main-nav {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding: 80px 7vw 40px;
    }

    .hero-city {
        min-height: 550px;
    }

    .world-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .economy-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .topbar {
        padding: 0 15px;
    }

    .hero-copy {
        padding: 65px 25px 40px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-city {
        min-height: 440px;
    }

    .world-grid,
    .feature-band,
    .products {
        grid-template-columns: 1fr;
    }

    .feature-band {
        gap: 35px;
    }

    .section-heading,
    .cta {
        display: block;
    }

    .section-heading p {
        margin-top: 20px;
    }

    .cta .primary-btn {
        margin-top: 25px;
    }

    .products {
        grid-template-columns: repeat(2, 1fr);
    }

    .floating-label {
        transform: scale(.8);
    }

    .label-creator,
    .label-night {
        right: -15px;
    }
}
