body.dark{
    background:#0F172A;
    color:white;
}

body.dark .hero-card{
    background:rgba(20,20,30,.75);
    color:white;
}

body.dark p{
    color:#CBD5E1;
}

body.dark .icon-btn{
    background:#1E293B;
    color:white;
}

body.dark .link{
    background:#7C3AED;
}

.logo {
    display: flex;
    position: absolute;
}

.logo img {
    width: 30%;
    height: 20%;
}

.nav-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.icon-btn {
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .3s;
    color: #333;
    text-decoration: none;
}

.icon-btn:hover {
    transform: translateY(-4px);
    background: var(--primary);
    color: #333;
}


body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
    font-family: 'DM Sans', sans-serif;
    background: linear-gradient(135deg,
            #EEF2FF 0%,
            #F8FAFC 45%,
            #EDE9FE 100%);
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    width: 420px;
    height: 420px;
    left: -120px;
    top: -100px;
    border-radius: 50%;
    background: #7C3AED;
    opacity: .18;
    filter: blur(120px);
    animation: blob1 12s ease-in-out infinite alternate;
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    width: 380px;
    height: 380px;
    right: -100px;
    bottom: -80px;
    border-radius: 50%;
    background: #2563EB;
    opacity: .15;
    filter: blur(120px);
    animation: blob2 14s ease-in-out infinite alternate;
    z-index: -2;
}

@keyframes blob1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(80px, 60px) scale(1.25);
    }
}

@keyframes blob2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-80px, -50px) scale(1.2);
    }
}

.hero-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, .58);
    backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, .5);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, .08),
        0 0 50px rgba(103, 61, 230, .10);
}

.hero-card::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 600px;
    background: rgba(255, 255, 255, .25);
    transform: rotate(25deg);
    top: -180px;
    left: -250px;
    transition: 1s;
}

.hero-card:hover::before {
    left: 900px;
}

@keyframes floating {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}

h1 {
    font-size: 46px;
    font-weight: 700;
    margin-top: 0px;
    margin-bottom: 0px;
    background: linear-gradient(90deg,
            #673DE6,
            #3B82F6,
            #9333EA,
            #673DE6);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradient 8s linear infinite;
}

@keyframes textGradient {
    100% {
        background-position: 300%;
    }
}

.top-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    z-index: 0;
}

.top-wave svg {
    display: block;
    width: 100%;
    height: 280px;
}

.content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.profile-wrapper {
    position: relative;
    display: inline-block;
    animation: floating 5s ease-in-out infinite;
    margin-bottom: 25px;
}

.open-badge {
    position: absolute;
    top: -12px;
    right: -35px;
    background: #16a34a;
    color: white;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(22, 163, 74, .35);
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(22, 163, 74, .55);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 16px rgba(22, 163, 74, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
    }
}

.profile-image {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .18);
    transition: all .4s ease;
}

.profile-image:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 25px 60px rgba(103, 61, 230, .35);
}

.hero-card {
    width: 90%;
    max-width: 700px;
    padding: 50px 40px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, .35);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, .08),
        inset 0 1px 0 rgba(255, 255, 255, .65);
    text-align: center;
    transition: .35s;
}

.hero-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 80px rgba(103, 61, 230, .18);
}

.hero-card {
    animation: fadeUp .9s ease;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.link {
    display: inline-block;
    margin: 10px;
    padding: 10px 18px;
    border-radius: 12px;
    background: #673DE6;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: .3s;
}

.link.active {
    background: orangered;
}

.link:hover {
    background: #4f27cf;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(103, 61, 230, .35);
}

p {
    font-size: 19px;
    color: #6B7280;
    margin-bottom: 5px;
    line-height: 1.8;
}