.subpage-main,
main.page-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: clamp(28px, 5vw, 48px) 20px 72px;
    gap: 28px;
}

.logo-container {
    display: flex;
    justify-content: center;
}

.logo-container .logo-glow,
.logo-container img {
    height: clamp(72px, 12vw, 100px);
    width: auto;
    filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.45));
}

.page-title,
.section-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 36px);
    text-align: center;
    color: var(--cream);
    letter-spacing: 0.04em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.back-link {
    display: inline-block;
    color: var(--sage-bright);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
}

.back-link:hover { color: var(--honey); }

.link-discord {
    color: var(--sage-bright);
    font-weight: 600;
    text-decoration: none;
}

.link-discord:hover { color: var(--honey); }

/* Leaderboard (balsai + panasus blokai) */
.lb-col {
    width: 100%;
    padding: 22px 18px 18px;
    border-radius: var(--radius-md);
    background: rgba(10, 9, 7, 0.55);
    border: 1px solid var(--line);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.lb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lb-item {
    display: grid;
    grid-template-columns: 26px 34px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid transparent;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-out);
}

.lb-item:hover {
    background: var(--sage-dim);
    border-color: rgba(143, 191, 159, 0.12);
    transform: translateX(3px);
}

.lb-rank {
    font-family: var(--font-display);
    font-size: 12px;
    text-align: center;
    color: var(--cream-muted);
}

.lb-avatar {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    image-rendering: pixelated;
    background: #000;
    border: 1px solid var(--line);
}

.lb-name {
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--cream);
}

.lb-value {
    font-family: var(--font-display);
    font-size: 11px;
    color: var(--sage);
    letter-spacing: 0.02em;
}

.lb-empty {
    text-align: center;
    color: var(--cream-muted);
    font-size: 13px;
    padding: 18px 8px;
}

.vote-wrap {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}

.vote-lead {
    color: var(--cream-soft);
    text-align: center;
    margin: 0 0 20px;
    line-height: 1.55;
    font-size: 14px;
}

.rules-wrap {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
}

.rules-card {
    background: rgba(10, 9, 7, 0.62);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin-bottom: 16px;
    border-left-width: 4px;
    border-left-style: solid;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.rules-card h2 {
    color: var(--sage-bright);
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin: 0 0 12px;
    letter-spacing: 0.03em;
}

.rules-card p,
.rules-card li {
    color: var(--cream-soft);
    line-height: 1.7;
}

.rules-intro {
    color: var(--cream-soft);
    font-size: 1.02rem;
    margin-bottom: 22px;
    text-align: center;
    line-height: 1.65;
}

.rules-updated {
    color: var(--cream-muted);
    font-size: 0.88rem;
    margin-top: 8px;
    text-align: center;
}

.rules-footer {
    color: var(--cream-muted);
    text-align: center;
    margin-top: 16px;
}
