/* Global FreezeOS theme */
body {
    background: radial-gradient(circle at top, #001a1a, #000000 80%);
    color: #00ffcc;
    font-family: "Courier New", monospace;
    margin: 0;
    padding-top: 60px;
    text-align: center;
    text-shadow: 0 0 4px #00ffcc;
}

/* Top system bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to bottom, #001f1f, #000);
    border-bottom: 1px solid #00ffcc;
    padding: 10px 0;
    box-shadow: 0 0 10px #00ffcc33;
}

.navbar a {
    color: #00ffcc;
    text-decoration: none;
    margin: 0 12px;
    transition: 0.2s;
}

.navbar a:hover {
    text-decoration: underline;
    text-shadow: 0 0 8px #00ffcc;
}

/* Main window (like OS app window) */
.container {
    width: 800px;
    margin: 0 auto;
    background: rgba(0, 20, 20, 0.9);
    border: 1px solid #00ffcc;
    padding: 20px;
    box-shadow: 0 0 20px #00ffcc33;
    backdrop-filter: blur(4px);
}

/* Window header */
.header {
    padding: 10px;
    border-bottom: 1px solid #00ffcc;
    font-size: 20px;
    letter-spacing: 2px;
}

/* Sections (like OS panels) */
.section {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #00ffcc;
    background: rgba(0, 10, 10, 0.7);
    box-shadow: inset 0 0 10px #00ffcc22;
}

/* Terminal buttons */
.button {
    display: inline-block;
    background: #000;
    color: #00ffcc;
    padding: 6px 12px;
    margin: 5px;
    border: 1px solid #00ffcc;
    cursor: pointer;
    font-family: "Courier New", monospace;
    transition: 0.2s;
}

.button:hover {
    background: #003333;
    box-shadow: 0 0 10px #00ffcc;
}

/* Counter box */
.counter {
    border: 1px solid #00ffcc;
    display: inline-block;
    padding: 5px;
    margin-top: 10px;
    background: #000;
    box-shadow: inset 0 0 8px #00ffcc33;
}

/* Scrolling text */
marquee {
    color: #00ffee;
    text-shadow: 0 0 6px #00ffee;
}

/* Snowflakes (now icy glow) */
.snowflake {
    position: fixed;
    top: -10px;
    color: #00ffee;
    font-size: 1em;
    z-index: 9999;
    pointer-events: none;
    animation-name: fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    opacity: 0.9;
    text-shadow: 0 0 8px #00ffee;
}

@keyframes fall {
    from { 
        transform: translateY(0) translateX(0);
    }
    to { 
        transform: translateY(100vh) translateX(20px);
    }
}

/* Extra: subtle scanline effect (very OS-like) */
body::after {
    content: "";
    pointer-events: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0,255,200,0.03),
        rgba(0,255,200,0.03) 1px,
        transparent 1px,
        transparent 3px
    );
}

/* Extra: blinking cursor effect for headers */
.header::after {
    content: "_";
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}
