:root {
    --bg-color: #000;
    --text-primary: #ffffff;
    --text-secondary: #d0d0d0;
    --glass-bg: rgba(0, 0, 0, 0.4);
    /* Darker glass */
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'PP Neue Montreal', sans-serif;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('bg.png') center/cover no-repeat;
    z-index: -2;
    transition: transform 0.2s ease-out;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    /* Much darker overlay */
    z-index: -1;
}

.content {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 800px;
    animation: fadeIn 2s ease-out;
     /* Move content upwards proportionally to viewport height, clamped to sensible limits
         - Uses clamp(preferred-min, preferred, preferred-max) then negates with calc()
         - Prefers a shift based on viewport (8vh) but clamps between 60px and 160px */
     margin-top: calc(-1 * clamp(60px, 8vh, 160px));
}

.glass-card {
   /** background: var(--glass-bg); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px; 
     box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8); **/
    padding: 4rem 3rem;
    text-align: center;
   
}

.brand {
    font-family: 'PP Neue Montreal', sans-serif;
    font-size: 6rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #fff;
}

.divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #0004ff,#310136, #ff7d00, #ff0000);
    margin: 0 auto 3rem;
    opacity: 0.8;
}

.headline {
    font-family: 'PP Neue Montreal', sans-serif;
    font-size: 1.7rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.subtext {
    font-family: 'Roboto Mono', monospace;
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

/* Status Badge Container replicating .caixa */
.badge-container {
    position: relative;
    display: inline-block;
    padding: 2px;
    /* For border width */
    border-radius: 50px;
    margin-bottom: 2rem;
    z-index: 1;
}

.badge-container::before,
.badge-container::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(8deg, #0004ff, #0004ff, #310136, #ff7d00, #ff7d00, #310136, #310136, #ff0000, #0004ff, #0004ff);
    background-size: 500%;
    border-radius: 50px;
    z-index: -1;
    animation: AnimarBorda 60s linear alternate infinite;
}

.badge-container::after {
    filter: blur(10px);
    z-index: -2;
}

.status-badge {
    background: #000;
    color: #fff;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-family: 'PP Neue Montreal', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.2rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    position: relative;
    z-index: 2;
}

.url {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.5;
    margin-top: 2rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes AnimarBorda {
    0% {
        background-position: 0;
    }

    100% {
        background-position: 300%;
    }
}

@media (max-width: 600px) {
    .glass-card {
        padding: 2rem;
    }

    .brand {
        font-size: 2.5rem;
        letter-spacing: 0.1rem;
    }

    .headline {
        font-size: 1.8rem;
    }
    /* smaller upward shift on small screens with a gentler cap */
    .content {
        margin-top: calc(-1 * clamp(30px, 6vh, 80px));
    }
}