/**
 * ===================================
 * HOME CONTACT SECTION - CINEMATOGRÁFICO
 * ===================================
 * 
 * CSS épico inspirado em About e Serviços
 * Efeitos: Glass morphism, Neon, Depth layers, Animations
 * 
 * @package Nuntius Theme
 * @version 2.0.0 EPIC
 */

/* ===== SEÇÃO PRINCIPAL ===== */
.home-contact-epic {
    position: relative;
    margin-top: var(--section-margin-overlap); /* Sobreposição suave */
    margin-left: calc(-50vw + 50%);
    padding: var(--section-padding-top) 0 var(--section-padding-bottom); /* Usa variáveis globais */
    background: 
        radial-gradient(circle at 30% 50%, rgba(88, 101, 242, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(67, 181, 129, 0.12) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a0f 0%, #16213e 50%, #0a0a0f 100%);
    overflow: hidden;
    width: 100vw;
}

/* ===== CANVAS PARTICLES ===== */
.contact-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

/* ===== DEPTH LAYERS ===== */
.contact-depth-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.contact-depth-layer.layer-1 {
    background: radial-gradient(circle at 20% 30%, rgba(88, 101, 242, 0.1) 0%, transparent 60%);
    animation: contactDepthFloat1 15s ease-in-out infinite;
}

.contact-depth-layer.layer-2 {
    background: radial-gradient(circle at 80% 70%, rgba(114, 137, 218, 0.08) 0%, transparent 60%);
    animation: contactDepthFloat2 18s ease-in-out infinite reverse;
}

.contact-depth-layer.layer-3 {
    background: radial-gradient(circle at 50% 50%, rgba(67, 181, 129, 0.06) 0%, transparent 70%);
    animation: contactDepthFloat3 20s ease-in-out infinite;
}

@keyframes contactDepthFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.1; }
    50% { transform: translate(25px, -25px) scale(1.08); opacity: 0.15; }
}

@keyframes contactDepthFloat2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.08; }
    50% { transform: translate(-20px, 20px) rotate(3deg); opacity: 0.12; }
}

@keyframes contactDepthFloat3 {
    0%, 100% { transform: scale(1) translateY(0); opacity: 0.06; }
    50% { transform: scale(1.05) translateY(-15px); opacity: 0.1; }
}

/* ===== CONTAINER ===== */
.contact-container {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== HEADER CINEMATOGRÁFICO ===== */
.contact-header-cinematic {
    text-align: center;
    margin-bottom: 80px;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid #5865F2;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #5865F2;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: badgePulse 3s ease-in-out infinite;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #5865F2;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 10px rgba(88, 101, 242, 0.3); }
    50% { box-shadow: 0 0 20px rgba(88, 101, 242, 0.6); }
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.contact-epic-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin: 0 0 30px;
    line-height: 1.1;
}

.neon-gradient {
    background: linear-gradient(135deg, #5865F2, #7289DA, #43B581);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 
        0 0 30px rgba(88, 101, 242, 0.8),
        0 0 60px rgba(88, 101, 242, 0.5);
    animation: neonPulse 3s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% { 
        filter: brightness(1);
        text-shadow: 
            0 0 30px rgba(88, 101, 242, 0.8),
            0 0 60px rgba(88, 101, 242, 0.5);
    }
    50% { 
        filter: brightness(1.2);
        text-shadow: 
            0 0 40px rgba(88, 101, 242, 1),
            0 0 80px rgba(88, 101, 242, 0.7);
    }
}

.title-separator {
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #5865F2, #7289DA, #43B581, transparent);
    margin: 0 auto 30px;
    border-radius: 10px;
    animation: separatorGlow 3s ease-in-out infinite;
}

@keyframes separatorGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(88, 101, 242, 0.5); }
    50% { box-shadow: 0 0 25px rgba(88, 101, 242, 0.8); }
}

.contact-epic-subtitle {
    font-size: 1.3rem;
    color: #B9BBBE;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.contact-epic-subtitle .highlight {
    color: #5865F2;
    font-weight: 700;
}

/* ===== CONTACT CARDS GRID - GLASS MORPHISM ===== */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 80px;
    max-width: 100%;
}

.contact-card-glass {
    position: relative;
    background: rgba(47, 49, 54, 0.5);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(88, 101, 242, 0.3);
    border-radius: 25px;
    padding: 35px 20px;
    text-align: center;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 0; /* Previne overflow */
}

.contact-card-glass:hover {
    transform: translateY(-10px);
    border-color: rgba(88, 101, 242, 0.8);
    box-shadow: 
        0 20px 60px rgba(88, 101, 242, 0.4),
        inset 0 0 40px rgba(88, 101, 242, 0.1);
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.contact-card-glass:hover .card-glow {
    transform: translate(-50%, -50%) scale(1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 20px rgba(88, 101, 242, 0.6));
    transition: transform 0.3s ease;
}

.contact-card-glass:hover .card-icon {
    transform: scale(1.15) rotateY(360deg);
}

.card-title {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-email {
    display: inline-block;
    color: #7289DA;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 6px 12px;
    background: rgba(114, 137, 218, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    word-break: break-word; /* Quebra email longo */
}

.card-email:hover {
    background: rgba(114, 137, 218, 0.2);
    color: #fff;
    transform: scale(1.05);
}

.card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: cardShine 6s linear infinite;
    pointer-events: none;
}

@keyframes cardShine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* ===== SOCIAL SECTION ===== */
.contact-social-section {
    margin-bottom: 60px;
    text-align: center;
}

.social-title {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.social-icon-text {
    font-size: 2rem;
    filter: drop-shadow(0 0 15px rgba(88, 101, 242, 0.8));
}

.social-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-btn {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(47, 49, 54, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.social-btn:hover {
    transform: scale(1.15) translateY(-5px);
}

.social-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, currentColor 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.social-btn:hover .social-glow {
    opacity: 0.3;
}

/* Social Colors */
.social-btn.twitter:hover { border-color: #1DA1F2; color: #1DA1F2; box-shadow: 0 0 30px rgba(29, 161, 242, 0.6); }
.social-btn.facebook:hover { border-color: #4267B2; color: #4267B2; box-shadow: 0 0 30px rgba(66, 103, 178, 0.6); }
.social-btn.linkedin:hover { border-color: #0077B5; color: #0077B5; box-shadow: 0 0 30px rgba(0, 119, 181, 0.6); }
.social-btn.youtube:hover { border-color: #FF0000; color: #FF0000; box-shadow: 0 0 30px rgba(255, 0, 0, 0.6); }
.social-btn.instagram:hover { border-color: #E1306C; color: #E1306C; box-shadow: 0 0 30px rgba(225, 48, 108, 0.6); }
.social-btn.tiktok:hover { border-color: #000; color: #fff; box-shadow: 0 0 30px rgba(255, 255, 255, 0.6); }
.social-btn.steam:hover { border-color: #00ADEE; color: #00ADEE; box-shadow: 0 0 30px rgba(0, 173, 238, 0.6); }

/* ===== CTA BUTTONS ÉPICOS ===== */
.contact-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-btn i {
    font-size: 1.5rem;
    z-index: 2;
}

.btn-text {
    z-index: 2;
}

.btn-bg-glow {
    position: absolute;
    inset: 0;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.cta-btn:hover .btn-bg-glow {
    opacity: 1;
}

/* Discord Button */
.discord-epic {
    background: linear-gradient(135deg, #5865F2, #7289DA);
    border: 2px solid #5865F2;
    color: #fff;
}

.discord-epic:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(88, 101, 242, 0.6);
}

/* Gamer Button */
.gamer-epic {
    background: linear-gradient(135deg, #FAA61A, #F04747);
    border: 2px solid #FAA61A;
    color: #fff;
}

.gamer-epic:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(250, 166, 26, 0.6);
}

.btn-particles {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-btn:hover .btn-particles {
    opacity: 1;
    animation: particlesExpand 1.5s ease-out infinite;
}

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

/* ===== SCROLL REVEAL ===== */
.reveal-hidden {
    opacity: 0;
}

.revealed.reveal-fade-up {
    animation: revealFadeUp 0.8s ease forwards;
}

.revealed.reveal-zoom-in {
    animation: revealZoomIn 0.6s ease forwards;
}

@keyframes revealFadeUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealZoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .home-contact-epic {
        padding: 60px 0 80px;
    }
    
    .contact-container {
        padding: 0 20px;
    }
    
    .contact-header-cinematic {
        margin-bottom: 50px;
    }
    
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 50px;
    }
    
    .contact-cta-buttons {
        flex-direction: column;
        gap: 20px;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .social-grid {
        gap: 15px;
    }
    
    .social-btn {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}


