/* Fire Transition Effect */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--cor-fundo); 
    overflow: hidden;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 2;
    transition: opacity 0.5s;
}

.splash-logo {
    width: 250px; 
    filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.4));
}

.splash-text {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    background: var(--gradiente-texto);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.5));
}

.click-to-enter-text {
    margin-top: 40px; 
    font-size: 18px; 
    font-weight: 500; 
    color: var(--cor-primaria); 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    animation: pulseText 2s infinite ease-in-out;
}

/* MASSIVE EPIC FIRE RING */
.fire-ring {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: transparent;
    
    /* Layer 1: The Dark, Thick Trail and Ambient Glow */
    border: 90px solid rgba(4, 120, 87, 0.4); /* Dark Emerald fading */
    box-shadow: 
        0 0 400px 200px rgba(16, 185, 129, 0.8), /* Massive green ambient flare */
        inset 0 0 150px 100px rgba(5, 150, 105, 0.9), /* Darker green trailing inner */
        inset 0 0 500px 400px rgba(0, 0, 0, 1); /* Absolute pitch black void trail */
    
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 100000;
    filter: url(#burnFilter) brightness(1.2) contrast(1.5);
}

/* Layer 2: The Bright Emerald Roaring Flame */
.fire-ring::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 40px solid #34d399; /* Vibrant Neon Green */
    box-shadow: 
        0 0 200px 100px #6ee7b7, /* Outer bright glare */
        inset 0 0 100px 50px #10b981; /* Inner heat */
}

/* Layer 3: The White-Hot Core */
.fire-ring::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 20px); height: calc(100% + 20px); /* Slightly protruding for edge tips */
    border-radius: 50%;
    border: 15px solid #ffffff; /* Searing White Core */
    box-shadow: 
        0 0 100px 40px #ffffff,
        inset 0 0 50px 20px #ffffff;
}

/* Epic Enter Animations pulling from below */
.epic-enter {
    animation: pullUpEpic 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-play-state: paused;
    opacity: 0;
    transform: translateY(200px);
}

.delay-epic-1 { animation-delay: 0s; }
.delay-epic-2 { animation-delay: 0.2s; }
.delay-epic-3 { animation-delay: 0.4s; }

@keyframes pullUpEpic {
    0% {
        opacity: 0;
        transform: translateY(200px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseText {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1); 
        filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.5)); 
    }
    50% { 
        opacity: 0.5; 
        transform: scale(0.98); 
        filter: drop-shadow(0 0 2px rgba(16, 185, 129, 0.1)); 
    }
}


/* Home Page Styles Premium */
.home-hero {
    text-align: center;
    padding: 80px 20px 40px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0; /* Começa invisível para esperar o splash */
}

.home-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    font-size: 0;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    filter: blur(50px);
    z-index: -1;
}

.logo-hero {
    height: 160px; /* Aumentado de forma agressiva */
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.2));
}

.home-hero h2 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--cor-branco);
}

.home-hero h2 span {
    background: var(--gradiente-texto);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.home-hero p {
    font-size: 20px;
    color: var(--cor-texto-mutado);
    margin-bottom: 50px;
    max-width: 650px;
    line-height: 1.7;
}

/* Home Grid Sections */
.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-bottom: 60px;
    padding: 0 10px;
    opacity: 0;
}

.home-section h2 {
    font-size: 22px;
    color: var(--cor-branco);
    margin-bottom: 15px;
    font-weight: 700;
}

/* Divider fade */
.home-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    width: 100%;
    margin: 30px auto 60px;
    opacity: 0;
}

@media (max-width: 768px) {
    .splash-logo { width: 160px; }
    .splash-text { font-size: 32px; }
    .click-to-enter-text { font-size: 14px; margin-top: 25px; }

    /* Scale down epic fire properties for mobile */
    .fire-ring {
        border-width: 20px;
        box-shadow: 
            0 0 50px 20px rgba(16, 185, 129, 0.6),
            inset 0 0 40px 20px rgba(5, 150, 105, 0.8),
            inset 0 0 100px 50px rgba(0, 0, 0, 1);
    }
    .fire-ring::before {
        border-width: 10px;
        box-shadow: 
            0 0 40px 20px #6ee7b7,
            inset 0 0 30px 10px #10b981;
    }
    .fire-ring::after {
        border-width: 4px;
        width: calc(100% + 5px); height: calc(100% + 5px);
        box-shadow: 
            0 0 20px 10px #ffffff,
            inset 0 0 10px 5px #ffffff;
    }

    .home-hero { padding: 40px 10px 20px; }
    .logo-hero { height: 120px; }
    .home-hero h2 { font-size: 40px; }
    .home-hero p { font-size: 18px; }
}