@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    color-scheme: dark;
    --bg: #090b12;
    --panel: #11141e;
    --panel-light: #171b27;
    --text: #f5f6fb;
    --muted: #9399aa;
    --accent: #9b7bff;
    --accent-2: #6b50e8;
    --line: rgba(255,255,255,.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Manrope, Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
.topbar, .footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px max(6vw, 24px);
    border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 14px; font-weight: 800; letter-spacing: .06em; }
.brand b { color: var(--accent); }
.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #b7a2ff, #6948e9);
    color: white;
    font-size: 20px;
}
.nav { display: flex; gap: 32px; color: var(--muted); font-size: 13px; }
.nav a:hover, .footer a:hover { color: white; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 23px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #a78bff, #7255ed);
    color: white;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(117, 82, 238, .22);
    transition: transform .2s, filter .2s;
}
.button:hover { transform: translateY(-2px); filter: brightness(1.1); }
.button-small { min-height: 40px; padding: 0 16px; font-size: 12px; }
.button-ghost { background: rgba(255,255,255,.05); border: 1px solid var(--line); box-shadow: none; }

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 600px;
    padding: 80px max(10vw, 28px);
    overflow: hidden;
    background:
        radial-gradient(ellipse at 75% 48%, rgba(104,75,211,.19), transparent 35%),
        linear-gradient(115deg, #0b0d15 20%, #10101c 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 570px; }
.eyebrow { color: #b39fff; font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: #8e74ff;
    box-shadow: 0 0 12px #8e74ff;
    vertical-align: 1px;
}
h1 { margin: 24px 0 18px; font-size: clamp(48px, 7vw, 82px); line-height: .99; letter-spacing: -.065em; }
h1 span, .account-copy h2 span { color: #a58aff; }
.hero-text, .section-heading p, .account-copy > p, .download-section p {
    max-width: 480px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 25px; color: #777d8e; font-size: 11px; }
.hero-card {
    position: relative;
    display: grid;
    place-items: center;
    width: min(34vw, 350px);
    aspect-ratio: 1;
    border: 1px solid rgba(177,155,255,.24);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(125,92,239,.2), rgba(20,17,39,.2) 60%, transparent 70%);
    box-shadow: 0 0 100px rgba(113,82,222,.12);
}
.hero-emblem {
    display: grid;
    place-items: center;
    width: 155px;
    height: 155px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 38px;
    background: linear-gradient(145deg, #b6a2ff, #5c3ed1);
    font-size: 110px;
    font-weight: 800;
    line-height: 1;
    transform: rotate(-8deg);
    box-shadow: 0 25px 80px rgba(105,69,224,.42);
}
.card-orbit { position: absolute; border: 1px solid rgba(180,160,255,.15); border-radius: 50%; }
.orbit-one { inset: 12%; }
.orbit-two { inset: -10%; border-style: dashed; opacity: .5; }
.hero-card-label { position: absolute; bottom: 19%; font-size: 15px; font-weight: 800; letter-spacing: .12em; }
.hero-card-label span { color: #aa91ff; }
.hero-card-sub { position: absolute; bottom: 13%; color: var(--muted); font-size: 8px; letter-spacing: .22em; }
.hero-bottom { position: absolute; bottom: 26px; left: max(10vw, 28px); color: #73788a; font-size: 9px; letter-spacing: .16em; }

.section { padding: 100px max(10vw, 28px); }
.section-heading { text-align: center; }
.section-heading h2, .account-copy h2, .download-section h2 { margin: 13px 0; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.05em; }
.section-heading p { margin: 0 auto; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.feature {
    position: relative;
    min-height: 205px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(145deg, #121520, #0e1018);
}
.feature-number { position: absolute; top: 25px; right: 25px; color: #626779; font-size: 11px; }
.feature-icon { color: #ac95ff; font-size: 27px; }
.feature h3 { margin: 18px 0 7px; font-size: 16px; }
.feature p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.account-section {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 55px;
    align-items: start;
    background: #0d0f17;
}
.account-copy h2 { line-height: 1.1; }
.privacy-note { max-width: 340px; margin-top: 25px; color: #777d8e; font-size: 11px; line-height: 1.7; }
.account-panel { padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.search-form label { display: block; margin-bottom: 10px; color: #c9ccda; font-size: 12px; font-weight: 700; }
.input-row { display: flex; gap: 10px; }
.input-row input {
    width: 100%;
    min-width: 0;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 9px;
    outline: none;
    background: #0b0d14;
    color: white;
    font: inherit;
    font-size: 13px;
}
.input-row input:focus { border-color: #9275ff; }
.message { margin-top: 18px; padding: 13px 15px; border-radius: 9px; font-size: 12px; }
.message-error { border: 1px solid rgba(255,100,120,.2); background: rgba(255,70,90,.08); color: #ff9aa8; }
.empty-state { display: grid; place-items: center; min-height: 190px; color: var(--muted); text-align: center; font-size: 12px; }
.empty-icon { color: #a58aff; font-size: 35px; }
.player-card { margin-top: 22px; }
.player-heading { display: flex; align-items: center; gap: 13px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.avatar {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    border-radius: 13px;
    background: linear-gradient(135deg, #a78bff, #6044d2);
    font-size: 21px;
    font-weight: 800;
}
.player-name { font-size: 15px; font-weight: 800; }
.player-status { margin-top: 5px; color: var(--muted); font-size: 10px; }
.level-badge { margin-left: auto; padding: 8px 10px; border: 1px solid rgba(165,138,255,.23); border-radius: 7px; color: #b8a5ff; font-size: 9px; font-weight: 800; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 14px; }
.stat { display: flex; flex-direction: column; gap: 5px; padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,.05); }
.stat span { color: var(--muted); font-size: 10px; }
.stat b { font-size: 12px; overflow-wrap: anywhere; }

.download-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin: 50px max(6vw, 24px);
    padding: 45px;
    border: 1px solid rgba(165,138,255,.2);
    border-radius: 18px;
    background: radial-gradient(ellipse at 80% 50%, rgba(111,79,221,.18), transparent 55%), #11131d;
}
.download-section h2 { margin-bottom: 5px; }
.download-section p { margin: 0; }
.footer { border-top: 1px solid var(--line); border-bottom: 0; color: var(--muted); font-size: 10px; }

@media (max-width: 760px) {
    .nav { display: none; }
    .topbar { padding: 15px 20px; }
    .hero { min-height: auto; padding: 80px 25px 100px; }
    .hero-card { display: none; }
    .hero-bottom { left: 25px; }
    .section { padding: 75px 22px; }
    .feature-grid { grid-template-columns: 1fr; margin-top: 30px; }
    .feature { min-height: 165px; }
    .account-section { grid-template-columns: 1fr; gap: 28px; }
    .account-panel { padding: 17px; }
    .input-row { flex-direction: column; }
    .input-row input { min-height: 48px; }
    .download-section { flex-direction: column; align-items: flex-start; margin: 25px 18px; padding: 28px 22px; }
    .footer { flex-wrap: wrap; gap: 15px; padding: 20px; }
}