/* ==========================================
   BREADCRUMBS - Cyberpunk Privacy Tracker
   Main Stylesheet - Dark Sci-Fi Aesthetic
   ========================================== */

:root {
    /* Neon Colors */
    --neon-cyan: #0ff;
    --neon-magenta: #ff00ff;
    --neon-red: #ff003f;
    --neon-yellow: #ffff00;
    --neon-green: #00ff41;
    
    /* Dark Colors */
    --bg-dark: #0a0e27;
    --bg-darker: #050810;
    --bg-card: #1a1f3a;
    
    /* Text Colors */
    --text-primary: #e0e0ff;
    --text-secondary: #a0a0c0;
    --text-danger: #ff003f;
    
    /* Fonts */
    --font-mono: 'Courier New', 'Courier', monospace;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --screen-pad-x: clamp(18px, 4vw, 42px);
    --screen-pad-y: clamp(10px, 2vh, 18px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: hidden;
    min-height: 100vh;
    min-height: 100svh;
}

/* Background Effects */
.cyberpunk-bg {
    position: relative;
    background: linear-gradient(135deg, #0a0e27 0%, #1a0033 25%, #0a0e27 50%, #001a33 75%, #0a0e27 100%);
    background-size: 400% 400%;
    animation: bgShift 20s ease infinite;
    min-height: 100vh;
    min-height: 100svh;
}

@keyframes bgShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(0, 255, 255, 0.05) 25%, rgba(0, 255, 255, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 255, 255, 0.05) 75%, rgba(0, 255, 255, 0.05) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(0, 255, 255, 0.05) 25%, rgba(0, 255, 255, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 255, 255, 0.05) 75%, rgba(0, 255, 255, 0.05) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(0deg, transparent 24%, rgba(255, 0, 63, 0.02) 25%, rgba(255, 0, 63, 0.02) 26%, transparent 27%, transparent 74%, rgba(255, 0, 63, 0.02) 75%, rgba(255, 0, 63, 0.02) 76%, transparent 77%, transparent);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 2;
    animation: scan 8s linear infinite;
}

@keyframes scan {
    0% { background-position: 0 0; }
    100% { background-position: 0 10px; }
}

.glitch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
    background: 
        linear-gradient(0deg, transparent 20%, rgba(0, 255, 255, 0.03) 20%, rgba(0, 255, 255, 0.03) 40%, transparent 40%, transparent 58%, rgba(0, 255, 255, 0.03) 58%, rgba(0, 255, 255, 0.03) 78%, transparent 78%);
    background-size: 100% 4px;
    animation: flicker 0.15s infinite;
}

@keyframes flicker {
    0% { opacity: 0.98; }
    50% { opacity: 1; }
    100% { opacity: 0.97; }
}

/* Container */
.container {
    position: relative;
    z-index: 4;
    width: min(1180px, 100%);
    height: 100vh;
    height: 100svh;
    margin: 0 auto;
    padding: var(--screen-pad-y) var(--screen-pad-x);
    overflow: hidden;
}

.side-disclaimer {
    position: fixed;
    left: 36px;
    top: 50%;
    z-index: 6;
    /* pivot on the element's own top-left corner (0 0),
       then rotate -90deg CCW, then slide up 50% of the pill's
       original width so it centres on the vertical axis */
    transform-origin: 0 0;
    transform: rotate(-90deg) translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    max-width: calc(100vh - 60px);
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(4, 10, 22, 0.76);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.6px;
    line-height: 1.2;
    pointer-events: none;
}

.side-disclaimer strong {
    color: var(--neon-cyan);
    font-weight: 700;
}

.home-screen {
    height: 100%;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: clamp(8px, 1.2vh, 14px);
    overflow: hidden;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 0;
    padding: clamp(6px, 1.2vh, 14px) 0 0;
}

.terminal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.terminal-bracket {
    color: var(--neon-cyan);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-family: var(--font-mono);
    opacity: 0.6;
}

h1.glitch {
    font-size: clamp(2.15rem, 5vw, 3.3rem);
    font-weight: 900;
    font-family: var(--font-mono);
    color: var(--neon-cyan);
    text-shadow: 
        0 0 10px var(--neon-cyan),
        0 0 20px var(--neon-magenta),
        0 0 30px var(--neon-red);
    letter-spacing: clamp(2px, 0.4vw, 4px);
    position: relative;
}

.glitch {
    position: relative;
}

.glitch:hover::before,
.glitch:hover::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.glitch:hover::before {
    animation: glitch-anim 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    color: var(--neon-red);
    z-index: -2;
}

.glitch:hover::after {
    animation: glitch-anim 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both;
    color: var(--neon-magenta);
    z-index: -1;
}

@keyframes glitch-anim {
    0% { clip-path: inset(40% 0 61% 0); transform: translate(-2px, -2px); }
    20% { clip-path: inset(92% 0 1% 0); transform: translate(2px, 2px); }
    40% { clip-path: inset(43% 0 1% 0); transform: translate(-2px, 2px); }
    60% { clip-path: inset(25% 0 58% 0); transform: translate(2px, -2px); }
    80% { clip-path: inset(54% 0 7% 0); transform: translate(-2px, -2px); }
    100% { clip-path: inset(58% 0 43% 0); transform: translate(2px, 2px); }
}

.subtitle {
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    color: var(--neon-magenta);
    margin-bottom: 12px;
    text-shadow: 0 0 10px var(--neon-magenta);
    letter-spacing: 2px;
}

.warning-bar {
    display: inline-block;
    background: linear-gradient(90deg, rgba(255, 0, 63, 0.2) 0%, rgba(255, 0, 63, 0.1) 100%);
    border: 2px solid var(--neon-red);
    padding: 9px 16px;
    border-radius: 4px;
    color: var(--neon-red);
    font-family: var(--font-mono);
    font-size: 0.8em;
    letter-spacing: 2px;
    box-shadow: 0 0 15px rgba(255, 0, 63, 0.4);
}

.warning-icon {
    margin-right: 8px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Hero Section */
.hero {
    min-height: 0;
    margin-bottom: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    align-items: stretch;
    gap: clamp(16px, 2vw, 28px);
}

.hero-text {
    text-align: left;
    margin-bottom: 0;
    padding: clamp(14px, 1.8vw, 22px);
    background: rgba(15, 255, 255, 0.05);
    border: 1px solid var(--neon-cyan);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(15, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-paragraph {
    font-size: clamp(0.94rem, 1.1vw, 1.08rem);
    margin-bottom: 10px;
    color: var(--text-secondary);
    line-height: 1.45;
}

.intro-paragraph.secondary {
    font-size: clamp(0.88rem, 0.98vw, 0.98rem);
    color: var(--text-secondary);
}

.highlight-red {
    color: var(--neon-red);
    text-shadow: 0 0 10px var(--neon-red);
    font-weight: 600;
}

.highlight-cyan {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
    font-weight: 600;
}

/* Form */
.form-container {
    width: min(520px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.neon-form {
    background: var(--bg-card);
    border: 2px solid var(--neon-cyan);
    border-radius: 8px;
    padding: clamp(16px, 1.8vw, 24px);
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.3),
        inset 0 0 20px rgba(0, 255, 255, 0.05);
    width: 100%;
}

.form-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 14px;
}

.form-step {
    color: var(--neon-yellow);
    font-family: var(--font-mono);
    font-weight: bold;
    font-size: 0.9em;
    letter-spacing: 2px;
}

.form-header h2 {
    color: var(--neon-cyan);
    font-family: var(--font-mono);
    font-size: 1.2em;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--neon-cyan);
}

.form-group {
    margin-bottom: 13px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    color: var(--neon-cyan);
    font-weight: 600;
    font-family: var(--font-mono);
    font-size: 0.9em;
    letter-spacing: 1px;
}

.required {
    color: var(--neon-red);
}

.optional-tag {
    color: var(--neon-yellow);
    font-weight: normal;
    font-size: 0.8em;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: transparent;
    border: 1px solid var(--neon-cyan);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: var(--neon-magenta);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

.input-prefix {
    color: var(--neon-cyan);
    padding: 10px 10px;
    font-family: var(--font-mono);
    font-weight: bold;
}

.form-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 10px;
    font-family: var(--font-mono);
    font-size: 0.9em;
    outline: none;
}

.form-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.form-input:focus {
    color: var(--neon-cyan);
}

.form-hint {
    display: block;
    margin-top: 4px;
    font-size: 0.78em;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.optional-group {
    opacity: 0.8;
}

.optional-group .form-hint {
    color: var(--neon-yellow);
}

.disclaimer {
    background: rgba(255, 0, 63, 0.1);
    border: 1px solid var(--neon-red);
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 18px;
    font-size: 0.82em;
    color: var(--text-secondary);
}

.disclaimer p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.disclaimer-emoji {
    font-size: 1.2em;
}

/* Buttons */
.btn {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.82em;
    position: relative;
    overflow: hidden;
}

.btn-lg {
    width: 100%;
    padding: 13px 24px;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-danger {
    background: linear-gradient(135deg, var(--neon-red), var(--neon-magenta));
    color: #000;
    border: 2px solid var(--neon-red);
    box-shadow: 0 0 20px rgba(255, 0, 63, 0.5);
}

.btn-danger:hover {
    box-shadow: 
        0 0 20px rgba(255, 0, 63, 0.5),
        0 0 40px rgba(255, 0, 63, 0.3),
        inset 0 0 10px rgba(255, 0, 255, 0.2);
    transform: translateY(-2px);
}

.btn-danger:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-danger:hover .btn-glow {
    left: 100%;
}

/* Loading State */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 16, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(2px);
}

.loading-overlay.hidden {
    display: none;
}

.loading-spinner {
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(0, 255, 255, 0.2);
    border-top-color: var(--neon-cyan);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    margin: 0 auto 30px;
    box-shadow: 0 0 20px var(--neon-cyan);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.2em;
    color: var(--neon-cyan);
    margin-bottom: 10px;
    font-family: var(--font-mono);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.loading-subtext {
    color: var(--neon-yellow);
    font-family: var(--font-mono);
    font-size: 0.9em;
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%, 49%, 100% { opacity: 1; }
    50%, 99% { opacity: 0.5; }
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(3px);
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: var(--bg-card);
    border: 2px solid var(--neon-cyan);
    border-radius: 8px;
    padding: 30px;
    max-width: 400px;
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.4),
        inset 0 0 30px rgba(0, 255, 255, 0.05);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.modal-icon {
    font-size: 1.5em;
}

.error-modal {
    border-color: var(--neon-red);
    box-shadow: 
        0 0 30px rgba(255, 0, 63, 0.4),
        inset 0 0 30px rgba(255, 0, 63, 0.05);
}

.error-icon {
    color: var(--neon-red);
    text-shadow: 0 0 10px var(--neon-red);
}

.modal-content h2 {
    color: var(--neon-cyan);
    font-family: var(--font-mono);
    letter-spacing: 2px;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Disclaimer modal overrides */
.disclaimer-modal {
    max-width: 560px;
    border-color: var(--neon-red);
    box-shadow:
        0 0 40px rgba(255, 0, 63, 0.35),
        inset 0 0 30px rgba(255, 0, 63, 0.05);
}

.disclaimer-modal h2 {
    color: var(--neon-red);
    text-shadow: 0 0 8px var(--neon-red);
}

.disclaimer-list {
    color: var(--text-secondary);
    margin: 0 0 24px 18px;
    padding: 0;
    line-height: 1.8;
    font-size: 0.92em;
}

.disclaimer-list li {
    margin-bottom: 6px;
}

.disclaimer-list strong {
    color: var(--text-primary);
}

/* Accept button with fill animation */
.disclaimer-accept-btn {
    position: relative;
    overflow: hidden;
    cursor: not-allowed;
    background: #3a3a3a;
    color: rgba(255, 255, 255, 0.45);
    border: 2px solid #555;
    box-shadow: none;
    transition: color 0.3s;
}

.disclaimer-accept-btn--ready {
    cursor: pointer;
    color: #000;
    box-shadow: 0 0 22px rgba(255, 0, 63, 0.65);
}

.disclaimer-btn-text {
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.disclaimer-btn-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--neon-red), var(--neon-magenta));
    animation: disclaimerFill 5s linear forwards;
    pointer-events: none;
}

@keyframes disclaimerFill {
    from { width: 0%; }
    to   { width: 100%; }
}

/* Footer */
.footer {
    text-align: center;
    padding: 8px 10px 0;
    color: var(--text-secondary);
    font-size: 0.76em;
    border-top: 1px solid rgba(0, 255, 255, 0.08);
    margin-top: 0;
}

.footer p {
    margin-bottom: 4px;
}

.footer-small {
    font-size: 0.8em;
    opacity: 0.6;
}

/* Project expiry countdown (top center on all pages) */
.project-deadline-timer {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2700;
    padding: 6px 12px;
    border: 1px solid rgba(255, 0, 63, 0.45);
    border-radius: 999px;
    background: rgba(10, 14, 39, 0.88);
    color: #ffd9e5;
    font-family: var(--font-mono);
    font-size: 0.74em;
    letter-spacing: 0.4px;
    box-shadow: 0 0 14px rgba(255, 0, 63, 0.25);
    backdrop-filter: blur(2px);
}

/* Regret page after closure */
.project-gone-mode {
    overflow: hidden !important;
}

.project-gone-wrap {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 0, 63, 0.16), transparent 42%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 255, 0.12), transparent 48%),
        linear-gradient(145deg, #080d23, #090514 58%, #130913);
}

.project-gone-card {
    width: min(680px, 94vw);
    border: 1px solid rgba(255, 0, 63, 0.45);
    border-radius: 14px;
    background: rgba(12, 16, 34, 0.86);
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 0, 63, 0.22);
}

.project-gone-title {
    color: #ffdce6;
    font-size: clamp(1.65rem, 4.3vw, 2.35rem);
    letter-spacing: 0.6px;
    font-family: var(--font-mono);
    margin-bottom: 8px;
}

.project-gone-subtitle {
    color: #d8bdd0;
    font-size: 1rem;
    margin-bottom: 8px;
}

.project-gone-meta {
    color: #bfaec0;
    font-size: 0.86rem;
}

.project-good-part {
    opacity: 0;
    transform: translateY(6px);
    animation: projectGoodReveal 900ms ease forwards, projectGoodGlow 2200ms ease-in-out infinite;
}

.project-good-thanks {
    color: #fbe8ff;
    animation-delay: 120ms, 1.1s;
}

.project-good-author {
    color: var(--neon-cyan);
    font-family: var(--font-mono);
    letter-spacing: 0.8px;
    animation-delay: 260ms, 1.2s;
}

.project-good-purpose {
    color: #ffe8ef;
    animation-delay: 400ms, 1.3s;
}

@keyframes projectGoodReveal {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes projectGoodGlow {
    0%, 100% {
        text-shadow: 0 0 0 rgba(255, 0, 63, 0);
    }
    50% {
        text-shadow: 0 0 12px rgba(255, 0, 63, 0.45), 0 0 24px rgba(0, 255, 255, 0.2);
    }
}

/* Global background music controls */
.music-control-wrap {
    position: fixed;
    left: 14px;
    bottom: 14px;
    z-index: 2601;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    border: 1px solid rgba(0, 255, 255, 0.45);
    background: rgba(10, 14, 39, 0.88);
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(2px);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.music-control-wrap:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 16px rgba(0, 255, 255, 0.35);
}

.music-toggle-btn {
    width: 42px;
    height: 32px;
    border: 1px solid rgba(0, 255, 255, 0.45);
    border-radius: 6px;
    background: rgba(0, 255, 255, 0.08);
    color: var(--neon-cyan);
    cursor: pointer;
    font-size: 0.62rem;
    font-family: var(--font-mono);
    letter-spacing: 0.8px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.music-toggle-btn:hover {
    background: rgba(0, 255, 255, 0.15);
    border-color: var(--neon-cyan);
}

.music-volume-range {
    width: 110px;
    accent-color: #00ffff;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .side-disclaimer {
        left: 50%;
        bottom: 8px;
        top: auto;
        max-width: calc(100vw - 24px);
        transform: translateX(-50%);
        transform-origin: center center;
        font-size: 0.62rem;
        padding: 7px 10px;
        white-space: normal;
        text-align: center;
    }

    .container {
        padding: 10px 14px;
    }

    .home-screen {
        gap: 8px;
    }

    h1.glitch {
        font-size: 2.2em;
    }

    .subtitle {
        font-size: 1em;
    }

    .intro-paragraph {
        font-size: 1em;
    }

    .hero {
        grid-template-columns: 1fr;
        justify-content: start;
        gap: 10px;
    }

    .hero-text {
        text-align: center;
    }

    .neon-form {
        padding: 18px;
    }

    .form-label {
        font-size: 0.85em;
    }

    .form-input {
        font-size: 0.9em;
    }

    .terminal-bracket {
        font-size: 1.7em;
    }

    .terminal-header {
        gap: 10px;
    }

    .warning-bar {
        font-size: 0.72em;
        padding: 8px 12px;
    }

    .footer {
        font-size: 0.74em;
    }

    .music-control-wrap {
        left: 10px;
        bottom: 10px;
        padding: 6px 7px;
        gap: 6px;
    }

    .project-deadline-timer {
        top: 8px;
        max-width: calc(100vw - 16px);
        text-align: center;
        font-size: 0.68em;
        padding: 5px 9px;
    }

    .music-toggle-btn {
        width: 38px;
        height: 30px;
        font-size: 0.58rem;
    }

    .music-volume-range {
        width: 88px;
    }
}

@media (max-width: 480px) {
    .side-disclaimer {
        display: none;
    }

    h1.glitch {
        font-size: 1.8em;
        letter-spacing: 2px;
    }

    .form-header h2 {
        font-size: 1em;
    }

    .neon-form {
        padding: 16px;
    }

    .container {
        padding: 8px 12px;
    }

    .header {
        padding-top: 6px;
    }

    .hero-text {
        padding: 12px;
    }

    .hero {
        gap: 8px;
    }

    .form-group {
        margin-bottom: 10px;
    }

    .footer {
        display: none;
    }
}
