* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0a0a0a;
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

main {
    max-width: 480px;
    width: 100%;
    padding: 2rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #f0f0f0;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

ol {
    list-style-position: inside;
    font-size: 1.35rem;
    line-height: 2.4;
}

li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

li:last-child {
    border-bottom: none;
}

/* Top 5 — fully visible */
li:nth-child(-n+5) {
    color: #f0f0f0;
    font-weight: 700;
}

/* 6–10 — progressive fade */
li:nth-child(6) {
    opacity: 0.1;
}

li:nth-child(7) {
    opacity: 0.05;
}

li:nth-child(8) {
    opacity: 0.03;
}

li:nth-child(9) {
    opacity: 0.01;
}

li:nth-child(10) {
    opacity: 0.005;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tab {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.tab.active {
    color: #f0f0f0;
    font-weight: 700;
    border-bottom-color: #f0f0f0;
}

.tab:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Tab panels */
.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}
