:root {
    --primary: #6366f1;
    --secondary: #8b5cf6;
    --bg: #f8fafc;
    --card: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 25px -5px rgba(99, 102, 241, 0.1), 0 8px 10px -6px rgba(99, 102, 241, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 580px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 32px;
}

.avatar-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 20px;
    padding: 5px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: white;
    border: 4px solid white;
}
.crown-badge{
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary);
    color: white;
    padding: 4px;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.name {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.username {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.bio {
    color: var(--muted);
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

/* Action Buttons */
.actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.btn-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 85px;
    height: 85px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.btn-action span {
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-action svg {
    color: var(--primary);
}

.btn-action:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

/* Links List */
.links-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow);
}

.link-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 12px;
    margin-right: 16px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.link-icon img {
    width: 24px;
    height: 24px;
}

.link-title {
    flex-grow: 1;
    font-weight: 600;
    font-size: 1.05rem;
}

.link-arrow {
    color: var(--muted);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.link-card:hover {
    transform: scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.link-card:hover .link-icon {
    background: var(--primary);
    color: white;
}

.link-card:hover .link-arrow {
    transform: translateX(5px);
    color: var(--primary);
    opacity: 1;
}

/* Footer */
.footer {
    margin-top: auto;
    text-align: center;
    padding: 20px;
    color: var(--muted);
    font-size: 0.9rem;
}

.brand-link {
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
}

/* Toast */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    z-index: 1000;
    transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.toast.show {
    bottom: 40px;
}

/* Ripple Effect */
.ripple-element {
    position: absolute;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .container {
        padding: 30px 15px;
    }
    .btn-action {
        width: 100%;
        height: 70px;
        flex-direction: row;
        gap: 10px;
    }
    .btn-action span {
        margin-top: 0;
    }
}