/* Animações Modernas e Melhorias Visuais */

/* Animação de fade-in ao carregar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animação de slide-in da esquerda */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animação de slide-in da direita */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animação de scale ao hover */
@keyframes scaleUp {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.05);
    }
}

/* Animação de pulse para botões */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Animação de shimmer para botões */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Aplicar animações aos elementos */
.visual img,
.heading-box,
.promo-list-wrap,
.post-box,
.post,
.aside {
    animation: fadeIn 0.8s ease-out;
}

.heading-box h1 {
    animation: slideInLeft 1s ease-out;
}

.heading-box p {
    animation: slideInRight 1s ease-out 0.2s;
    animation-fill-mode: both;
}

/* Efeitos hover nos botões */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(245, 73, 131, 0.4);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-alt {
    transition: all 0.3s ease;
    background: transparent !important;
    border: 2px solid #f54983 !important;
    color: #f54983 !important;
}

.btn-alt:hover {
    background: linear-gradient(135deg, #f54983 0%, #d41e4a 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(245, 73, 131, 0.4);
}

/* Animação nos cards de posts */
.post-box,
.post {
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.post-box:nth-child(1) { animation-delay: 0.1s; }
.post-box:nth-child(2) { animation-delay: 0.2s; }
.post:nth-child(1) { animation-delay: 0.1s; }
.post:nth-child(2) { animation-delay: 0.2s; }
.post:nth-child(3) { animation-delay: 0.3s; }
.post:nth-child(4) { animation-delay: 0.4s; }

.post-box:hover,
.post:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.post-box img,
.post img {
    transition: transform 0.5s ease;
}

.post-box:hover img,
.post:hover img {
    transform: scale(1.1);
}

/* Animação nos ícones */
.icon-box {
    transition: all 0.3s ease;
}

.promo-list li:hover .icon-box {
    transform: rotate(360deg) scale(1.2);
    color: #f54983;
}

/* Animação no vídeo */
.video-box {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.video-box:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

/* Animação no header */
#header {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(38, 46, 51, 0.95);
}

/* Animação nos links de navegação */
#nav ul li a {
    position: relative;
    transition: all 0.3s ease;
}

#nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f54983;
    transition: width 0.3s ease;
}

#nav ul li a:hover::after,
#nav ul li.active a::after {
    width: 100%;
}

#nav ul li a:hover {
    color: #f54983;
    transform: translateX(5px);
}

/* Animação nas imagens da galeria */
.gallerythumb img {
    transition: all 0.4s ease;
    filter: brightness(0.9);
}

.gallerythumb:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
    box-shadow: 0 10px 30px rgba(245, 73, 131, 0.5);
}

/* Animação no aside */
.aside {
    background: linear-gradient(135deg, rgba(245, 73, 131, 0.1) 0%, rgba(212, 30, 74, 0.1) 100%);
    transition: all 0.3s ease;
}

.aside:hover {
    background: linear-gradient(135deg, rgba(245, 73, 131, 0.15) 0%, rgba(212, 30, 74, 0.15) 100%);
    transform: translateY(-5px);
}

/* Animação nos hexágonos da promo */
.hex {
    transition: all 0.4s ease;
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.hex:nth-child(1) { animation-delay: 0.1s; }
.hex:nth-child(2) { animation-delay: 0.2s; }
.hex:nth-child(3) { animation-delay: 0.3s; }
.hex:nth-child(4) { animation-delay: 0.4s; }
.hex:nth-child(5) { animation-delay: 0.5s; }
.hex:nth-child(6) { animation-delay: 0.6s; }
.hex:nth-child(7) { animation-delay: 0.7s; }

.hex:hover {
    transform: scale(1.15) rotate(5deg);
    z-index: 10;
}

.hex img {
    transition: transform 0.4s ease;
}

.hex:hover img {
    transform: scale(1.2);
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Animação de entrada para elementos ao fazer scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efeito de parallax suave */
.visual {
    transition: transform 0.3s ease-out;
}

/* Melhorias no logo */
.logo img {
    transition: all 0.3s ease;
}

.logo:hover img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 5px 15px rgba(245, 73, 131, 0.5));
}

/* Animação no footer */
#footer {
    transition: all 0.3s ease;
}

#footer a:hover {
    color: #f54983;
    transform: translateX(5px);
    display: inline-block;
}

/* Efeito de loading melhorado */
.loader-block {
    animation: fadeOut 0.5s ease-out 1s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* Efeitos de gradiente nos botões */
.btn {
    background: linear-gradient(135deg, #f54983 0%, #d41e4a 100%);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::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:hover::before {
    left: 100%;
}

.btn-alt {
    background: transparent !important;
    border: 2px solid #f54983 !important;
    color: #f54983 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 10 !important;
    position: relative !important;
}

.btn-alt:hover {
    background: linear-gradient(135deg, #f54983 0%, #d41e4a 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
    pointer-events: auto !important;
}

/* Garantir que btn-hold funcione corretamente */
.btn-hold {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.btn-hold .btn,
.btn-hold .btn-alt {
    display: inline-block !important;
    margin: 0 10px 10px !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

/* Efeito de glassmorphism no header */
#header {
    background: rgba(38, 46, 51, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Melhorias nas imagens */
img {
    transition: all 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
}

img:hover {
    filter: brightness(1.1) contrast(1.05);
}

/* Efeito de brilho nos títulos */
h1, h2, h3 {
    text-shadow: 0 2px 10px rgba(245, 73, 131, 0.3);
}

/* Animação de float para elementos */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.promo-list li {
    animation: float 3s ease-in-out infinite;
}

.promo-list li:nth-child(1) { animation-delay: 0s; }
.promo-list li:nth-child(2) { animation-delay: 0.5s; }
.promo-list li:nth-child(3) { animation-delay: 1s; }

/* Efeito de partículas no fundo (opcional) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(245, 73, 131, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 30, 74, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

/* Melhorias no vídeo */
video {
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

video:hover {
    box-shadow: 0 15px 50px rgba(245, 73, 131, 0.3);
}

/* Efeito de neon nos links importantes */
.join-link a {
    text-shadow: 0 0 10px rgba(245, 73, 131, 0.8),
                 0 0 20px rgba(245, 73, 131, 0.6),
                 0 0 30px rgba(245, 73, 131, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

/* Melhorias nos cards */
.post-box,
.post {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(245, 73, 131, 0.1);
    transition: all 0.3s ease;
}

.post-box:hover,
.post:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(245, 73, 131, 0.3);
    box-shadow: 0 15px 35px rgba(245, 73, 131, 0.2);
}

/* Efeito de loading melhorado */
.loader-block {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

/* Animação de entrada suave para o conteúdo */
#wrapper {
    animation: fadeIn 0.8s ease-out;
}

/* Efeito de hover nos ícones SVG */
.icon {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 5px rgba(245, 73, 131, 0.3));
}

.icon:hover {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 5px 15px rgba(245, 73, 131, 0.6));
    color: #f54983;
}

/* Melhorias no footer */
#footer {
    background: linear-gradient(180deg, rgba(38, 46, 51, 0.95) 0%, rgba(26, 30, 33, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(245, 73, 131, 0.2);
}

/* Efeito de scroll suave melhorado */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Responsividade para animações */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Melhorias para mobile */
@media (max-width: 768px) {
    .btn:hover {
        transform: none;
    }
    
    .post-box:hover,
    .post:hover {
        transform: none;
    }
    
    .hex:hover {
        transform: scale(1.05);
    }
}

/* Efeito de brilho nos botões principais */
.join-link a {
    position: relative;
    overflow: hidden;
}

.join-link a::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;
}

.join-link a:hover::before {
    left: 100%;
}

/* Animação no texto do heading */
.heading-box h1 {
    background: linear-gradient(135deg, #fff 0%, #f54983 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeIn 1s ease-out;
}

/* Melhorias no container principal */
.main-container {
    position: relative;
}

.main-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(245, 73, 131, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.main-container > * {
    position: relative;
    z-index: 1;
}

