* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: radial-gradient(ellipse at 30% 20%, #1a0a3e 0%, #0a0420 45%, #050015 100%);
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
}

#stars {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
    user-select: none;
    display: flex;
    align-items: baseline;
}

.title span {
    display: inline-block;
    position: relative;
    isolation: isolate;
    font-size: clamp(3rem, 11vw, 9rem);
    color: #ffffff;
    padding: 0 0.04em;
    cursor: default;
    transform-origin: center center;
    transition:
        transform 0.45s cubic-bezier(0.34, 1.65, 0.5, 1),
        text-shadow 0.45s ease,
        color 0.45s ease,
        letter-spacing 0.45s ease;
    text-shadow:
        0 0 6px rgba(255, 255, 255, 0.25),
        0 0 18px rgba(167, 139, 250, 0.15);
}

.title span::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.6em;
    height: 1.6em;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(196, 181, 253, 0.45) 0%,
        rgba(167, 139, 250, 0.25) 35%,
        rgba(124, 58, 237, 0.10) 55%,
        transparent 72%
    );
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
    transition:
        transform 0.55s cubic-bezier(0.34, 1.65, 0.5, 1),
        opacity 0.45s ease;
    z-index: -1;
    pointer-events: none;
    filter: blur(2px);
}

.title span:hover {
    transform: scale(1.75);
    color: #ffffff;
    text-shadow:
        0 0 14px rgba(255, 255, 255, 0.95),
        0 0 32px rgba(221, 214, 254, 0.7),
        0 0 60px rgba(167, 139, 250, 0.55),
        0 0 100px rgba(124, 58, 237, 0.35);
}

.title span:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
