@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

:root {
    --bg-color: #1a1a1a;
    --card-color: #2b2b2b;
    --primary-color: #3f3f3f;
    --hover-color: #505050;
    --text-color: #e0e0e0;
    --heading-color: #ffffff;
    --online-color: #43b581;
    --idle-color: #faa61a;
    --dnd-color: #f04747;
    --offline-color: #747f8d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* FADE-IN ANIMACE */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.profile-container {
    background-color: var(--card-color);
    border-radius: 15px;
    padding: 30px 40px;
    width: 100%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary-color);
}

/* STATUS WIDGET STYLY */
.status-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-flex;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--offline-color);
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    margin-bottom: 20px;
}

.profile-name {
    color: var(--heading-color);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.profile-bio {
    font-size: 0.95rem;
    font-weight: 300;
    margin-bottom: 25px;
    text-align: left;
    line-height: 1.6;
}

.profile-bio p {
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.social-button {
    background-color: var(--primary-color);
    color: var(--heading-color);
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.social-button img {
    width: 20px;
    height: 20px;
    margin-right: 12px;
}

.social-button:hover {
    background-color: var(--hover-color);
    transform: scale(1.04);
}

.contact-info {
    font-size: 0.9rem;
    font-weight: 300;
}

.contact-info a {
    color: var(--heading-color);
    text-decoration: none;
}

/* MENU STYLY */
header { position: fixed; top: 0; right: 0; padding: 20px; z-index: 1001; }
.menu-container { position: relative; }
.menu-toggle { display: flex; flex-direction: column; gap: 5px; z-index: 1002; position: relative; cursor: pointer; }
.menu-toggle .bar { width: 25px; height: 3px; background-color: var(--heading-color); border-radius: 3px; transition: 0.3s; }
.nav-menu { position: fixed; top: 0; right: 0; height: 100vh; width: 250px; background-color: var(--card-color); box-shadow: -5px 0 15px rgba(0,0,0,0.5); transform: translateX(100%); transition: 0.3s; z-index: 1000; }
.nav-menu ul { list-style: none; padding: 80px 30px; }
.nav-menu ul li { margin-bottom: 20px; }
.nav-menu ul li a { color: var(--heading-color); text-decoration: none; font-size: 1.2rem; font-weight: 600; }

@media (max-width: 991px) {
    .nav-menu.active { transform: translateX(0); }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (min-width: 992px) {
    .menu-container:hover .nav-menu { transform: translateX(0); }
}

@media (max-width: 600px) {
    body { align-items: flex-start; padding-top: 50px; }
    .profile-container { padding: 25px 20px; width: 90%; }
}