.home-page {
    padding: 42px 0 58px;
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 28px;
    align-items: stretch;
    min-height: 520px;
}

.home-hero-copy,
.server-status-panel,
.support-panel {
    position: relative;
    border: 1px solid rgba(125, 175, 255, 0.14);
    background:
        radial-gradient(ellipse at 18% 0%, rgba(74, 163, 255, 0.12) 0%, transparent 42%),
        linear-gradient(180deg, rgba(10, 15, 25, 0.58), rgba(7, 12, 22, 0.52));
    backdrop-filter: blur(16px) saturate(130%);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.home-hero-copy {
    min-height: 520px;
    padding: 42px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.home-hero-copy::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 9, 16, 0.92) 0%, rgba(5, 9, 16, 0.72) 42%, rgba(5, 9, 16, 0.2) 100%),
        url('/assets/img/features/feature4.png') center / cover;
    z-index: -2;
}

.home-hero-copy::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(5, 9, 16, 0.42));
    z-index: -1;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 13px;
    margin-bottom: 18px;
    color: #a8d8ff;
    background: rgba(74, 163, 255, 0.12);
    border: 1px solid rgba(74, 163, 255, 0.24);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-title {
    max-width: 680px;
    margin: 0 0 16px;
    color: #f4f8ff;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.04;
}

.hero-subtext {
    max-width: 620px;
    margin: 0 0 24px;
    color: #bfd0ea;
    font-size: 1.08rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 20px;
    border-radius: 999px;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s ease;
}

.home-btn:hover {
    color: #fff;
    transform: translateY(-1px);
}

.home-btn.primary {
    background: linear-gradient(135deg, #4aa3ff, #1f6fd6);
    box-shadow: 0 8px 22px rgba(74, 163, 255, 0.28);
}

.home-btn.secondary {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(125, 175, 255, 0.24);
    color: #d7e6ff;
}

.home-btn.vote {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    box-shadow: 0 8px 22px rgba(139, 92, 246, 0.24);
}

.home-hero-side {
    display: grid;
    gap: 16px;
}

.server-status-panel {
    border-radius: 18px;
    padding: 24px;
}

.server-status-panel::before,
.support-panel::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(125, 175, 255, 0.42), transparent);
}

.server-status-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.status-eyebrow {
    color: #7f8da6;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.server-status-title {
    margin-top: 5px;
    color: #f4f8ff;
    font-size: 1.35rem;
    font-weight: 900;
}

.server-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.server-status-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.server-status-badge.online {
    color: #7df1b8;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.28);
}

.server-status-badge.online::before {
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
}

.server-status-badge.offline {
    color: #ff8b8b;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.28);
}

.server-status-badge.offline::before {
    background: #ef4444;
    box-shadow: 0 0 10px #ef4444;
}

.server-status-badge.partial {
    color: #ffd166;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.28);
}

.server-status-badge.partial::before {
    background: #f59e0b;
    box-shadow: 0 0 10px #f59e0b;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.52; }
}

.status-primary-stat {
    padding: 18px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: rgba(74, 163, 255, 0.08);
    border: 1px solid rgba(74, 163, 255, 0.16);
}

.status-primary-value {
    color: #f4f8ff;
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
}

.status-primary-label {
    margin-top: 6px;
    color: #8fa5c4;
    font-size: 0.82rem;
    font-weight: 700;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.status-stat {
    min-height: 82px;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-stat-label {
    color: #8fa5c4;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.status-stat-value {
    margin-top: 7px;
    color: #eaf2ff;
    font-size: 1.08rem;
    font-weight: 900;
}

.status-value.online {
    color: #7df1b8;
}

.status-value.offline {
    color: #ff8b8b;
}

.status-updated {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    margin: -2px 0 14px;
    padding: 10px 12px;
    border-radius: 12px;
    color: #8fa5c4;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(125, 175, 255, 0.12);
    font-size: 0.78rem;
    font-weight: 800;
}

.status-updated i {
    color: #7db7ff;
    font-size: 0.94rem;
}

.status-updated-label {
    color: #8fa5c4;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.status-updated-value {
    margin-left: auto;
    color: #dceaff;
    font-size: 0.82rem;
    font-weight: 900;
    text-align: right;
}

.realmlist-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    background: rgba(3, 7, 14, 0.42);
    border: 1px solid rgba(125, 175, 255, 0.16);
}

.realmlist-label {
    display: block;
    color: #8fa5c4;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.realmlist-text {
    display: block;
    margin-top: 4px;
    color: #b8dcff;
    font-family: Consolas, Monaco, monospace;
    font-size: 0.92rem;
    font-weight: 800;
    word-break: break-all;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    border: 1px solid rgba(74, 163, 255, 0.28);
    border-radius: 999px;
    background: rgba(74, 163, 255, 0.12);
    color: #a8d8ff;
    font-size: 0.78rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover,
.copy-btn.copied {
    color: #fff;
    background: rgba(74, 163, 255, 0.22);
    transform: translateY(-1px);
}

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

.home-announcement {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    position: relative;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(125, 175, 255, 0.16);
    background: rgba(10, 15, 25, 0.62);
    backdrop-filter: blur(16px) saturate(130%);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

.home-announcement::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(125, 175, 255, 0.42), transparent);
}

.home-announcement.info {
    border-color: rgba(74, 163, 255, 0.24);
}

.home-announcement.warning {
    border-color: rgba(245, 158, 11, 0.36);
}

.home-announcement.danger {
    border-color: rgba(239, 68, 68, 0.36);
}

.home-announcement.success {
    border-color: rgba(16, 185, 129, 0.34);
}

.home-announcement-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #a8d8ff;
    background: rgba(74, 163, 255, 0.13);
    border: 1px solid rgba(74, 163, 255, 0.2);
}

.home-announcement h2 {
    margin: 0 0 6px;
    color: #f4f8ff;
    font-size: 1rem;
    font-weight: 900;
}

.home-announcement p {
    margin: 0;
    color: #aebed6;
    font-size: 0.9rem;
    line-height: 1.5;
}

.home-announcement a {
    display: inline-flex;
    margin-top: 9px;
    color: #7db7ff;
    font-weight: 900;
    text-decoration: none;
}

.support-panel h2 {
    margin: 0 0 8px;
    color: #f4f8ff;
    font-size: 1.2rem;
    font-weight: 900;
}

.support-panel p {
    margin: 0 0 16px;
    color: #9fb2ce;
    line-height: 1.55;
}

.features-section {
    padding-top: 42px;
}

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

.section-title {
    margin: 0;
    color: #f4f8ff;
    font-size: 1.8rem;
    font-weight: 900;
}

.section-subtitle {
    max-width: 560px;
    margin: 8px 0 0;
    color: #9fb2ce;
    line-height: 1.6;
}

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

.feature-card {
    position: relative;
    min-height: 230px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(125, 175, 255, 0.12);
    background: rgba(10, 15, 25, 0.58);
    transition: all 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(125, 175, 255, 0.28);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.feature-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 9, 16, 0.08), rgba(5, 9, 16, 0.88));
}

.feature-content {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    padding: 16px;
}

.feature-title {
    color: #fff;
    font-size: 0.98rem;
    font-weight: 900;
    margin-bottom: 6px;
}

.feature-text {
    color: #b9c8dd;
    font-size: 0.82rem;
    line-height: 1.48;
}

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

    .home-hero-copy {
        min-height: 460px;
    }

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

@media (max-width: 640px) {
    .home-page {
        padding-top: 24px;
    }

    .home-hero-copy,
    .server-status-panel,
    .support-panel {
        border-radius: 14px;
        padding: 20px;
    }

    .home-hero-copy {
        min-height: 430px;
    }

    .hero-title {
        font-size: 2.05rem;
    }

    .hero-actions,
    .section-heading,
    .server-status-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-btn {
        width: 100%;
    }

    .status-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .realmlist-box {
        grid-template-columns: 1fr;
    }

    .status-updated {
        align-items: flex-start;
    }

    .status-updated-value {
        margin-left: 0;
        text-align: left;
    }

    .copy-btn {
        justify-content: center;
    }
}
