* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #11141a; /* Neutrální tmavé pozadí okolo "telefonu" na PC */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Kontejner telefonu */
.phone-container {
    width: 100%;
    max-width: 400px;
    height: 780px;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 8px solid #0b0f12;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 24px;
    position: relative;
    overflow: hidden;
}

/* Profilová sekce */
.profile-section {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
    width: 100%;
}

.avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px auto;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.username {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Odkazy / Tlačítka */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-grow: 1;
}

.link-card {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.icon-wrapper {
    width: 30px;
    font-size: 1.3rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.link-text {
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
    flex-grow: 1;
    text-align: center;
    padding-right: 30px; /* Vycentrování textu vůči ikoně */
}

/* Spodní lišta se sociálními sítěmi */
.social-footer {
    display: flex;
    justify-content: center;
    gap: 24px;
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-footer a {
    color: #ffffff;
    font-size: 1.5rem;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-footer a:hover {
    opacity: 1;
    transform: scale(1.15);
}

#parallax-bg {
    position: fixed;
    top: -10%; /* Extra height to allow for movement */
    left: 0;
    width: 100%;
    height: 120%; 
    background: linear-gradient(180deg, #1c1e29 0%, #12131a 100%);
    background-image: url("../source/images/HeroPCB.svg");
    background-size: 100%;
    filter: brightness(.6) blur(1px);
    background-attachment: scroll; /* We will move this via JS */
    z-index: -1;
    will-change: transform;
}

#logo {
    position: absolute;
    width: 50px;
    aspect-ratio: 1/1;
    left: 20px;
    top: 20px;
}

#logo img {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Responzivita pro mobily */
@media (max-width: 450px) {
    body {
        padding: 0;
    }
    .phone-container {
        border: none;
        border-radius: 0;
        height: 100dvh;
        max-height: 100dvh;
        max-width: 100%;
        box-shadow: none;
        justify-content: space-between;
    }

    .links-container {
        overflow-y: auto;
        padding-right: 4px; /* Odsazení pro scrollbar */
    }
}