@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto+Mono:wght@300;400;700&display=swap');

:root {
    --bg: #000;
    --text: #0f0;
    --accent: #0ff;
    --glow: #0f0;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden; /* ← kills horizontal scroll */
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Roboto Mono', monospace;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;      /* ✅ centre children (the .container) */
    line-height: 1.6;
}

/* Full-width responsive container */
.container {
    width: 100%;              /* ✅ take full width */
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.content {
    width: 100%;
    max-width: 520px;       /* was 600px – tighter column */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.6rem); /* was 3.5rem–8rem */
    margin: 0 0 0.5rem;
    text-shadow: 0 0 18px var(--glow);
    letter-spacing: 0.05em;
    word-break: break-word;
}

h2 {
    font-size: clamp(1.1rem, 3.5vw, 1.7rem);
    color: #0b0;
    margin-bottom: 1.5rem;
}

.console {
    background: rgba(0,20,0,0.85);
    border: 1px solid var(--text);
    padding: clamp(0.8rem, 3vw, 1.4rem);
    margin: 1.5rem auto;
    width: 100%;
    max-width: 520px;       /* was 600px */
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,255,0,0.4);
    text-align: left;
    font-size: clamp(0.85rem, 2.2vw, 1rem);
}

.neon-border {
    margin: 1.5rem auto;
    padding: 1rem;
    border: 2px solid var(--accent);
    border-radius: 12px;
    width: 100%;
    max-width: 420px;       /* was 500px */
    box-shadow: 0 0 28px var(--accent);
    animation: pulse 4s infinite;
}

.logo {
    width: 80%;
    max-width: 300px;       /* was 380px */
    margin: 1.5rem auto 2rem;
    display: block;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 16px #0f0);
    border-radius: 12px;
}

footer {
    font-size: 0.85rem;
    color: #060;
    padding-bottom: 1.5rem;
    margin-top: auto;
}

/* Animations */
.blink { animation: blink 1s steps(5,start) infinite; }
@keyframes blink { to { visibility: hidden; } }
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 20px var(--accent); }
    50% { box-shadow: 0 0 45px var(--accent); }
}

.cursor { animation: blink 1s steps(1) infinite; }

.ascii-art {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.ascii-art pre {
    font-size: clamp(2.2rem, 4.5vw, 3rem); /* was up to 6rem */
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent);
    margin: 0;
    line-height: 0.9;
    text-align: center;
}

/* Extra safety for very small screens */
@media (max-width: 480px) {
    .container { padding: 0.5rem; }
    .ascii-art pre { font-size: 2.2rem; }
    h1 { font-size: 3.8rem; }
    .logo { max-width: 320px; }
    .console, .neon-border { width: 98%; }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden; /* kill any tiny horizontal scrollbars */
    }

    .container {
        max-width: 100%;
        padding: 1.5rem 1rem;
        justify-content: flex-start; /* avoid odd vertical spacing on short screens */
    }

    .console {
        padding: 1rem;
        max-width: 100%;
    }

    .neon-border {
        max-width: 100%;
    }

    .ascii-art pre {
        font-size: clamp(2rem, 12vw, 3rem); /* smaller bunny on mobile */
        line-height: 1;
    }

    .logo {
        max-width: 260px;
    }
}

