body {
    background: radial-gradient(circle at 50% 40%, #222 0%, #111 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    margin: 0;
}


.overlay {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 1rem;
}

input {
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: none;
}

.container {
    max-width: 600px;
    margin: auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1rem;

}

html,
body {
    height: 100%;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

footer {

    border-top: 1px solid #333;
    color: #e0e0e0;
    text-align: center;
    padding: 0.5rem 0;
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 10;
}

footer a,
footer a:visited,
footer a:active,
footer a:focus {
    text-decoration: none !important;
    color: inherit;
    transition: filter 0.2s, transform 0.2s;
}

footer a img {
    transition: transform 0.2s;
    filter: drop-shadow(0 0 8px #00c6ff88);
}

footer a:hover img {
    transform: scale(1.15) rotate(-8deg);
    filter: drop-shadow(0 0 16px #00c6ff) invert(1);
}
        body {
            background: linear-gradient(135deg, #0f2027 0%, #2c5364 100%);
            min-height: 100vh;
            font-family: 'Fira Mono', 'Roboto Mono', 'Segoe UI', Arial, sans-serif;
            color: #e0e0e0;
        }
        .overlay {
            background: rgba(20, 24, 34, 0.92);
            border-radius: 1.2rem;
            box-shadow: 0 12px 40px 0 rgba(0,0,0,0.55);
            padding: 2.5rem 2rem;
            max-width: 420px;
            width: 100%;
            margin-top: 2rem;
            border: 1px solid #00c6ff33;
            position: relative;
            overflow: hidden;
        }
        .overlay::before {
            content: "";
            position: absolute;
            top: -40px; left: -40px;
            width: 120px; height: 120px;
            background: linear-gradient(135deg, #00c6ff55 0%, #0072ff22 100%);
            filter: blur(24px);
            z-index: 0;
        }
        h1 {
            font-weight: 800;
            letter-spacing: 2px;
            background: linear-gradient(90deg, #00c6ff, #0072ff, #00c6ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-family: 'Orbitron', 'Fira Mono', monospace;
            text-shadow: 0 2px 24px #0072ff44;
        }
        .btn {
            font-size: 0.95rem;
            padding: 0.5rem 1rem;
            border-radius: 1.5rem;
            min-width: 110px;
            box-shadow: 0 2px 12px rgba(0,255,255,0.08);
            transition: transform 0.1s, box-shadow 0.2s;
            font-family: 'Fira Mono', monospace;
            border: 1px solid #00c6ff44;
        }
        .btn:active {
            transform: scale(0.97);
            box-shadow: 0 1px 4px #00c6ff44;
        }
        #status {
            font-size: 1rem;
            min-height: 1.7em;
            background: #1a2332;
            border-radius: 0.4em;
            padding: 0.4em 0.7em;
            margin-top: 0.7em;
            box-shadow: 0 2px 8px #0072ff22;
            color: #00c6ff;
            text-align: center;
            border: 1px solid #00c6ff33;
        }
        #audioPlayback {
            width: 100%;
            display: block !important;
            margin-top: 1rem;
            margin-bottom: 1rem;
            background: #222;
            border-radius: 0.5rem;
            border: 1px solid #00c6ff33;
            box-shadow: 0 2px 8px #00c6ff22;
        }
        footer {
            background: linear-gradient(90deg, #222 60%, #222 100%);
            border-top: 1px solid #333;
        }
        footer a img {
            transition: transform 0.2s;
            filter: drop-shadow(0 0 8px #00c6ff88);
        }
        footer a:hover img {
            transform: scale(1.15) rotate(-8deg);
            filter: drop-shadow(0 0 16px #00c6ff) invert(1);
        }
        /* Techy animated border */
        .overlay::after {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: 1.2rem;
            pointer-events: none;
            border: 2px solid transparent;
            background: linear-gradient(90deg, #00c6ff, #0072ff, #00c6ff) border-box;
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask-composite: exclude;
            animation: borderMove 3s linear infinite;
        }
        @keyframes borderMove {
            0% { background-position: 0% 50%; }
            100% { background-position: 100% 50%; }
        }

.button-row {
    display: flex;
    gap: 0.7rem;
    justify-content: center;
    margin-bottom: 1rem;
}

@media (max-width: 900px) {
    .overlay {
        padding: 1rem 0.5rem;
        max-width: 98vw;
        margin-top: 1rem;
    }
    footer {
        font-size: 1rem;
        padding: 0.7rem 0;
    }
    footer a img {
        width: 28px;
        height: 28px;
    }
    body {
        padding-bottom: 70px; /* Prevent content under footer */
    }
}
@media (max-width: 900px), (max-height: 700px) {
    .overlay {
        padding: 0.7rem 0.2rem;
        max-width: 340px;
        width: 98vw;
        margin-top: 0.5rem;
        margin-bottom: 80px;
        margin-left: auto;
        margin-right: auto;
        font-size: 0.95rem;
    }
    .button-row {
        gap: 0.4rem;
    }
    .btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.7rem;
        min-width: 90px;
    }
    #status {
        font-size: 0.92rem;
        padding: 0.3em 0.5em;
    }
}
#status {
    display: none;
    font-size: 1rem;
    min-height: 1.7em;
    background: #1a2332;
    border-radius: 0.4em;
    padding: 0.4em 0.7em;
    margin-top: 0.7em;
    box-shadow: 0 2px 8px #0072ff22;
    color: #00c6ff;
    text-align: center;
    border: 1px solid #00c6ff33;
}