body {
    background-color: #313338;
    color: #dbdee1;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.main-header {
    width: 100%;
    background-color: #1e1f22;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
}

.main-header h1 {
    margin: 0;
    font-size: 1.8rem;
    color: #5865f2;
    letter-spacing: 4px;
}

.container {
    background-color: #2b2d31;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    text-align: center;
    max-width: 500px;
    width: 90%;
}

h1 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.choice-btn {
    background-color: #5865f2;
    color: white;
    border: none;
    padding: 15px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s, transform 0.1s;
}

.choice-btn:hover {
    background-color: #4752c4;
}

.choice-btn:active {
    transform: scale(0.98);
}

.equal-btn {
    margin-top: 10px;
    background: transparent;
    color: #949ba4;
    border: 1px solid #4e5058;
    padding: 10px 20px;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 4px;
    transition: color 0.2s, border-color 0.2s;
}

.equal-btn:hover {
    color: #ffffff;
    border-color: #dbdee1;
}

.vs {
    font-weight: 800;
    color: #949ba4;
    font-style: italic;
}

.hidden { display: none; }

ol {
    text-align: left;
    display: inline-block;
    padding-left: 20px;
}

li {
    margin: 8px 0;
    font-size: 1.1rem;
    color: #ffffff;
}

/* Flair for top 3 */
li:nth-child(1) {
    color: #ffd700; /* Gold */
    font-weight: bold;
    font-size: 1.4rem;
    list-style-type: "🥇 ";
}

li:nth-child(2) {
    color: #c0c0c0; /* Silver */
    font-weight: bold;
    font-size: 1.25rem;
    list-style-type: "🥈 ";
}

li:nth-child(3) {
    color: #cd7f32; /* Bronze */
    font-weight: bold;
    font-size: 1.15rem;
    list-style-type: "🥉 ";
}

.restart-btn {
    margin-top: 20px;
    background: transparent;
    color: #dbdee1;
    border: 1px solid #4e5058;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
}

.restart-btn:hover {
    background: #35373c;
}