@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.welcome-text {
    font-size: 4rem;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.9);
    text-align: center;
    letter-spacing: -0.02em;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    position: relative;
    z-index: 2;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    background: linear-gradient(90deg, #0a192f, #64ffda, #7928ca, #0a192f);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 12s ease infinite;
    padding: 40px;
    margin-bottom: 60px;
    will-change: transform, letter-spacing, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
}

.welcome-text:hover {
    transform: scale(1.02) translateZ(0);
    letter-spacing: 0.01em;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.12);
    background: linear-gradient(90deg, #0a192f, #00f5d4, #805ad5, #0a192f);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 6s ease infinite;
    transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: radial-gradient(circle at center, #fff 0%, #f5f5f5 100%);
    animation: backgroundPulse 15s ease infinite;
}

.orb {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(30px);
    animation: orbFloat 20s infinite;
    opacity: 0.2;
    transition: all 0.5s ease;
}

.orb:nth-child(2) {
    animation-delay: -5s;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle at 30% 30%, rgba(200, 220, 255, 0.1) 0%, rgba(200, 220, 255, 0) 70%);
}

.welcome-message {
    position: fixed;
    top: 65%;
    left: 50%;
    font-size: 1.5rem;
    color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translate(-50%, 20px);
    transition: opacity 0.25s cubic-bezier(0.215, 0.61, 0.355, 1),
                transform 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
    pointer-events: none;
    letter-spacing: 0.02em;
    text-align: center;
    z-index: 3;
    padding: 20px 40px;
    border-radius: 16px;
    background: none;
    transform-origin: center center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    user-select: none;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.welcome-message.visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

@keyframes shine {
    0% {
        background-position: 0% center;
    }
    50% {
        background-position: 150% center;
    }
    100% {
        background-position: 300% center;
    }
}

@keyframes orbFloat {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30vw, -20vh) rotate(120deg);
    }
    66% {
        transform: translate(-20vw, 30vh) rotate(240deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes backgroundPulse {
    0%, 100% {
        background: radial-gradient(circle at center, #fff 0%, #f5f5f5 100%);
    }
    50% {
        background: radial-gradient(circle at center, #fafafa 0%, #f0f0f0 100%);
    }
}

.time-display {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    font-family: -apple-system, SF Pro Display, sans-serif;
    color: rgba(0, 0, 0, 0.85);
    font-weight: 500;
    letter-spacing: 0.01em;
    text-align: center;
    z-index: 3;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05),
                0 2px 4px rgba(0, 0, 0, 0.03),
                0 4px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 0.5px solid rgba(0, 0, 0, 0.03);
}

.time-display:hover {
    color: rgba(0, 0, 0, 0.95);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06),
                0 4px 8px rgba(0, 0, 0, 0.04),
                0 8px 16px rgba(0, 0, 0, 0.03);
    transform: translateX(-50%) translateY(-2px);
}

@media (max-width: 768px) {
    .welcome-text {
        font-size: 2.5rem;
        padding: 20px;
        margin-bottom: 30px;
        transform: translateZ(0);
    }
    .welcome-message {
        font-size: 1.2rem;
        padding: 15px 30px;
        top: 60%;
        transform: translate(-50%, 20px) translateZ(0);
    }
    .welcome-message.visible {
        transform: translate(-50%, 0) translateZ(0);
    }
    .orb {
        width: 200px;
        height: 200px;
        opacity: 0.15;
        will-change: transform;
    }
    .orb:nth-child(2) {
        width: 150px;
        height: 150px;
    }
    @keyframes orbFloat {
        0% {
            transform: translate(0, 0) rotate(0deg) translateZ(0);
        }
        33% {
            transform: translate(20vw, -15vh) rotate(120deg) translateZ(0);
        }
        66% {
            transform: translate(-15vw, 20vh) rotate(240deg) translateZ(0);
        }
        100% {
            transform: translate(0, 0) rotate(360deg) translateZ(0);
        }
    }
}