:root {
    --bg-color: #05010a;
    /* Quase preto */
    --primary-color: #cca43b;
    /* Dourado */
    --accent-color: #9d4edd;
    /* Violeta */
    --text-color: #ffffff;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background: radial-gradient(circle at center, #1a0b2e 0%, #05010a 100%);
    color: var(--text-color);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Particle Canvas */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Atrás do conteúdo */
}

.container {
    position: relative;
    z-index: 2;
    /* Na frente das partículas */
    text-align: center;
    width: 90%;
    max-width: 700px;
    /* Mais largo para acomodar o logo grande */
    padding: 2rem;
    animation: fadeIn 1.5s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 85vh;
    /* Centralização vertical melhor */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Logo */
.logo-container {
    margin-bottom: 2rem;
    width: 100%;
}

.logo {
    width: 100%;
    max-width: 350px;
    /* LOGO MUITO MAIOR */
    height: auto;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
    transform: scale(1.03);
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    letter-spacing: -1.5px;
}

.subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    font-weight: 300;
}

.divider {
    height: 1px;
    width: 150px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0 auto 3rem;
    opacity: 0.3;
}

.message {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 3.5rem;
    color: #f0f0f0;
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.4rem;
    display: inline-block;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(204, 164, 59, 0.3);
}

/* Countdown */
.countdown-container {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(255, 255, 255, 0.05);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(204, 164, 59, 0.15);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#countdown {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.small-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 4rem;
}

/* Button */
.btn-redirect {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background: rgba(204, 164, 59, 0.1);
    /* Fundo sutil */
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

.btn-redirect:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 40px rgba(204, 164, 59, 0.6);
    transform: translateY(-3px) scale(1.05);
}

.btn-redirect i {
    margin-left: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 1.5rem;
    }

    .logo {
        max-width: 350px;
        /* Ainda grande no tablet */
    }

    h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 280px;
        /* Ocupa boa parte da tela no mobile */
        margin-bottom: 1rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .message {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .btn-redirect {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
    }
}