* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

#app {
    width: 100%;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HERO IMAGE */
.hero-image {
    width: 100%;
    height: 60vh; /* Takes up top half */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    background-size: cover;
    background-position: center 25%;
    background-color: #1a1a1a; 
}

.hero-gradient {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, transparent 0%, #000000 85%, #000000 100%);
}

.content {
    position: relative;
    z-index: 1;
    margin-top: 45vh; /* Overlap the fade */
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 680px; /* Gives the links a comfortable width on desktop */
    flex-grow: 1; 
}

/* HEADER */
.header {
    text-align: center;
    margin-bottom: 28px;
    position: relative;
}

#profile-name {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 2px;
    letter-spacing: -0.5px;
}

#profile-handle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.bio-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    margin-bottom: 20px;
    font-weight: 400;
}

.social-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    margin-bottom: 24px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.2);
}

.linkme-badge {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #ff3366, #ff7b7b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #000;
}

.linkme-badge span {
    font-size: 11px;
    font-weight: 800;
    color: white;
    letter-spacing: -.5px;
}

/* CONNECT FORM */
.connect-form {
    width: 100%;
    background-color: #ffffff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 6px;
    padding-left: 20px;
    margin-bottom: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.email-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    color: #000;
    font-weight: 500;
    background: transparent;
}

.email-input::placeholder {
    color: #999;
}

.connect-btn {
    background-color: #8c9096;
    color: #ffffff;
    border: none;
    border-radius: 40px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.connect-btn:hover {
    background-color: #7b7f84;
}

#mini-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #333;
}

/* SLEEK CUSTOMIZABLE LINKS */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.link-card {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 18px 20px;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.2s ease, background-color 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.link-card:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.link-icon {
    font-size: 22px;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
}

.link-title {
    flex: 1;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding-right: 32px; /* Offsets the icon to keep text perfectly centered */
}

/* SLEEK ENTRY ANIMATION FOR LINKS */
.fade-in {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.6s forwards cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

/* FOOTER */
.footer {
    margin-top: auto;
    padding-top: 20px;
    padding-bottom: 24px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.3);
}

.footer a {
    color: inherit;
    text-decoration: none;
    margin: 0 4px;
}

.footer a:hover {
    text-decoration: underline;
}
