* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Tahoma, Verdana, Arial, sans-serif;
    background: #f2f2f2;
    color: #111;
    text-align: center;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

/* ===== BASIC SITE ===== */

header {
    background: linear-gradient(#004080, #002244);
    color: white;
    padding: 25px;
}

#site-title {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: bold;
    letter-spacing: 1px;
}

nav {
    margin: 40px 0;
}

.nav-link {
    display: inline-block;
    margin: 10px 25px;
    padding: 12px 25px;
    background: #ffffff;
    border: 2px solid #333;
    text-decoration: none;
    color: #111;
    font-weight: bold;
    transition: background 0.2s ease;
}

.nav-link:hover {
    background: #ddd;
}

.content {
    margin-top: 40px;
}

footer {
    margin-top: 60px;
    font-size: 0.9rem;
}

/* ===== CINEMATIC FREEZE ===== */

.freeze-frame {
    transform: translate(-8px, 4px);
    filter: blur(2px) brightness(0.8) contrast(120%);
    transition: transform 0.2s ease, filter 0.2s ease;
}

/* ===== TERMINAL ===== */

#terminal-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    color: #ffffff;
    font-family: "Courier New", monospace;
    display: none;
    z-index: 9999;
    padding: 20px;
    overflow-y: auto;
    text-align: left;
}

#terminal-text {
    font-size: 14px;
    line-height: 1.4;
    white-space: pre-wrap;
}

.blink {
    animation: blinkAnim 0.6s steps(1) infinite;
}

@keyframes blinkAnim {
    50% { opacity: 0; }
}
