:root {
    --bg-color: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent-color: #6366f1;
    /* Indigo-ish */
    --accent-glow: rgba(99, 102, 241, 0.5);
    --font-main: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body,
html {
    height: 100%;
    width: 100%;
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow: hidden;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
    z-index: 1;
}

.content {
    text-align: center;
    z-index: 2;
    animation: fadeIn 1.5s ease-out forwards;
    padding: 2rem;
}

.main-title {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -2px;
    color: #2ebd4f;
    margin-bottom: 1rem;
    position: relative;
    animation: glitchToRed 1.8s ease-out 0.9s forwards;
}

.dots {
    display: inline-block;
    animation: pulse 2s infinite ease-in-out;
}

.subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    opacity: 0;
    animation: slideUp 1s ease-out 0.5s forwards;
}

.loading-dot {
    opacity: 0;
    animation: loadingFade 1.5s infinite;
}

.loading-dot:nth-child(1) {
    animation-delay: 0s;
}

.loading-dot:nth-child(2) {
    animation-delay: 0.3s;
}

.loading-dot:nth-child(3) {
    animation-delay: 0.6s;
}

/* Background Elements */
.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(80px);
    z-index: -1;
    animation: breathe 8s infinite alternate;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes breathe {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.15;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.25;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes glitchToRed {
    0% {
        color: #2ebd4f;
        opacity: 1;
        transform: skew(0deg);
        filter: blur(0px);
    }

    45% {
        color: #2ebd4f;
        opacity: 1;
        transform: skew(0deg);
        filter: blur(0px);
    }

    46% {
        color: #2ebd4f;
        opacity: 0.8;
        transform: skew(10deg) translate(2px, 2px);
        text-shadow: -2px 0 #ff3333;
        filter: blur(1px);
    }

    47% {
        color: #ff3333;
        opacity: 0.5;
        transform: skew(-10deg) translate(-2px, -2px);
        text-shadow: 2px 0 #2ebd4f;
    }

    48% {
        opacity: 0;
        transform: scale(1.1);
        filter: blur(4px);
    }

    55% {
        opacity: 0;
        transform: scale(1);
    }

    60% {
        color: #ff3333;
        opacity: 1;
        transform: skew(0deg);
        filter: blur(0px);
        text-shadow: 0 0 30px rgba(255, 51, 51, 0.8);
    }

    70% {
        text-shadow: 0 0 10px rgba(255, 51, 51, 0.5);
    }

    100% {
        color: #ff3333;
        opacity: 1;
        text-shadow: 0 0 2px rgba(255, 51, 51, 0.3);
    }
}

@keyframes loadingFade {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1rem;
    }
}