:root {
    --bg-dark: #00050f;
    --accent: #0ea5e9;
    --accent-glow: #38bdf8;
    --accent-deep: #0369a1;
    --glass: rgba(14, 165, 233, 0.06);
    --glass-border: rgba(56, 189, 248, 0.18);
    --text: #ffffff;
    --text-dim: #94a3b8;
    --text-faint: #475569;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
    padding: 50px 20px;
}

.icon-boxx img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.custom-iconn {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.bg-video {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.4;
}

.container {
    width: 100%;
    max-width: 420px;
    z-index: 1;
}

.profile {
    margin-bottom: 40px;
    text-align: center;
}

.profile-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-img {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
    border: 2px solid rgba(56, 189, 248, 0.4);
    box-shadow:
        0 0 12px rgba(14, 165, 233, 0.5),
        0 0 30px rgba(14, 165, 233, 0.2);
}

.rotating-border {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        transparent 0%,
        #0c1a2e 4%,
        #1e3a5f 10%,
        #0369a1 22%,
        #0ea5e9 45%,
        #38bdf8 65%,
        #bae6fd 78%,
        #ffffff 84%,
        rgba(255,255,255,0.3) 89%,
        transparent 94%,
        transparent 100%
    );
    animation: rotate 9s linear infinite;
    filter: drop-shadow(0 0 6px rgba(14, 165, 233, 0.9))
            drop-shadow(0 0 12px rgba(56, 189, 248, 0.5));
}

.rotating-border::before {
    content: '';
    position: absolute;
    inset: 5px;
    background: var(--bg-dark);
    border-radius: 50%;
    z-index: 1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

h1 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.verified-badge {
    color: var(--accent);
    font-size: 1rem;
    margin-left: 5px;
    filter: drop-shadow(0 0 4px rgba(14, 165, 233, 0.8));
}

.bio {
    font-size: 0.95rem;
    color: var(--text-dim);
    margin-top: 10px;
}

.bio span {
    color: var(--text-faint);
    font-size: 0.85rem;
}

.links-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.link-card {
    position: relative;
    display: flex;
    align-items: center;
    padding: 14px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    backdrop-filter: blur(14px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 0 20px rgba(14, 165, 233, 0.05);
}

.link-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(56, 189, 248, 0.12),
        rgba(255, 255, 255, 0.06),
        transparent
    );
    transition: 0.6s;
}

.link-card:hover::after {
    left: 100%;
}

.link-card:hover {
    transform: scale(1.03) translateY(-2px);
    background: rgba(14, 165, 233, 0.12);
    border-color: var(--accent);
    box-shadow:
        0 8px 32px -8px rgba(14, 165, 233, 0.5),
        0 0 60px -20px rgba(56, 189, 248, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 0 20px rgba(14, 165, 233, 0.08);
}

.icon-boxx {
    width: 45px;
    height: 45px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-size: 1.3rem;
    color: var(--clr, var(--accent));
    transition: 0.3s;
}

.icon-box {
    width: 45px;
    height: 45px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-size: 1.3rem;
    color: var(--clr, var(--accent));
    transition: 0.3s;
}

.link-card:hover .icon-box {
    background: var(--clr, var(--accent));
    border-color: transparent;
    color: white;
    box-shadow: 0 0 16px rgba(14, 165, 233, 0.6);
}

.arrow {
    margin-left: auto;
    font-size: 0.8rem;
    opacity: 0.25;
    color: var(--accent-glow);
    transition: 0.3s;
}

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

.share-btn {
    width: 100%;
    margin-top: 40px;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    background: rgba(14, 165, 233, 0.15);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
    box-shadow:
        0 0 20px rgba(14, 165, 233, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.share-btn:hover {
    transform: translateY(-3px);
    background: rgba(14, 165, 233, 0.28);
    border-color: var(--accent);
    box-shadow:
        0 12px 28px rgba(14, 165, 233, 0.35),
        0 0 60px rgba(56, 189, 248, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.footer-credit {
    text-align: center;
    margin-top: 30px;
    font-size: 0.75rem;
    color: rgba(56, 189, 248, 0.45);
    letter-spacing: 1.5px;
    font-variant: small-caps;
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.4);
}
