/**
 * ==============================================
 * GAMES HERO SECTION CSS - EXPERIÊNCIA ÉPICA
 * ==============================================
 * 
 * Responsabilidade: Criar experiência visual épica para página de games
 * Efeitos: Partículas, Neon, Animações cinematográficas, Contadores
 * Objetivo: Apresentar a coleção de games de forma impactante
 * 
 * @package Nuntius Theme - GAMES EDITION
 * @version 1.0.0 - EPIC
 * @author Nuntius Team
 */

/* ===== GAMES HERO ÉPICO - EXPERIÊNCIA IMERSIVA ===== */
.games-hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: 
        radial-gradient(circle at 25% 25%, rgba(88, 101, 242, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(114, 137, 218, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(67, 181, 129, 0.15) 0%, transparent 60%),
        linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 30%, #16213e 60%, #0f1419 100%);
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: calc(-50px);
    padding: 80px 0;
    animation: gamesHeroBackgroundPulse 12s ease-in-out infinite;
}

/* ===== CANVAS PARA EFEITOS ESPECIAIS ===== */
.games-hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ===== LAYERS DE PROFUNDIDADE ===== */
.hero-depth-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.layer-1 {
    background: radial-gradient(circle at 40% 30%, rgba(88, 101, 242, 0.12) 0%, transparent 70%);
    animation: gamesLayerFloat1 14s ease-in-out infinite;
    z-index: 2;
}

.layer-2 {
    background: radial-gradient(circle at 60% 70%, rgba(114, 137, 218, 0.1) 0%, transparent 60%);
    animation: gamesLayerFloat2 18s ease-in-out infinite reverse;
    z-index: 3;
}

.layer-3 {
    background: radial-gradient(circle at 80% 20%, rgba(67, 181, 129, 0.08) 0%, transparent 80%);
    animation: gamesLayerFloat3 22s ease-in-out infinite;
    z-index: 4;
}

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

.games-hero-content {
    text-align: center;
    position: relative;
    z-index: 11;
}

/* ===== BREADCRUMB ÉPICO ===== */
.games-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    font-size: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.breadcrumb-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.breadcrumb-link:hover {
    color: #5865f2;
    background: rgba(88, 101, 242, 0.1);
    border-color: rgba(88, 101, 242, 0.3);
    transform: translateY(-2px);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.breadcrumb-current {
    color: #5865f2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(88, 101, 242, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(88, 101, 242, 0.3);
    font-weight: 600;
}

/* ===== LOGO + TÍTULO ÉPICO ===== */
.games-hero-title-container {
    position: relative;
    margin-bottom: 2.5rem;
}

.hero-logo-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

/* Logo Container */
.hero-logo-container {
    position: relative;
    opacity: 0;
    animation: logoEpicEntrance 2s ease-out 0.5s forwards;
}

.logo-glow-effect {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: logoGlowPulse 3s ease-in-out infinite;
    z-index: -1;
}

.hero-logo {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 10px 30px rgba(88, 101, 242, 0.5));
    transition: all 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 15px 40px rgba(88, 101, 242, 0.8));
}

.logo-particles-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.logo-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #5865f2;
    border-radius: 50%;
    animation: logoParticleFloat 4s linear infinite;
}

.logo-particle:nth-child(1) { animation-delay: 0s; top: 20%; left: 20%; }
.logo-particle:nth-child(2) { animation-delay: 1.5s; top: 60%; right: 20%; }
.logo-particle:nth-child(3) { animation-delay: 3s; bottom: 30%; left: 50%; }

/* Título Principal */
.hero-title-text {
    opacity: 0;
    animation: titleEpicEntrance 2s ease-out 0.8s forwards;
}

.games-nuntius-title {
    font-family: 'Orbitron', 'Arial Black', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 
        0 0 20px rgba(88, 101, 242, 0.8),
        0 0 40px rgba(88, 101, 242, 0.6),
        0 0 60px rgba(88, 101, 242, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 3px;
    line-height: 1.2;
    margin: 0;
    background: linear-gradient(45deg, #ffffff, #5865f2, #7289da, #ffffff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGradientShift 4s ease-in-out infinite;
}

/* ===== SUBTÍTULO COM EFEITO NEON ===== */
.games-hero-subtitle-container {
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1.5s ease-out 1s forwards;
}

.games-hero-subtitle {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.neon-text {
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(88, 101, 242, 0.8),
        0 0 20px rgba(88, 101, 242, 0.6),
        0 0 30px rgba(88, 101, 242, 0.4);
    animation: neonPulse 2s ease-in-out infinite;
}

.neon-delay-1 { animation-delay: 0.2s; }
.neon-delay-2 { 
    animation-delay: 0.4s;
    color: #43b581;
    text-shadow: 
        0 0 10px rgba(67, 181, 129, 0.8),
        0 0 20px rgba(67, 181, 129, 0.6),
        0 0 30px rgba(67, 181, 129, 0.4);
}
.neon-delay-3 { animation-delay: 0.6s; }

/* ===== DESCRIÇÃO HOLOGRÁFICA ===== */
.games-hero-description-container {
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1.5s ease-out 1.2s forwards;
}

.games-hero-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.holographic-text {
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.9), 
        rgba(88, 101, 242, 0.8), 
        rgba(114, 137, 218, 0.8), 
        rgba(255, 255, 255, 0.9)
    );
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: holographicShift 3s ease-in-out infinite;
}

.highlight-number {
    color: #43b581;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(67, 181, 129, 0.6);
}

.highlight-brand {
    color: #5865f2;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(88, 101, 242, 0.6);
}

/* ===== STATS ÉPICAS ===== */
.games-stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1.5s ease-out 1.4s forwards;
}

.games-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.games-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(88, 101, 242, 0.1), 
        transparent
    );
    transition: left 0.5s ease;
}

.games-stat-item:hover {
    transform: translateY(-10px);
    border-color: rgba(88, 101, 242, 0.4);
    background: rgba(88, 101, 242, 0.1);
    box-shadow: 0 20px 40px rgba(88, 101, 242, 0.2);
}

.games-stat-item:hover::before {
    left: 100%;
}

.stat-icon {
    font-size: 2.5rem;
    color: #5865f2;
    text-shadow: 0 0 20px rgba(88, 101, 242, 0.6);
}

.stat-content {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(88, 101, 242, 0.5);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== CTA ÉPICO ===== */
.games-hero-cta-container {
    opacity: 0;
    animation: fadeInUp 1.5s ease-out 1.6s forwards;
}

.games-hero-cta-btn {
    position: relative;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(45deg, #5865f2, #7289da);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 auto;
}

.games-hero-cta-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(88, 101, 242, 0.4);
}

.cta-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.games-hero-cta-btn:hover .cta-glow {
    transform: scale(1);
}

.cta-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: ctaPulseEffect 2s ease-out infinite;
}

/* ===== PARTÍCULAS FLUTUANTES ===== */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.particle {
    position: absolute;
    font-size: 2rem;
    opacity: 0.7;
    animation: particleFloat 15s linear infinite;
}

.particle-1 { top: 10%; left: 10%; animation-delay: 0s; }
.particle-2 { top: 20%; right: 15%; animation-delay: 3s; }
.particle-3 { top: 60%; left: 20%; animation-delay: 6s; }
.particle-4 { bottom: 30%; right: 25%; animation-delay: 9s; }
.particle-5 { top: 40%; right: 10%; animation-delay: 12s; }
.particle-6 { bottom: 20%; left: 30%; animation-delay: 15s; }

/* ===== ANIMAÇÕES ÉPICAS ===== */
@keyframes gamesHeroBackgroundPulse {
    0%, 100% { 
        background-size: 100% 100%; 
        filter: hue-rotate(0deg);
    }
    50% { 
        background-size: 110% 110%; 
        filter: hue-rotate(10deg);
    }
}

@keyframes gamesLayerFloat1 {
    0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
    33% { transform: translateX(20px) translateY(-10px) rotate(1deg); }
    66% { transform: translateX(-15px) translateY(15px) rotate(-1deg); }
}

@keyframes gamesLayerFloat2 {
    0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
    50% { transform: translateX(-25px) translateY(20px) rotate(2deg); }
}

@keyframes gamesLayerFloat3 {
    0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
    25% { transform: translateX(15px) translateY(-20px) rotate(-1deg); }
    75% { transform: translateX(-10px) translateY(10px) rotate(1deg); }
}

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

@keyframes logoEpicEntrance {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-180deg);
    }
    50% {
        transform: scale(1.2) rotate(-90deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes titleEpicEntrance {
    0% {
        opacity: 0;
        transform: translateX(-100px) rotate(-10deg);
    }
    60% {
        transform: translateX(10px) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
}

@keyframes titleGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes logoGlowPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.4; 
    }
    50% { 
        transform: scale(1.2); 
        opacity: 0.8; 
    }
}

@keyframes logoParticleFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-40px) scale(0);
        opacity: 0;
    }
}

@keyframes neonPulse {
    0%, 100% { 
        text-shadow: 
            0 0 10px rgba(88, 101, 242, 0.8),
            0 0 20px rgba(88, 101, 242, 0.6),
            0 0 30px rgba(88, 101, 242, 0.4);
    }
    50% { 
        text-shadow: 
            0 0 15px rgba(88, 101, 242, 1),
            0 0 30px rgba(88, 101, 242, 0.8),
            0 0 45px rgba(88, 101, 242, 0.6);
    }
}

@keyframes holographicShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes ctaPulseEffect {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-100px) rotate(180deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-200px) rotate(360deg);
        opacity: 0;
    }
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1200px) {
    .games-nuntius-title {
        font-size: 3rem;
    }
    
    .games-hero-subtitle {
        font-size: 2rem;
    }
    
    .games-hero-description {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .games-hero-section {
        min-height: 70vh;
        padding: 60px 0;
    }
    
    .games-hero-container {
        padding: 0 20px;
    }
    
    .hero-logo-title-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-logo {
        height: 60px;
    }
    
    .games-nuntius-title {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    
    .games-hero-subtitle {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .games-hero-description {
        font-size: 1.1rem;
    }
    
    .games-stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .games-stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .games-breadcrumb {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .games-hero-section {
        min-height: 60vh;
        padding: 40px 0;
    }
    
    .games-nuntius-title {
        font-size: 1.8rem;
    }
    
    .games-hero-subtitle {
        font-size: 1.4rem;
    }
    
    .games-hero-description {
        font-size: 1rem;
    }
    
    .games-stats-container {
        grid-template-columns: 1fr;
    }
    
    .games-hero-cta-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}