/* ===== Fonts ===== */
@font-face {
    font-family: 'PlusyFont';
    src: url('/assets/fonts/311025-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SourceHanSerifCN';
    src: url('/assets/fonts/SourceHanSerifSCLite.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* ===== CSS Variables ===== */
:root {
    --stellar-white: rgba(255,255,255,0.5);
    --event-horizon: rgba(0,0,0,0.95);
    --neutron-glow: rgba(180,180,180,0.15);
    --font-size-base: 16px;
}

/* ===== Base ===== */
body {
    margin: 0;
    overflow: hidden;
    background: #000;
    font-family: 'PlusyFont', 'Courier New', monospace, 'SourceHanSerifCN';
    font-size: var(--font-size-base);
}

/* ===== Starfield ===== */
.cosmic-canvas {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.points-container {
    position: absolute;
    width: 300%;
    height: 300%;
    overflow: hidden;
    animation: cosmicDrift 480s linear infinite;
}
.point {
    position: absolute;
    background-color: var(--stellar-white);
    border-radius: 50%;
}

/* ===== Animations ===== */
@keyframes blink {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}
@keyframes cosmicDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-66%, -66%); }
}
@keyframes breathing {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Footer ===== */
.page-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    opacity: 0.6;
    z-index: 999;
}
.page-footer a {
    color: inherit;
    text-decoration: none;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    :root {
        --font-size-base: 14px;
    }
}
