:root {
    --green: #30d330;
    --green-dark: #248f24;
    --green-light: #42e042;
    --bg: #282828;
    --scanline-dark: #141414;
}

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

html, body {
    height: 100%;
}

body {
    background: transparent;
    color: var(--green);
    font-family: "IBM Plex Mono", Consolas, monospace;
    padding: 20px;
    text-shadow: 0 0 1px var(--green), 0 0 3px rgba(48, 211, 48, 0.3), 0 0 1px black;
    background-image: repeating-linear-gradient(
        0deg,
        var(--bg) 0px,
        var(--scanline-dark) 2px,
        var(--bg) 4px
    );
    background-size: 100% 4px;
    animation: wave 8s linear infinite;

    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

h1, h2 {
    margin-bottom: 0.5em;
    text-shadow: 0 0 1px var(--green), 0 0 3px rgba(48, 211, 48, 0.3), 0 0 1px black;
}

h1 {
    font-size: clamp(1.75rem, 2.5vw, 2.5rem);
}

.glow {
    filter: drop-shadow(0 0 6px var(--green));
}

a {
    color: var(--green-dark);
    font-weight: bold;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--green-light);
}

a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: var(--green);
    opacity: 0;
    transition: opacity 0.2s ease;
}

a:hover::after {
    opacity: 1;
}

footer {
    background: var(--bg);
    color: var(--green);
    text-align: center;
    padding: 0;
    position: relative;
    flex-shrink: 0;
}

.tech-banner {
    animation: none !important;
    will-change: transform;
    opacity: 1 !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1em;
    background: #fff;
    padding: 1em 2em;
    border-radius: 24px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
    margin: 0.75em auto 0;
    max-width: 90vw;
    box-sizing: border-box;
}


.tech-banner img {
    max-height: 40px;
    max-width: 60px;
    width: 100%;
    height: auto;
    flex: 0 1 60px;
    vertical-align: middle;
    display: inline-block;
    transition: transform 0.2s ease, max-width 0.2s ease;
}

@media (max-width: 768px) {
    .tech-banner {
        gap: 0.75em;
        padding: 1em;
    }

    .tech-banner img {
        max-width: 50px;
        max-height: 35px;
        flex: 0 1 50px;
    }
}

@media (max-width: 480px) {
    .tech-banner {
        flex-direction: column;
        gap: 0.5em;
    }

    .tech-banner img {
        max-width: 40px;
        max-height: 30px;
        flex: 0 1 40px;
    }
}



.footer-text {
    display: block;
    max-width: 60vw;
    margin: 1em auto 0;
    color: var(--green);
    font-size: 0.95em;
    padding-bottom: 1em;
}

@keyframes wave {
    0% { background-position: 0 0; }
    100% { background-position: 0 -8px; }
}

