/* Hero Section - Index Page Only */
.hero {
    padding: 80px 0 60px;
    text-align: center;
}

.hero h1 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: clamp(40px, 8vw, 72px);
    color: var(--title-color);
    text-shadow: 0 15px 45px rgba(0, 0, 0, .6);
    text-transform: uppercase;
}

.hero p {
    margin: 24px auto 0;
    max-width: 880px;
    color: var(--muted);
    font-size: 18px;
    /* Slightly larger than body text for hero impact */
    line-height: 1.7;
    font-weight: 400;
}

.hero .subactions {
    margin-top: 40px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Homepage Sections */
.home-status-section {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.home-news-item {
    align-items: flex-start;
}

.home-news-content {
    flex: 1;
}

.home-news-title {
    color: var(--title-color);
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.home-news-title:hover {
    color: var(--primary2);
}

.home-news-meta {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.home-news-excerpt {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.home-top-list {
    counter-reset: settler-rank;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.home-top-list li {
    counter-increment: settler-rank;
    align-items: center;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.home-top-list li::before {
    content: counter(settler-rank);
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--title-color);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.03);
}

.home-top-list li:hover {
    border-color: color-mix(in srgb, var(--primary2) 38%, var(--line));
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.1), rgba(56, 189, 248, 0.03));
    transform: translateY(-1px);
}

.home-top-list li:nth-child(-n + 3)::before {
    border-color: color-mix(in srgb, var(--primary2) 45%, var(--line));
    color: var(--primary2);
    background: rgba(56, 189, 248, 0.14);
}

.home-top-name {
    color: var(--text);
    font-weight: 600;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-top-meta {
    align-items: center;
    flex: 1;
    display: flex;
    gap: 10px;
    min-width: 0;
}

.home-top-badge {
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 3px 8px;
    text-transform: uppercase;
    white-space: nowrap;
}

.home-top-badge.online {
    border: 1px solid color-mix(in srgb, #22c55e 34%, var(--line));
    background: color-mix(in srgb, #22c55e 14%, transparent);
    color: #86efac;
}

.home-top-value {
    color: var(--primary2);
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.2px;
    border: 1px solid color-mix(in srgb, var(--primary2) 28%, var(--line));
    background: color-mix(in srgb, var(--primary2) 12%, transparent);
    border-radius: 999px;
    padding: 4px 10px;
    white-space: nowrap;
}

.home-top-list-empty {
    justify-content: flex-start;
}

.home-top-list-empty::before {
    display: none;
}

.home-sidebar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.home-link-card .body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.home-link-card .btn {
    align-self: flex-start;
    margin-top: auto;
}
