/* ================================================================
   LINK IN BIO - PROFESSIONAL STYLESHEET
   ================================================================ */

/* ==================== RESET & BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 
                 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
                 sans-serif;
    background-color: #0a0e27;
    color: #ffffff;
    overflow-x: hidden;
}

/* ==================== BACKGROUND SECTION ==================== */
/* TO CHANGE BACKGROUND IMAGE:
   1. Replace the URL in 'background-image: url(...)' below
   2. Keep the 'background-size: cover' for full-screen coverage
   
   Example image URLs:
   - https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=1200&q=80
   - https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1200&q=80
   - https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1200&q=80
*/
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://i.ibb.co/mxxxR6c/pascal-debrunner-oc4-Xl315-Q8-I-unsplash.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

/* Gradient overlay for text readability */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 14, 39, 0.75) 0%,
        rgba(30, 20, 60, 0.7) 50%,
        rgba(10, 14, 39, 0.75) 100%
    );
    z-index: 1;
}

/* ==================== MAIN CONTAINER ==================== */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
    animation: fadeIn 0.8s ease-in-out;
}

/* ==================== FADE IN ANIMATION ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== PROFILE SECTION ==================== */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
    z-index: 1;
}

/* Profile Image - Circular with border */
.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

/* Username - Premium Typography */
.username {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #d0d0d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Bio Text */
.bio {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
}

/* ==================== LINKS SECTION ==================== */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 380px;
    z-index: 1;
    margin-bottom: 40px;
}

/* Link Buttons - Pill-shaped with animations */
.link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

/* Hover Effect - Premium scale and glow */
.link-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2),
                0 0 20px rgba(255, 255, 255, 0.1);
}

/* Active/Click Effect */
.link-button:active {
    transform: translateY(-1px) scale(1.01);
}

/* ==================== FOOTER ==================== */
.footer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-top: auto;
    z-index: 1;
    letter-spacing: 0.2px;
}

.footer p {
    margin: 0;
}

/* ==================== RESPONSIVE DESIGN - MOBILE ==================== */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
    }

    .profile-section {
        margin-bottom: 40px;
    }

    .profile-image {
        width: 100px;
        height: 100px;
        margin-bottom: 16px;
    }

    .username {
        font-size: 28px;
    }

    .bio {
        font-size: 14px;
    }

    .links-container {
        max-width: 300px;
        gap: 10px;
    }

    .link-button {
        padding: 14px 20px;
        font-size: 15px;
    }

    .footer {
        font-size: 11px;
    }
}

/* ==================== RESPONSIVE DESIGN - SMALL PHONES ==================== */
@media (max-width: 480px) {
    .container {
        padding: 20px 16px;
    }

    .profile-image {
        width: 90px;
        height: 90px;
        margin-bottom: 14px;
    }

    .username {
        font-size: 24px;
    }

    .bio {
        font-size: 13px;
    }

    .links-container {
        max-width: 100%;
        gap: 8px;
    }

    .link-button {
        padding: 12px 18px;
        font-size: 14px;
    }

    .profile-section {
        margin-bottom: 30px;
    }
}

/* ==================== ACCESSIBILITY ==================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==================== FOCUS STATES FOR KEYBOARD NAVIGATION ==================== */
.link-button:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

