/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== Dark gray background ===== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #1a1a1a;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 420px;
}

/* ===== Card ===== */
.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 24px 32px;
}

/* ===== Profile Image ===== */
.profile-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-bottom: 20px;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Name ===== */
.name {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 8px;
    text-align: center;
}

/* ===== Description ===== */
.description {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 36px;
    text-align: center;
    letter-spacing: 0.01em;
}

/* ===== Links Container ===== */
.links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

/* ===== Link Button ===== */
.link-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 14px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #ffffff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: visible;
}

/* Button hover */
.link-btn:hover {
    transform: scale(1.02);
    background-color: rgba(255, 255, 255, 0.08);
}

.link-btn:active {
    transform: scale(0.98);
}

/* Icon styling */
.link-btn i,
.link-btn .btn-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.link-btn span {
    flex: 1;
}

/* Arrow icon */
.link-btn .btn-arrow {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
    margin-left: auto;
    opacity: 0.4;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.link-btn:hover .btn-arrow {
    opacity: 0.7;
    transform: translateX(3px);
}

/* ===== Footer ===== */
.footer {
    font-size: 11px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.05em;
    text-align: center;
    text-transform: uppercase;
}

.heart {
    color: rgba(255, 255, 255, 0.35);
    display: inline-block;
    animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
    z-index: 100;
    white-space: nowrap;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ===== Unified Animation (ALL at same time) ===== */
.card > *,
.link-btn {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

/* ===== Desktop Enhancements ===== */
@media (min-width: 768px) {
    body {
        padding: 60px 24px;
    }

    .container {
        max-width: 440px;
    }

    .card {
        padding: 56px 36px 40px;
    }

    .profile-wrapper {
        width: 130px;
        height: 130px;
        margin-bottom: 24px;
    }

    .name {
        font-size: 28px;
    }

    .description {
        font-size: 15px;
        margin-bottom: 40px;
    }

    .link-btn {
        padding: 16px 22px;
        font-size: 15px;
        border-radius: 16px;
    }

    .links {
        gap: 14px;
    }
}

/* ===== Small Mobile ===== */
@media (max-width: 380px) {
    .card {
        padding: 36px 18px 28px;
    }

    .profile-wrapper {
        width: 100px;
        height: 100px;
    }

    .name {
        font-size: 22px;
    }

    .link-btn {
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 12px;
    }
}