/* ===== style.css ===== */
body {
    font-family: 'Segoe UI';
    margin: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

h1 {
    text-align: center;
    padding: 20px;
    font-size: 30px;
}

.tabs {
    display: flex;
    position: sticky;
    top: 0;
    background: rgba(0,0,0,0.3);
}

.tabs button {
    flex: 1;
    padding: 24px;
    border: none;
    border-radius: 0;
    background: rgba(255,255,255,0.2);
    color: white;
    font-weight: bold;
    font-size: 22px;
}

.tabs button.active {
    background: white;
    color: #333;
}

.section {
    display: none;
    padding: 15px;
}

.section.active {
    display: block;
}

.person {
    background: rgba(255,255,255,0.25);
    margin: 16px 0;
    padding: 24px;
    border-radius: 18px;
    font-size: 26px;
    text-align: center;
}

.games {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

button {
    flex: 1;
    padding: 28px;
    border: none;
    border-radius: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
}

.petanque {
    background: #3498db;
}

.molkky {
    background: #e67e22;
}

.change {
    background: #9b59b6;
    margin-top: 16px;
    width: 100%;
    font-size: 20px;
    padding: 22px;
}

.remove {
    background: #e74c3c;
    margin-top: 16px;
    width: 100%;
    font-size: 20px;
    padding: 22px;
}

@media(min-width:768px) {
    .sections {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
        padding: 20px;
    }
    .section {
        display: block !important;
    }
    .tabs {
        display: none;
    }
}