/* --- THEME SETUP --- */
:root {
    --blood-red: #ff0000;
    --black: #000000;
    --grey: #1a1a1a;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--black);
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
    /* Prevents scrollbars during animations */
}

/* --- LOGO & TYPOGRAPHY --- */
.anarchy-symbol {
    
    font-size: 5rem;
    color: var(--blood-red);
    border: 6px solid var(--blood-red);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-weight: bold;
    transform: rotate(-5deg);
}

h1 {
    color: var(--blood-red);
    text-transform: uppercase;
    font-size: 3rem;
    margin: 0;
    text-shadow: 3px 3px 0px #330000;
}

/* --- NAVIGATION & BUTTONS --- */
.auth-actions {
    margin: 30px 0;
}

.button {
    text-decoration: none;
    padding: 15px 30px;
    margin: 10px;
    display: inline-block;
    font-weight: bold;
    border: 2px solid var(--blood-red);
    transition: 0.2s;
}

.btn-login {
    background: var(--blood-red);
    color: black;
}

.btn-signup {
    background: transparent;
    color: var(--blood-red);
}

.underground-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-small {
    font-size: 0.7rem;
    color: #666;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid #333;
    padding: 5px;
}

/* --- THE SHOUT BOX (JS Controlled) --- */
#shout-box {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%) scale(0.5);
    background: var(--blood-red);
    color: white;
    padding: 20px 40px;
    font-size: 3rem;
    font-weight: 900;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 20px 20px 0px #000;
    pointer-events: none;
}

.shake {
    animation: shake-key 0.1s infinite;
}

@keyframes shake-key {
    0% {
        transform: translate(1px, 1px);
    }

    50% {
        transform: translate(-2px, -1px);
    }

    100% {
        transform: translate(1px, 1px);
    }
}


/* --- RESPONSIVE ENGINE --- */

/* For Tablets and smaller (below 768px) */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
        /* Shrink headers so they don't wrap weirdly */
    }

    .anarchy-symbol {
        width: 70px;
        height: 70px;
        font-size: 3rem;
    }

    #shout-box {
        font-size: 1.5rem;
        /* Make the pop-up banner readable on mobile */
        width: 90%;
        padding: 10px;
    }

    .auth-actions {
        display: flex;
        flex-direction: column;
        /* Stack Login/Signup vertically */
        align-items: center;
        width: 100%;
    }

    .button {
        width: 80%;
        /* Buttons take up more width on mobile */
        text-align: center;
        margin: 5px 0;
    }
}

/* For small Phones (below 480px) */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .roadmap-container {
        padding: 15px;
        margin: 10px auto;
    }

    .phase-header {
        font-size: 1rem;
        transform: rotate(0deg);
        /* Remove tilt on tiny screens to save space */
    }

    .underground-nav {
        gap: 5px;
    }

    .btn-small {
        font-size: 0.6rem;
        padding: 8px;
        /* Easier to tap with a finger */
    }
}