:root {
    --bg-color: #030305;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-1: #7b5cff;
    --accent-2: #ff2e93;
    --accent-3: #00f5a0;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

body {
    background-color: var(--bg-color);
    font-family: var(--font-main);
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    /* 3D perspective for tilt */
    /* Mobile viewport fix */
    height: 100dvh;
}

/* --- Background Blobs --- */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-1), transparent 70%);
    top: -10%;
    left: -10%;
}

@media (hover: none) and (pointer: coarse),
(max-width: 768px) {

    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }

    * {
        cursor: auto !important;
    }
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-2), transparent 70%);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-3), transparent 70%);
    top: 40%;
    left: 40%;
    opacity: 0.2;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.1);
    }
}

/* --- Custom Cursor --- */
/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {

    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    * {
        cursor: auto;
    }
}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: white;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* --- Main Layout --- */
main {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.logo {
    position: absolute;
    top: 40px;
    left: 40px;
    right: auto;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 20;
}

/* --- Glass Card 3D --- */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem 4rem;
    /* Reduced padding */
    width: 420px;
    /* Fixed width to stop jitter */
    max-width: 90vw;
    /* Responsive constraint */
    box-shadow:
        0 40px 80px -20px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
    transform: perspective(1000px);
    opacity: 0;
    max-width: 100%;
    max-height: 90vh;
}

/* ... existing code ... */

.vibe {
    font-size: 1rem;
    font-weight: 500;
    background: linear-gradient(to right, var(--accent-3), var(--accent-4));
    -webkit-background-clip: text;
    background-clip: text;
    /* Standard property */
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
    /* Ensure it has layout */
    display: inline-block;
}

.glass-card-inner {
    transform: translateZ(50px);
    /* Pop out effect */
}

/* --- Hero Elements --- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    text-align: center;
}

.profile-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: 0.5rem;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.profile-img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 0 50px rgba(0, 245, 160, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
}

.glow-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0%, var(--accent-1) 20%, var(--accent-2) 50%, var(--accent-3) 80%, transparent 100%);
    filter: blur(10px);
    opacity: 0.7;
    animation: rotateRing 8s linear infinite;
    z-index: -1;
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.name {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -2px;
    background: linear-gradient(90deg, #fff, #7b5cff, #ff2e93, #00f5a0, #fff);
    background-size: 200%;
    animation: shineText 5s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
}

@keyframes shineText {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center the text */
    gap: 10px;
    height: 1.5rem;
    /* Fixed height to prevent layout shift */
}

/* Cursor blink */
.tagline::after {
    content: '|';
    animation: blinkCursor 1s infinite;
    color: var(--accent-1);
    font-weight: 700;
}

@keyframes blinkCursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.divider {
    color: var(--accent-1);
    font-weight: 700;
}

/* --- Info Block --- */
.info-block {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.location {
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.location i {
    color: var(--accent-2);
}

.vibe {
    font-size: 1rem;
    font-weight: 500;
    background: linear-gradient(to right, #ff2e93, #7b5cff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
    display: inline-block;
}

/* --- Socials --- */
.socials {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.3rem;
    text-decoration: none;
    transition: background 0.3s;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* --- Footer --- */
footer {
    position: absolute;
    bottom: 25px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 1px;
}

/* --- Responsive Queries --- */
@media screen and (max-width: 768px) {
    .glass-card {
        padding: 2rem;
        width: 90%;
    }

    .name {
        font-size: 2.5rem;
    }

    .profile-container {
        width: 120px;
        height: 120px;
    }

    .tagline {
        font-size: 0.9rem;
        flex-direction: column;
        gap: 5px;
    }

    .divider {
        display: none;
    }

    .logo {
        top: 20px;
        left: 20px;
    }

    footer {
        bottom: 15px;
    }
}

@media screen and (max-height: 700px) {
    .glass-card {
        padding: 1.5rem;
    }

    .profile-container {
        width: 100px;
        height: 100px;
    }

    .name {
        font-size: 2rem;
    }

    .socials {
        margin-top: 1rem;
    }
}
