:root {
    --primary: #8a2be2;
    --secondary: #00f7ff;
    --accent: #ff00c8;
    --dark: #0a0a1a;
    --darker: #050510;
    --light: #e6f1ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--darker);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Animação de fundo futurista */
#particles-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    color: var(--secondary);
    font-size: 2.5rem;
    animation: pulse 2s infinite;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--secondary);
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.2) 0%, rgba(0, 247, 255, 0) 70%);
    border-radius: 50%;
    animation: glow 3s infinite alternate;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.5s;
}

.hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.8s;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 1.1s;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.8);
}

/* Sobre */
.about {
    padding: 120px 10%;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 80px;
    background: linear-gradient(45deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transform: perspective(1000px) rotateY(10deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.about-image img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Como funciona */
.how-it-works {
    padding: 120px 10%;
    background: rgba(5, 5, 16, 0.7);
    position: relative;
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
}

.step {
    flex: 1;
    background: rgba(20, 20, 40, 0.6);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.step.in-view {
    transform: translateY(0);
    opacity: 1;
}

.step-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
}

/* Votação */
.voting {
    padding: 120px 10%;
    position: relative;
    text-align: center;
    background: rgba(5, 5, 16, 0.7);
}

.voting-content {
    max-width: 1000px;
    margin: 0 auto;
}

.voting h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.voting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.vote-card {
    background: rgba(20, 20, 40, 0.6);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(138, 43, 226, 0.2);
    transform: translateY(50px);
    opacity: 0;
}

.vote-card.in-view {
    transform: translateY(0);
    opacity: 1;
}

.vote-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(138, 43, 226, 0.3);
}

.vote-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 15px;
}

/* Inscrições */
.register {
    padding: 120px 10%;
    position: relative;
    text-align: center;
}

.register-content {
    max-width: 800px;
    margin: 0 auto;
}

.register-form {
    background: rgba(20, 20, 40, 0.6);
    padding: 50px;
    border-radius: 20px;
    margin-top: 50px;
    border: 1px solid rgba(138, 43, 226, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.google-form-link {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.google-form-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.google-form-link:hover::before {
    left: 100%;
}

.google-form-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.8);
}

.register-note {
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--secondary);
    max-width: 600px;
}

/* Footer */
footer {
    background: var(--dark);
    padding: 70px 10% 30px;
    position: relative;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--secondary);
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul li a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-column ul li a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(138, 43, 226, 0.2);
    color: var(--secondary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    background: rgba(10, 10, 26, 0.5);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 10px;
    color: var(--light);
    font-size: 1rem;
}

.newsletter-form .cta-button {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    margin-top: 10px;
    transform: none;
    opacity: 1;
    animation: none;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(138, 43, 226, 0.2);
    color: #aaa;
}

/* Animações */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        text-shadow: 0 0 10px var(--secondary);
    }
    50% {
        transform: scale(1.1);
        text-shadow: 0 0 20px var(--secondary);
    }
    100% {
        transform: scale(1);
        text-shadow: 0 0 10px var(--secondary);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 50px rgba(138, 43, 226, 0.3);
    }
    100% {
        box-shadow: 0 0 100px rgba(0, 247, 255, 0.5);
    }
}

/* Efeitos de rolagem */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Responsividade */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .voting-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .voting-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
}