/* Estilos Premium para a página Meios de Contato */

/* Importar fontes do Google */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Exo+2:wght@300;400;600;700&display=swap');

/* Keyframes para animações */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(74, 144, 226, 0.5), 0 0 40px rgba(74, 144, 226, 0.3), 0 0 60px rgba(74, 144, 226, 0.2); }
    50% { box-shadow: 0 0 30px rgba(74, 144, 226, 0.8), 0 0 60px rgba(74, 144, 226, 0.5), 0 0 90px rgba(74, 144, 226, 0.3); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInScale {
    from {
        transform: scale(0.8) translateY(50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes particles {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes neonGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px currentColor) drop-shadow(0 0 20px currentColor);
    }
    50% {
        filter: drop-shadow(0 0 20px currentColor) drop-shadow(0 0 40px currentColor) drop-shadow(0 0 60px currentColor);
    }
}

@keyframes cardHover {
    0% {
        transform: translateY(0) scale(1);
    }
    100% {
        transform: translateY(-15px) scale(1.05);
    }
}

/* Estilo do body com background premium */
body {
    background: 
        linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #0e4b99 100%),
        url('../img/LogoAM.jpg');
    background-size: 400% 400%, cover;
    background-blend-mode: overlay;
    background-attachment: fixed;
    background-position: center;
    animation: gradient-shift 15s ease infinite;
    overflow-x: hidden;
    font-family: 'Exo 2', sans-serif;
    position: relative;
    min-height: 100vh;
    color: white;
}

/* Partículas flutuantes de fundo */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(74, 144, 226, 0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(138, 43, 226, 0.6), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(0, 255, 255, 0.9), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 0, 150, 0.7), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(74, 144, 226, 0.8), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particles 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* Elementos decorativos flutuantes */
.decorative-elements {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.decorative-elements::before,
.decorative-elements::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.decorative-elements::before {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(74, 144, 226, 0.3), rgba(138, 43, 226, 0.3));
    top: 20%;
    left: 10%;
    animation-delay: -2s;
}

.decorative-elements::after {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.2), rgba(255, 0, 150, 0.2));
    top: 60%;
    right: 15%;
    animation-delay: -4s;
}

/* Container principal */
.text-center {
    position: relative;
    z-index: 10;
    animation: slideInUp 1s ease-out;
}

/* Título principal */
h4 {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 48px;
    text-align: center;
    margin: 60px 0 50px 0;
    background: linear-gradient(45deg, #4a90e2, #8a2be2, #00ffff, #ff0096);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 2s ease infinite;
    text-shadow: 0 0 30px rgba(74, 144, 226, 0.5);
    position: relative;
}

/* Container dos contatos */
.contact-info {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 50px;
    margin: 0 auto 50px auto;
    max-width: 800px;
    position: relative;
    animation: slideInScale 1.2s ease-out, glow-pulse 3s ease-in-out infinite;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 100px rgba(74, 144, 226, 0.2),
        inset 0 0 50px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        #4a90e2, #8a2be2, #00ffff, #ff0096, #4a90e2);
    background-size: 400% 400%;
    border-radius: 32px;
    z-index: -1;
    animation: gradient-shift 3s ease infinite;
}

.contact-info::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(10, 10, 30, 0.95) 0%, 
        rgba(20, 20, 50, 0.9) 100%);
    border-radius: 30px;
    z-index: -1;
}

/* Cards de contato */
.contact-info p {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px;
    margin: 0;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 80px;
    animation: slideInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.contact-info p:nth-child(1) { animation-delay: 0.2s; }
.contact-info p:nth-child(2) { animation-delay: 0.4s; }
.contact-info p:nth-child(3) { animation-delay: 0.6s; }
.contact-info p:nth-child(4) { animation-delay: 0.8s; }
.contact-info p:nth-child(5) { animation-delay: 1.0s; }

.contact-info p::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-info p:hover {
    animation: cardHover 0.3s ease forwards;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(74, 144, 226, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
}

.contact-info p:hover::before {
    opacity: 1;
}

/* Ícones personalizados */
.contact-info i {
    font-size: 40px !important;
    animation: neonGlow 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.contact-info p:hover i {
    transform: scale(1.2) rotate(10deg);
    animation: neonGlow 1s ease-in-out infinite;
}

/* Links estilizados */
.contact-info a {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 24px !important;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px currentColor;
    letter-spacing: 1px;
    position: relative;
}

.contact-info a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.contact-info p:hover a::after {
    width: 100%;
}

/* Cores específicas das plataformas */
.contact-info p:nth-child(1) i,
.contact-info p:nth-child(1) a { color: #25D366; } /* WhatsApp */

.contact-info p:nth-child(2) i,
.contact-info p:nth-child(2) a { color: #7289DA; } /* Discord */

.contact-info p:nth-child(3) i,
.contact-info p:nth-child(3) a { color: #FF0000; } /* YouTube */

.contact-info p:nth-child(4) i,
.contact-info p:nth-child(4) a { color: #9146FF; } /* Twitch */

.contact-info p:nth-child(5) i,
.contact-info p:nth-child(5) a { color: #C13584; } /* Instagram */

/* Container "Entre em Contato" PREMIUM */
.about-me-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(20, 20, 50, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-radius: 20px;
    padding: 25px;
    max-width: 380px;
    color: #ffffff;
    z-index: 20;
    text-align: center;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(74, 144, 226, 0.2);
    animation: slideInUp 1.5s ease-out;
    transition: all 0.4s ease;
}

.about-me-container:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(74, 144, 226, 0.3);
}

.about-me-container h4 {
    font-family: 'Orbitron', monospace;
    font-size: 20px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #4a90e2, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-me-container p {
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

/* Responsividade melhorada */
@media (max-width: 768px) {
    h4 {
        font-size: 32px;
        margin: 40px 0 30px 0;
    }
    
    .contact-info {
        margin: 0 20px 30px 20px;
        padding: 30px 20px;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-info p {
        padding: 20px;
        flex-direction: column;
        gap: 10px;
        min-height: 100px;
    }
    
    .contact-info i {
        font-size: 35px !important;
    }
    
    .contact-info a {
        font-size: 20px !important;
    }
    
    .about-me-container {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 20px;
        max-width: none;
    }
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #4a90e2, #8a2be2);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #357abd, #6a1b9a);
}

/* Efeitos de entrada para o container principal */
.text-center[style*="margin-top"] {
    animation: slideInUp 1s ease-out;
} 