body.is-home #uf-page-loader {
    display: none !important;
}

body.is-home {
    background: #0c0e11;
    color: #f3f1ea;
}

.lf {
    --gold: #e0b15a;
    --gold-2: #c9963a;
    --ink: #14110c;
    --muted: #a7a59d;
    --line: rgba(255, 255, 255, 0.08);
    background: transparent;
    color: #f4f1ea;
    font-family: Manrope, "Golos Text", sans-serif;
}

.lf a { color: inherit; text-decoration: none; }
.lf img { display: block; max-width: 100%; }

.lf-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.lf-top {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, calc(100% - 40px));
    height: 78px;
    margin: 0 auto;
}

.lf-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 210px;
}

.lf-mark {
    width: 34px;
    height: 34px;
    flex: none;
}

.lf-brand strong {
    display: block;
    font-size: 14px;
    letter-spacing: 0.14em;
    font-weight: 700;
}

.lf-brand span {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 0.16em;
}

.lf-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #ddd9d0;
    font-size: 13px;
}

.lf-nav a:hover { color: white; }

.lf-tools {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lf-tools a.lf-social {
    color: #d9d4ca;
    font-size: 15px;
}

.lf-login {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 16px;
    border: 1px solid rgba(224, 177, 90, 0.7);
    border-radius: 8px;
    color: #f3ead7;
    font-size: 14px;
}

.lf-login:hover { background: rgba(224, 177, 90, 0.1); }

.lf-burger {
    display: none;
    width: 40px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: transparent;
    color: white;
}

.lf-hero {
    position: relative;
    z-index: 2;
    min-height: calc(100svh - 64px);
    background: #0c0e11 center / cover no-repeat;
    isolation: isolate;
    box-shadow:
        0 22px 28px rgba(0, 0, 0, 0.55),
        0 64px 90px rgba(0, 0, 0, 0.78);
}

.lf-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 9, 11, 0.88) 0%, rgba(8, 9, 11, 0.55) 42%, rgba(8, 9, 11, 0.15) 70%),
        linear-gradient(180deg, rgba(8, 9, 11, 0.35) 0%, transparent 22%, rgba(12, 14, 17, 0.78) 100%);
}

.lf-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: calc(100svh - 64px);
    padding: 48px 0 28px;
}

.lf-kicker {
    margin: 0 0 14px;
    color: #d9d3c6;
    font-size: 12px;
    letter-spacing: 0.28em;
}

.lf-hero h1 {
    max-width: 640px;
    margin: 0;
    font-size: clamp(46px, 5.5vw, 74px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 0.92;
    text-transform: uppercase;
}

.lf-hero h1 em {
    display: block;
    color: var(--gold);
    font-style: normal;
}

.lf-lead {
    max-width: 460px;
    margin: 22px 0 0;
    color: #c9c4ba;
    font-size: 15px;
    line-height: 1.55;
}

.lf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.lf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 18px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 650;
}

.lf-btn--gold {
    background: linear-gradient(#e7c27a, #d7a441);
    color: var(--ink);
}

.lf-btn--gold:hover { filter: brightness(1.05); }

.lf-btn--ghost {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(12, 14, 17, 0.35);
    color: #f4f1ea;
}

.lf-btn--ghost:hover { border-color: rgba(255, 255, 255, 0.4); }

.lf-points {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 54px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lf-point {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 78px;
    padding: 16px 14px 8px 0;
    color: #ddd8ce;
    font-size: 14px;
    line-height: 1.25;
    transition: color 0.25s ease;
}

.lf-point:hover { color: #fff; }

.lf-point i {
    color: var(--gold);
    font-size: 18px;
    transition: transform 0.25s ease;
}

.lf-point:hover i { transform: translateY(-2px); }

.lf-section { padding: 54px 0 10px; animation: uf-rise 0.7s ease both; }

.lf-split, .lf-cards { animation: uf-rise 0.8s ease both; }

.lf-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.lf-head h2,
.lf-about h2,
.lf-card strong {
    margin: 0;
    font-size: 28px;
    font-weight: 650;
    letter-spacing: -0.03em;
}

.lf-rule {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, rgba(224, 177, 90, 0.8), transparent 80%);
}

.lf-op {
    display: grid;
    grid-template-columns: 1.35fr 1fr 0.78fr;
    min-height: 250px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #121418;
}

.lf-op__visual {
    position: relative;
    min-height: 250px;
    background: #1a1c20 center / cover no-repeat;
}

.lf-op__visual span,
.lf-op__visual strong {
    position: absolute;
    left: 22px;
    z-index: 1;
    text-transform: uppercase;
}

.lf-op__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.72));
}

.lf-op__visual span {
    bottom: 58px;
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 0.18em;
}

.lf-op__visual strong {
    bottom: 20px;
    max-width: calc(100% - 44px);
    font-size: 32px;
    letter-spacing: 0.04em;
}

.lf-op__body,
.lf-op__count {
    padding: 26px 24px;
}

.lf-op__meta {
    display: flex;
    gap: 16px;
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.lf-op__body p {
    margin: 16px 0 0;
    color: #c9c4ba;
    font-size: 15px;
    line-height: 1.5;
}

.lf-op__when {
    display: flex;
    gap: 22px;
    margin-top: 22px;
    color: #ddd8ce;
    font-size: 14px;
}

.lf-op__when i { margin-right: 8px; color: var(--gold); }

.lf-op__body .lf-actions { margin-top: 22px; }

.lf-op__count {
    border-left: 1px solid var(--line);
    text-align: center;
}

.lf-op__count p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.16em;
}

.lf-digits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.lf-digits b {
    display: block;
    font-size: 34px;
    font-weight: 650;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.lf-digits span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.12em;
}

.lf-split { padding: 64px 0; }

.lf-split > .lf-wrap {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 34px;
}

.lf-news { display: grid; gap: 0; }

.lf-news a {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.lf-news a:hover strong { color: var(--gold); }

.lf-news img,
.lf-news__ph {
    width: 112px;
    height: 72px;
    border-radius: 6px;
    object-fit: cover;
    background: #1b1e24;
}

.lf-news time {
    color: var(--muted);
    font-size: 12px;
}

.lf-news strong {
    display: block;
    margin-top: 4px;
    font-size: 16px;
    font-weight: 650;
}

.lf-news p {
    margin: 4px 0 0;
    color: #b7b2a8;
    font-size: 13px;
    line-height: 1.4;
}

.lf-more {
    display: inline-flex;
    margin-top: 8px;
    color: #ddd8ce;
    font-size: 14px;
}

.lf-more:hover { color: var(--gold); }

.lf-about {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    padding: 28px;
    border-radius: 12px;
    background: #14171c center / cover no-repeat;
}

.lf-about::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 12, 14, 0.92) 0%, rgba(10, 12, 14, 0.78) 58%, rgba(10, 12, 14, 0.28) 100%);
}

.lf-about > * { position: relative; }

.lf-about p {
    max-width: 420px;
    color: #c9c4ba;
    line-height: 1.55;
}

.lf-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 420px;
    margin-top: 26px;
}

.lf-stats div {
    padding-top: 12px;
    border-top: 1px solid rgba(224, 177, 90, 0.45);
}

.lf-stats b {
    display: block;
    font-size: 28px;
    font-weight: 650;
}

.lf-stats span {
    color: var(--muted);
    font-size: 12px;
}

.lf-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-bottom: 72px;
}

.lf-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 230px;
    overflow: hidden;
    padding: 18px;
    border-radius: 12px;
    background: #171a1f center / cover no-repeat;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.lf-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

.lf-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.78));
}

.lf-card > * { position: relative; }

.lf-card i {
    position: absolute;
    top: 16px;
    left: 16px;
    color: var(--gold);
    font-size: 18px;
}

.lf-card strong { display: block; font-size: 22px; }
.lf-card span { display: block; margin-top: 4px; color: #d2cdc3; font-size: 13px; }
.lf-card:hover strong { color: var(--gold); }

.lf-foot {
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.lf-foot .lf-wrap {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0 28px;
}

.lf-drawer {
    display: none;
}

.lf-drawer a {
    display: flex;
    align-items: center;
    min-height: 44px;
}

@media (max-width: 980px) {
    .lf { overflow-x: clip; }
    .lf-nav, .lf-tools .lf-social { display: none; }
    .lf-burger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
    }
    .lf-login { min-height: 44px; }
    .lf-top { height: 64px; gap: 10px; }
    .lf-brand { min-width: 0; }
    .lf-hero, .lf-hero__inner { min-height: calc(100svh - 64px); }
    .lf-hero__inner { padding: 28px 0 24px; }
    .lf-hero h1 { font-size: clamp(34px, 10vw, 48px); }
    .lf-points { grid-template-columns: 1fr 1fr; margin-top: 28px; }
    .lf-point { min-height: 64px; padding: 12px 8px 12px 0; }
    .lf-op, .lf-split > .lf-wrap, .lf-cards { grid-template-columns: 1fr; }
    .lf-op__visual { min-height: 190px; }
    .lf-op__visual strong { font-size: 24px; }
    .lf-op__count { border-left: 0; border-top: 1px solid var(--line); }
    .lf-op__when { flex-wrap: wrap; gap: 10px 18px; }
    .lf-head { flex-wrap: wrap; }
    .lf-btn { min-height: 44px; }
    .lf-drawer.is-open {
        display: grid;
        position: absolute;
        z-index: 30;
        top: 72px;
        left: 14px;
        right: 14px;
        gap: 0;
        max-height: calc(100svh - 88px);
        padding: 8px 16px;
        overflow: auto;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #121418;
    }
}

@media (max-width: 640px) {
    .lf-wrap, .lf-top { width: min(1180px, calc(100% - 28px)); }
    .lf-brand .lf-brand__sub { display: none; }
    .lf-news a { grid-template-columns: 1fr; }
    .lf-news a img { height: 180px; }
    .lf-digits { gap: 6px; }
    .lf-digits b { font-size: 22px; }
    .lf-card { min-height: 190px; }
    .lf-foot .lf-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

.lf-servers__note {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 14px;
}

.lf-servers__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.lf-srv {
    display: flex;
    position: relative;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #121418;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    animation: uf-rise 0.6s ease both;
}

.lf-srv:nth-child(2) { animation-delay: 0.08s; }
.lf-srv:nth-child(3) { animation-delay: 0.16s; }
.lf-srv:nth-child(4) { animation-delay: 0.24s; }

.lf-srv:hover {
    transform: translateY(-5px);
    border-color: rgba(224, 177, 90, 0.45);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
}

.lf-srv__pic {
    position: relative;
    height: 168px;
    background: #0c0e11 center / cover no-repeat;
    animation: uf-pan 22s ease-in-out infinite alternate;
}

.lf-srv.is-off .lf-srv__pic { filter: grayscale(1); }

.lf-srv__pic::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #121418 0%, rgba(18, 20, 24, 0.2) 58%, rgba(0, 0, 0, 0.28) 100%);
}

.lf-srv__state,
.lf-srv__region,
.lf-srv h3 {
    position: absolute;
    z-index: 1;
}

.lf-srv__state {
    top: 12px;
    left: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    background: #1c2218;
    color: #8faf78;
    font-size: 11px;
    font-weight: 700;
}

.lf-srv:not(.is-off) .lf-srv__state {
    animation: uf-glow 2.4s ease-in-out infinite;
}

.lf-srv.is-off .lf-srv__state {
    background: #1a1c20;
    color: #a7a59d;
}

.lf-srv__region {
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    background: rgba(12, 14, 17, 0.82);
    color: #f4f1ea;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.lf-srv h3 {
    right: 14px;
    bottom: 12px;
    left: 14px;
    margin: 0;
    color: #f4f1ea;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.lf-srv__body { display: flex; flex: 1; flex-direction: column; padding: 4px 14px 14px; }

.lf-srv__players {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    margin: 0;
    color: #f4f1ea;
    font-variant-numeric: tabular-nums;
}

.lf-srv__players b { font-size: 26px; font-weight: 700; }

.lf-srv__players span { color: #a7a59d; font-size: 14px; }

.lf-srv__bar {
    height: 6px;
    margin-top: 8px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
}

.lf-srv__bar span {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
    background: #e0b15a;
}

.lf-srv__bar span::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: translateX(-120%);
    animation: uf-sheen 2.8s ease-in-out infinite;
}

.lf-srv__addr {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    padding: 8px 10px;
    border: 1px solid rgba(224, 177, 90, 0.35);
    border-radius: 8px;
    background: #0e1013;
    color: #f4f1ea;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.lf-srv__addr span {
    color: #e0b15a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.lf-srv__addr code {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: inherit;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lf-srv__addr b {
    flex: none;
    color: #e0b15a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lf-srv__addr:hover,
.lf-srv__addr:focus-visible {
    border-color: #e0b15a;
    outline: none;
}

.lf-srv ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.lf-srv li {
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: #d8d4cc;
    font-size: 12px;
}

.lf-srv__meta {
    margin: 14px 0 0;
    color: #a7a59d;
    font-size: 12px;
    line-height: 1.45;
}

.lf-srv a {
    margin-top: 10px;
    color: #e0b15a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 980px) {
    .lf-servers__grid { grid-template-columns: 1fr; }
}

@keyframes uf-pan {
    from { background-position: 42% 40%; }
    to { background-position: 58% 62%; }
}

@keyframes uf-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(143, 175, 120, 0.45); }
    70% { box-shadow: 0 0 0 7px rgba(143, 175, 120, 0); }
}

@keyframes uf-sheen {
    0% { transform: translateX(-120%); }
    55%, 100% { transform: translateX(120%); }
}

@media (prefers-reduced-motion: reduce) {
    .lf-hero,
    .lf-section,
    .lf-split,
    .lf-cards,
    .lf-card,
    .lf-srv,
    .lf-srv__pic,
    .lf-srv__state,
    .lf-srv__bar span::after {
        animation: none !important;
    }

    .lf-srv:hover,
    .lf-card:hover,
    .lf-point:hover i {
        transform: none;
    }
}
