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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    overflow: hidden;
}

/* Loading Screen */
.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #0d0d0d 70%, #000000 100%);
    z-index: 1000;
    transition: opacity 1s ease-out;
}

.loading-container.fade-out {
    opacity: 0;
    pointer-events: none;
}

#particleCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

.loading-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    font-weight: bold;
    color: transparent;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24, #a55eea, #fd79a8);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite, textGlow 2s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
    letter-spacing: 0.1em;
    z-index: 10;
}

/* Main Content */
.main-content {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

.main-content.show {
    opacity: 1;
    transform: translateY(0);
}

.container {
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.main-title {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ff6b6b, #a55eea);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
    animation: titleGlow 2s ease-in-out;
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    animation: subtitleSlide 1.5s ease-out 0.5s both;
}

.options-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.option-card {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 107, 107, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: cardSlideUp 1s ease-out both;
    position: relative;
    overflow: hidden;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.1), transparent);
    transition: left 0.5s;
}

.option-card:hover::before {
    left: 100%;
}

.option-card:nth-child(1) {
    animation-delay: 0.8s;
    border-color: rgba(255, 107, 107, 0.3);
}

.option-card:nth-child(2) {
    animation-delay: 1s;
    border-color: rgba(165, 94, 234, 0.3);
}

.option-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(26, 26, 46, 0.9);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 107, 107, 0.6);
}

.option-card:nth-child(2):hover {
    border-color: rgba(165, 94, 234, 0.6);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: iconFloat 3s ease-in-out infinite;
}

.option-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ff6b6b, #a55eea);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.option-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Animações */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
    }
    50% {
        text-shadow: 0 0 50px rgba(255, 107, 107, 0.8), 0 0 70px rgba(165, 94, 234, 0.4);
    }
}

@keyframes titleGlow {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes subtitleSlide {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardSlideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .loading-text {
        font-size: 2.5rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .options-container {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .loading-text {
        font-size: 2rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .option-card {
        padding: 1.5rem;
    }
}