* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Mono', monospace;
    background: #0a0a0a;
    color: #ffffff;
    overflow: hidden;
    height: 100vh;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid #8a2be2;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
    border-top-color: #b347d9;
    animation-duration: 2s;
    animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
    width: 40px;
    height: 40px;
    top: 20px;
    left: 20px;
    border-top-color: #d671e8;
    animation-duration: 1s;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.welcome-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a1a 50%, #0a0a0a 100%);
}

.background-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.circuit-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, rgba(138, 43, 226, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(138, 43, 226, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: circuitMove 20s linear infinite;
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #8a2be2;
    border-radius: 50%;
    animation: float 10s infinite linear;
    box-shadow: 0 0 6px #8a2be2;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes circuitMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.welcome-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    padding: 40px;
}

.logo-container {
    margin-bottom: 30px;
    animation: logoGlow 3s ease-in-out infinite alternate;
}

.main-logo {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.5));
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.5));
    }
    100% {
        filter: drop-shadow(0 0 30px rgba(138, 43, 226, 0.8));
    }
}

.welcome-text {
    margin-bottom: 40px;
}

.main-title {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.8);
    margin-bottom: 10px;
    letter-spacing: 3px;
    animation: titlePulse 2s ease-in-out infinite alternate;
}

@keyframes titlePulse {
    0% {
        text-shadow: 0 0 20px rgba(138, 43, 226, 0.8);
    }
    100% {
        text-shadow: 0 0 30px rgba(138, 43, 226, 1), 0 0 40px rgba(138, 43, 226, 0.5);
    }
}

.subtitle {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    color: #8a2be2;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.description {
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.action-container {
    margin-bottom: 30px;
}

.start-button {
    position: relative;
    background: linear-gradient(45deg, #8a2be2, #9932cc);
    border: 2px solid #8a2be2;
    color: #ffffff;
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    overflow: hidden;
}

.start-button:hover {
    background: linear-gradient(45deg, #9932cc, #8a2be2);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.6);
    transform: translateY(-2px);
}

.start-button:active {
    transform: translateY(0);
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.start-button:hover .button-glow {
    left: 100%;
}

.footer-text {
    font-size: 0.8rem;
    color: #666666;
    font-style: italic;
}

/* Responsividade */
@media (max-width: 768px) {
    .welcome-content {
        padding: 20px;
    }
    
    .main-logo {
        width: 150px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .start-button {
        font-size: 1rem;
        padding: 12px 30px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .main-logo {
        width: 120px;
    }
    
    .start-button {
        font-size: 0.9rem;
        padding: 10px 25px;
    }
}

