:root {
    --home-ember: #e20000;
    --home-toxic: #8bff5a;
    --home-card: rgba(14, 14, 14, 0.7);
}

.page-home {
    --color-primary: #e20000;
    --color-primary-dark: #b30000;
    --color-background: #000000;
    --color-surface: #080808;
}

.page-home .site-header {
    background-color: rgba(0, 0, 0, 0.45);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    transition: backdrop-filter 0.5s ease;
    backdrop-filter: blur(30px);
}

.page-home .logo {
    letter-spacing: 0.16em;
}

body.page-home::-webkit-scrollbar {
    width: 10px;
}

body.page-home::-webkit-scrollbar-track {
    background: #080808;
}

body.page-home::-webkit-scrollbar-thumb {
    background-color: var(--home-ember);
    border-radius: 10px;
    border: 1px solid #3e3e3e;
}

.home-hero {
    padding: 6.5rem 0 3rem;
    background:
        radial-gradient(circle farthest-corner at var(--home-x) 0%, #161616 0%, #000000 20%, #161616 55%, #000000 82.5%, #161616 100%);
    position: relative;
    overflow: hidden;
}

.home-hero {
    --home-x: 0%;
    animation: homeColorChange 6s infinite alternate;
}

@keyframes homeColorChange {
    0% {
        --home-x: 0%;
    }
    50% {
        --home-x: 50%;
    }
    100% {
        --home-x: 100%;
    }
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.06), transparent 35%),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.06) 0,
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px,
            transparent 36px
        );
    opacity: 0.13;
    mix-blend-mode: overlay;
}

.home-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
}

.home-hero-copy h1 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: clamp(2.6rem, 4.2vw, 3.8rem);
    margin: 0 0 1rem;
    text-transform: uppercase;
}

.home-eyebrow {
    margin: 0 0 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    color: rgba(154, 160, 181, 0.95);
}

.home-lead {
    margin: 0 0 1.6rem;
    font-size: 1.08rem;
    max-width: 56ch;
    color: rgba(214, 217, 229, 0.8);
}

.home-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0;
    margin: 0 0 1.6rem;
}

.home-tags li {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background-color: rgba(0, 0, 0, 0.35);
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.9rem;
    color: rgba(214, 217, 229, 0.9);
}

.home-shortcuts {
    margin-top: 1.4rem;
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.home-shortcut {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.9rem 1.05rem;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-shortcut:hover,
.home-shortcut:focus {
    text-decoration: none;
    transform: translateY(-2px);
    border-color: rgba(226, 0, 0, 0.45);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.55);
}

.home-shortcut-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(226, 0, 0, 0.08);
    border: 1px solid rgba(226, 0, 0, 0.2);
    color: rgba(226, 0, 0, 0.95);
}

.home-shortcut-label {
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.home-server {
    background: var(--home-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.6rem 1.6rem 1.4rem;
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
}

.home-server-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.home-server-header h2 {
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 1.25rem;
}

.home-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-status-online {
    background: rgba(139, 255, 90, 0.12);
    border: 1px solid rgba(139, 255, 90, 0.22);
    color: rgba(139, 255, 90, 0.95);
}

.home-server-list {
    margin: 0 0 1.2rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem 1.2rem;
}

.home-server-list div {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.6rem 0.75rem;
    border-radius: 12px;
    background-color: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.home-server-list dt {
    color: rgba(154, 160, 181, 0.9);
    font-weight: 600;
}

.home-server-list dd {
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.home-server-cta {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.2rem;
}

.home-join-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.home-join-label {
    margin: 0;
    color: rgba(154, 160, 181, 0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
}

.home-join-value {
    margin: 0.2rem 0 0;
    font-size: 1.05rem;
}

.home-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}

.home-copy.btn {
    padding-inline: 1.1rem;
}

.home-note {
    margin: 1rem 0 0;
    color: rgba(154, 160, 181, 0.9);
    font-size: 0.92rem;
}

.home-strip {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.4rem;
}

.home-strip-item {
    background-color: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.3rem 1.4rem;
}

.home-strip-kpi {
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.home-strip-label {
    margin: 0.45rem 0 0;
    color: rgba(154, 160, 181, 0.9);
}

.home-features .feature-item h3 {
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-toast {
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    background: rgba(12, 14, 19, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 0.7rem 1rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
    z-index: 999;
}

@media (max-width: 960px) {
    .home-hero-grid {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .home-server {
        max-width: 560px;
    }

    .home-join-row {
        flex-direction: column;
        align-items: stretch;
    }

    .home-copy.btn {
        width: 100%;
    }

    .home-strip {
        grid-template-columns: 1fr;
    }

    .home-shortcut {
        width: 100%;
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero::before {
        opacity: 0.08;
    }
}
