/* Efeitos modernos adicionais */

/* Glassmorphism avançado */
.glass-effect {
    background: rgba(19, 21, 27, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Gradientes animados */
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animated-gradient {
    background: linear-gradient(-45deg, var(--primary-color), var(--tertiary-color), var(--secondary-color), var(--primary-color));
    background-size: 400% 400%;
    animation: gradient-shift 3s ease infinite;
}

/* Efeito de brilho nos botões */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-shine:hover::before {
    left: 100%;
}

/* Cards com hover 3D - REMOVIDO */
/* .card-3d {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.card-3d:hover {
    transform: translateY(-8px) rotateX(5deg);
} */

/* Efeito de pulso */
@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 5px var(--primary-color);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 20px var(--primary-color);
        transform: scale(1.05);
    }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Efeito de entrada escalonada */
.stagger-fade-in > * {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.stagger-fade-in > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-fade-in > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-fade-in > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-fade-in > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-fade-in > *:nth-child(5) { animation-delay: 0.5s; }

/* Efeito de texto digitado */
@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

.typewriter {
    overflow: hidden;
    border-right: 2px solid var(--primary-color);
    white-space: nowrap;
    animation: typewriter 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-color); }
}

/* Efeito de partículas mais elaborado */
.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.4;
    animation: float-particle 8s ease-in-out infinite;
}

@keyframes float-particle {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.4;
    }
    25% { 
        transform: translateY(-20px) translateX(10px) rotate(90deg);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-40px) translateX(-5px) rotate(180deg);
        opacity: 0.6;
    }
    75% { 
        transform: translateY(-20px) translateX(-15px) rotate(270deg);
        opacity: 0.9;
    }
}

/* Efeito de hover com borda animada */
.border-animate {
    position: relative;
    overflow: hidden;
}

.border-animate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
}

.border-animate:hover::before {
    left: 0;
}

/* Efeito de destaque nos números */
.highlight-number {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: 0 0 10px var(--primary-color);
}

/* Efeito de hover nos cards de ganhadores */
.winner-card {
    position: relative;
    overflow: hidden;
}

.winner-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transition: left 0.5s ease;
}

.winner-card:hover::after {
    left: 100%;
}

/* Efeito de loading moderno */
.modern-loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--primary-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Efeito de destaque nos títulos */
.title-highlight {
    position: relative;
    display: inline-block;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.title-highlight:hover::after {
    transform: scaleX(1);
}

/* Responsividade para efeitos */
@media (max-width: 768px) {
    .floating-particles {
        display: none;
    }
    
    .card-3d:hover {
        transform: translateY(-4px);
    }
    
    .stagger-fade-in > * {
        animation-delay: 0.1s !important;
    }
}

/* Efeito de scroll suave */
html {
    scroll-behavior: smooth;
}

/* Efeito de foco melhorado */
.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-color);
    border-radius: 8px;
}

/* Efeito de hover nos links */
.link-hover {
    position: relative;
    transition: color 0.3s ease;
}

.link-hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.link-hover:hover::after {
    width: 100%;
} 