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

body {
    height: 100vh;
    background: 
        radial-gradient(circle at 20% 80%, rgba(76, 201, 240, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(247, 37, 133, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(67, 97, 238, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, var(--dark-bg) 0%, #111827 50%, #0f172a 100%);
    color: var(--text-primary);
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    overflow: hidden;
    position: relative;
}

.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-text {
    margin-top: 2rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    font-weight: 300;
    animation: fadeInOut 2s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.loading-container.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 100px;
    height: 100px;
    position: relative;
}

.loader-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1.4s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    box-shadow: 0 0 20px rgba(76, 201, 240, 0.3);
}

.loader-circle:nth-child(2) {
    border: 3px solid transparent;
    border-top: 3px solid var(--secondary);
    animation: spin 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite reverse;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    box-shadow: 0 0 15px rgba(247, 37, 133, 0.3);
}

.loader-circle:nth-child(3) {
    border: 3px solid transparent;
    border-top: 3px solid var(--accent);
    animation: spin 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    box-shadow: 0 0 10px rgba(67, 97, 238, 0.3);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.content {
    opacity: 0;
    transition: opacity 1s ease;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.content.fade-in {
    opacity: 1;
}

.logo-container {
    max-width: 500px;
    padding: 3.5rem;
    border-radius: 24px;
    background: var(--dark-card);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.content.fade-in .logo-container {
    transform: translateY(0);
}

.logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    z-index: 1;
}

.logo-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(76, 201, 240, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(247, 37, 133, 0.1) 0%, transparent 50%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.logo-container:hover::after {
    opacity: 1;
}

.logo-wrapper {
    position: relative;
    margin-bottom: .1rem;
}

.logo {
    width: 140px;
    height: 75px;
    object-fit: contain;
    /*filter: brightness(0) invert(1);*/
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 90px;
    background: radial-gradient(circle, rgba(76, 201, 240, 0.3) 0%, transparent 70%);
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.logo-container:hover .logo {
    transform: scale(1.08);
}

.logo-container:hover .logo-glow {
    opacity: 1;
}

h2 {
    font-weight: 400;
    letter-spacing: 2px;
    margin-top: 1.5rem;
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 25%;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
    border-radius: 2px;
}

.tagline, .main-content {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.6;
}

.pulse-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    margin: 0 8px;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px rgba(76, 201, 240, 0.5);
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.8;
    }
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    opacity: 0.1;
    border-radius: 50%;
    animation: float 25s infinite linear;
    filter: blur(1px);
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -200px;
    right: -150px;
    animation-duration: 30s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: -120px;
    left: -120px;
    animation-duration: 25s;
    animation-delay: 3s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    top: 30%;
    left: 15%;
    animation-duration: 35s;
    animation-delay: 1s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: var(--primary);
    bottom: 25%;
    right: 8%;
    animation-duration: 28s;
    animation-delay: 4s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(40px, 30px) rotate(120deg) scale(1.1);
    }
    66% {
        transform: translate(-30px, 40px) rotate(240deg) scale(0.9);
    }
    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
    }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: particle-float 20s infinite linear;
}

@keyframes particle-float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .logo-container {
        max-width: 90%;
        padding: 2.5rem 1.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .logo {
        width: 120px;
        height: 64px;
    }
    
    .logo-glow {
        width: 140px;
        height: 75px;
    }
}

a {
    text-decoration: none;
}

a img {
    border: none;
}