:root {
    --gradient: linear-gradient(135deg, var(--primary), var(--accent));
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #070518, #0f0c29, #1a1642);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Logo e Texto */
.loading-logo {
    position: relative;
    margin-bottom: 40px;
}

.logo-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #00f7ff, #ff00cc, #00ff99, #00f7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate 3s linear infinite;
    position: relative;
}

.logo-circle::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: #0f0c29;
    border-radius: 50%;
    z-index: 1;
}

.logo-icon {
    font-size: 2.5rem;
    color: #00f7ff;
    z-index: 2;
    position: relative;
    text-shadow: 0 0 10px #00f7ff;
}

.loading-text {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #00f7ff, #ff00cc, #00ff99);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGlow 2s ease-in-out infinite alternate;
}

/* Loading Animation */
.loading-container {
    position: relative;
    width: 300px;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.loading-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00f7ff, #ff00cc, #00ff99);
    border-radius: 10px;
    transition: width 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.5);
}

.loading-dots {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #00f7ff;
    animation: pulse 1.5s infinite ease-in-out;
    box-shadow: 0 0 10px #00f7ff;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
    background: #ff00cc;
    box-shadow: 0 0 10px #ff00cc;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
    background: #00ff99;
    box-shadow: 0 0 10px #00ff99;
}

/* Percentual */
.loading-percent {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00f7ff;
    text-shadow: 0 0 10px #00f7ff;
    margin-bottom: 20px;
}

/* Mensagens de Carregamento */
.loading-message {
    font-size: 1.1rem;
    color: #8a8a8a;
    text-align: center;
    min-height: 30px;
    transition: opacity 0.3s ease;
}

/* Partículas de Fundo */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Percentual */
.loading-percent {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00f7ff;
    text-shadow: 0 0 10px #00f7ff;
    margin-bottom: 20px;
}

/* Mensagens de Carregamento */
.loading-message {
    font-size: 1.1rem;
    color: #8a8a8a;
    text-align: center;
    min-height: 30px;
    transition: opacity 0.3s ease;
}

/* Partículas de Fundo */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(0, 247, 255, 0.6);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
}

/* Conteúdo Principal (aparece após o loading) */
.main-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.5s;
}

.main-content.visible {
    opacity: 1;
    transform: translateY(0);
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #6e44ff, #00e5ff, #b892ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGlow 2s ease-in-out infinite alternate;
}

p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #8a8a8a;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, #00f7ff, #ff00cc);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 247, 255, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 247, 255, 0.6);
}

/* Animações */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

@keyframes textGlow {
    0% { text-shadow: 0 0 10px #00f7ff, 0 0 20px #00f7ff; }
    100% { text-shadow: 0 0 15px #00f7ff, 0 0 30px #00f7ff, 0 0 45px #ff00cc; }
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
    100% { transform: translateY(-40px) rotate(360deg); opacity: 0; }
}

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(100px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(100px) rotate(-360deg); }
}

/* Efeitos de Luz */
.light-beam {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #00f7ff, transparent);
    animation: beamMove 3s infinite linear;
}

@keyframes beamMove {
    0% { transform: translateY(-100px) rotate(0deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
}

/* Responsividade */
@media (max-width: 768px) {
.loading-text {
    font-size: 1.5rem;
}

.loading-container {
    width: 250px;
}

.logo-circle {
    width: 100px;
    height: 100px;
}

.logo-circle::before {
    width: 80px;
    height: 80px;
}

.logo-icon {
    font-size: 2rem;
}

h1 {
    font-size: 2.2rem;
}
}
    
@media (max-width: 480px) {
        .loading-text {
            font-size: 1.2rem;
        }
        
        .loading-container {
            width: 200px;
        }
        
        .logo-circle {
            width: 80px;
            height: 80px;
        }
        
        .logo-circle::before {
            width: 60px;
            height: 60px;
        }
        
        .logo-icon {
            font-size: 1.5rem;
        }
        
        .loading-percent {
            font-size: 1.2rem;
        }
        
        h1 {
            font-size: 1.8rem;
        }
        
        p {
            font-size: 1rem;
        }
    }

    