.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1rem;
    gap: 3rem;
    color: #fff;
}

/* PROFIL KARTA */
.profile-card {
    background: #1b1b1b;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    width: 280px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.8s ease;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #ffcc00;
}

/* STATISTIKY */
.statistics h3 {
    margin-bottom: 1rem;
    text-align: center;
}

.stats-box {
    display: flex;
    gap: 1.5rem;
    background: #222;
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.stat h2 {
    color: #ffcc00;
    font-size: 2rem;
}

/* TABULKA */
.game-history {
    width: 90%;
    max-width: 700px;
    text-align: center;
}

.game-history table {
    width: 100%;
    border-collapse: collapse;
    background: #1b1b1b;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.game-history th {
    background: #ffcc00;
    color: #111;
    padding: 0.7rem;
}

.game-history td {
    padding: 0.6rem;
    border-top: 1px solid #333;
}

/* PŘÁTELÉ */
.friends {
    text-align: center;
}

.friends-list {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.friend {
    text-align: center;
    background: #1b1b1b;
    padding: 1rem;
    border-radius: 10px;
    width: 120px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    transition: 0.3s;
}

.friend:hover {
    transform: scale(1.05);
}

.friend-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.4rem;
}

.add-friend {
    display: flex;
    gap: 0.7rem;
    margin-top: 1rem;
}

.add-friend input {
    padding: 0.6rem;
    border-radius: 6px;
    border: 2px solid #333;
    background: #111;
    color: #fff;
    font-family: inherit;
    width: 200px;
}

.add-friend input:focus {
    border-color: #ffcc00;
    outline: none;
}

.add-friend .btn-main {
    padding: 0.6rem 1rem;
}


.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


/* ANIMACE */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
