*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    color: #ffffff;
    background-color: #0a0a0f;
    height: 100%;
    overflow: hidden;
    user-select: none;
}

.background {
    position: fixed;
    inset: -20px;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.3);
    z-index: -2;
}

.overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(10, 10, 15, 0.6);
    z-index: -1;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.avatar {
    width: min(240px, 60vw);
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease;
}

.avatar:hover {
    transform: scale(1.02);
}

.name {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    /* text-transform: uppercase; */
    letter-spacing: 0.15em;
    margin-top: 18px;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    padding: 14px 28px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a {
    color: #00d4ff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, color 0.3s ease, filter 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    transform: scale(1.25) translateY(-2px);
    color: #ffffff;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
}

.custom-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    transition: filter 0.3s ease;
}

.social-links a:hover .custom-icon {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
}

.audio-toggle {
    margin-top: 16px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 4px 8px;
}

.audio-toggle:hover {
    color: #00d4ff;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .container {
        padding-bottom: 110px;
    }

    .avatar {
        width: min(120px, 30vw);
        border-radius: 14px;
    }

    .name {
        font-size: 1.1rem;
        margin-top: 12px;
    }

    .bottom-bar {
        gap: 6px;
        padding-bottom: 16px;
    }

    .social-links {
        gap: 18px;
        padding: 10px 20px;
    }
}

/* Small phone */
@media (max-width: 400px) {
    .social-links {
        gap: 18px;
        padding: 12px 20px;
    }

    .social-links a {
        font-size: 21px;
    }
}
