.site-shell {
    min-height: 100vh;
}

.sidebar {
    position: fixed;
    z-index: 5;
    inset: 0 auto 0 0;
    display: flex;
    width: var(--sidebar-width);
    flex-direction: column;
    padding: 32px 22px 26px;
    border-right: 1px solid var(--line);
    background: #121914;
}

.brand {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 9px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.brand-mark {
    display: grid;
    width: 31px;
    height: 34px;
    place-items: center;
    background: var(--lime);
    color: var(--ink);
    font-size: 30px;
    transform: skew(-6deg);
}

.brand-word {
    letter-spacing: 0.3px;
}

.brand-period,
.footer-brand span,
.heading-period {
    color: var(--lime);
}

.sidebar-caption {
    margin: 10px 0 44px 40px;
    color: var(--text-muted);
    font-size: 11px;
}

.primary-nav {
    display: grid;
    gap: 7px;
}

.nav-link {
    display: flex;
    min-height: 46px;
    align-items: center;
    gap: 13px;
    padding: 0 12px;
    border-left: 2px solid transparent;
    color: #b6c0b4;
    font-size: 12px;
    font-weight: 700;
    transition: color 160ms ease, background-color 160ms ease;
}

.nav-link:hover,
.nav-link.is-active {
    border-left-color: var(--lime);
    background: rgba(199, 243, 107, 0.08);
    color: var(--lime);
}

.nav-glyph {
    display: grid;
    width: 20px;
    place-items: center;
    color: currentColor;
    font-size: 18px;
    line-height: 1;
}

.sidebar-bottom {
    margin-top: auto;
    padding: 19px 13px 0;
    border-top: 1px solid var(--line);
}

.season-stamp,
.topbar-context {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
}

.season-dot,
.context-marker {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lime);
}

.sidebar-bottom p {
    margin: 15px 0 13px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.05;
}

.sidebar-life {
    color: var(--lime);
    font-size: 11px;
    letter-spacing: 3px;
}

.main-content {
    width: min(calc(100% - var(--sidebar-width)), calc(var(--content-max) - var(--sidebar-width)));
    min-height: 100vh;
    margin-left: var(--sidebar-width);
    padding: 0 48px;
}

.topbar {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.demo-badge {
    padding: 6px 9px;
    border: 1px solid rgba(199, 243, 107, 0.28);
    color: var(--lime);
    font-size: 9px;
    font-weight: 800;
}

.arena-hero {
    display: grid;
    min-height: 432px;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    align-items: center;
    gap: 34px;
    padding: 38px 0 42px;
    border-bottom: 1px solid var(--line);
}

.hero-copy {
    position: relative;
    z-index: 1;
    animation: hero-arrive 480ms ease-out both;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    color: var(--lime);
    font-size: 10px;
    font-weight: 800;
}

.eyebrow-line {
    width: 21px;
    height: 1px;
    background: currentColor;
}

.hero-copy h1 {
    max-width: 630px;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(58px, 6.2vw, 88px);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 0.86;
    text-transform: uppercase;
}

.hero-copy h1 span {
    color: var(--lime);
}

.hero-description {
    max-width: 405px;
    margin: 21px 0 20px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.75;
}

.hero-lives {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--lime);
}

.life-heart {
    font-size: 20px;
    line-height: 1;
}

.life-caption {
    margin-left: 7px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 25px;
}

.feature-art {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    margin: 0;
    background: var(--ink-soft);
    isolation: isolate;
}

.feature-art img {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.72);
}

.art-shade {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 23, 19, 0.06) 20%, rgba(17, 23, 19, 0.94) 100%), linear-gradient(90deg, rgba(17, 23, 19, 0.08), transparent 65%);
}

.feature-caption {
    position: absolute;
    right: 24px;
    bottom: 24px;
    left: 24px;
    display: grid;
    gap: 4px;
}

.feature-kicker {
    color: var(--lime);
    font-size: 9px;
    font-weight: 800;
}

.feature-caption strong {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.feature-status {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 6px;
    color: #e0e7dd;
    font-size: 10px;
}

.feature-status span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--coral);
}

.art-index {
    position: absolute;
    top: 17px;
    right: 18px;
    color: rgba(239, 244, 233, 0.78);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
}

.principles-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.principle {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 4px 20px;
    border-right: 1px solid var(--line);
}

.principle:first-child {
    padding-left: 0;
}

.principle:last-child {
    border-right: 0;
}

.principle-number {
    padding-top: 2px;
    color: var(--cyan);
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
}

.principle p,
.principle p span {
    display: block;
}

.principle p {
    margin: 0;
}

.principle p strong {
    font-size: 10px;
    font-weight: 800;
}

.principle p span {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 9px;
    line-height: 1.5;
}

.dashboard-row {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(270px, 0.75fr);
    gap: 42px;
    padding: 39px 0 42px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 15px;
}

.eyebrow-small {
    margin-bottom: 5px;
    font-size: 9px;
}

.section-heading h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 33px;
    font-weight: 600;
    line-height: 1;
}

.sample-tag {
    padding: 4px 7px;
    border: 1px solid rgba(112, 216, 233, 0.35);
    color: var(--cyan);
    font-size: 9px;
    font-weight: 800;
}

.ranking-table {
    border-top: 1px solid var(--line);
}

.ranking-head,
.ranking-row {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 85px;
    align-items: center;
    gap: 12px;
}

.ranking-head {
    min-height: 35px;
    color: #879386;
    font-size: 9px;
    font-weight: 700;
}

.ranking-head span:last-child {
    text-align: right;
}

.ranking-row {
    min-height: 62px;
    border-top: 1px solid var(--line);
}

.rank-position {
    color: var(--lime);
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 700;
}

.rank-silver .rank-position {
    color: var(--silver);
}

.rank-bronze .rank-position {
    color: var(--bronze);
}

.player-cell {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
}

.player-avatar {
    display: grid;
    width: 33px;
    height: 33px;
    flex: 0 0 auto;
    place-items: center;
    background: #29362c;
    color: var(--lime);
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
}

.player-name-wrap {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.player-name-wrap strong {
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-name-wrap small {
    overflow: hidden;
    color: var(--text-muted);
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-score {
    color: var(--text);
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    text-align: right;
}

.data-note {
    margin: 11px 0 0;
    color: #879386;
    font-size: 9px;
}

.next-match {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    padding: 22px 23px;
    border: 1px solid var(--line);
    background: var(--ink-raised);
    isolation: isolate;
}

.next-match-top {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 700;
}

.live-marker {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--coral);
}

.next-label {
    margin-left: auto;
    color: var(--coral);
    font-size: 8px;
}

.next-match h2 {
    position: relative;
    margin: 24px 0 8px;
    font-family: var(--font-display);
    font-size: 39px;
    font-weight: 700;
    line-height: 0.92;
    text-transform: uppercase;
}

.next-match h2 em {
    color: var(--lime);
    font-style: normal;
}

.next-match p {
    position: relative;
    max-width: 290px;
    margin: 0 0 17px;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.65;
}

.match-decoration {
    position: absolute;
    z-index: -1;
    right: -2px;
    bottom: -55px;
    color: rgba(199, 243, 107, 0.055);
    font-family: var(--font-display);
    font-size: 250px;
    font-weight: 800;
    line-height: 1;
}

.page-footer {
    display: flex;
    min-height: 67px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--line);
    color: #879386;
    font-size: 9px;
}

.footer-brand {
    color: var(--text);
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 800;
}

.page-footer p {
    margin: 0;
}

.mobile-nav {
    display: none;
}

@keyframes hero-arrive {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
