:root {
    --neon-cyan: #00f5ff;
    --neon-purple: #bf00ff;
    --neon-green: #39ff14;
    --neon-red: #ff073a;
    --neon-yellow: #fff000;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* { scrollbar-width: thin; scrollbar-color: var(--neon-cyan) transparent; }
body { box-sizing: border-box; background-color: #0f172a; }

.font-orbitron { font-family: 'Orbitron', monospace; }
.font-rajdhani { font-family: 'Rajdhani', sans-serif; }

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.neon-glow-cyan {
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3), 
                0 0 40px rgba(0, 245, 255, 0.1),
                inset 0 0 20px rgba(0, 245, 255, 0.05);
}

.neon-glow-purple {
    box-shadow: 0 0 20px rgba(191, 0, 255, 0.3), 
                0 0 40px rgba(191, 0, 255, 0.1);
}

.neon-text-cyan {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan);
}

.neon-text-purple {
    color: var(--neon-purple);
    text-shadow: 0 0 10px var(--neon-purple), 0 0 20px var(--neon-purple);
}

.btn-neon {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.2), rgba(191, 0, 255, 0.2));
    border: 1px solid var(--neon-cyan);
    transition: all 0.3s ease;
}

.btn-neon:hover {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.4), rgba(191, 0, 255, 0.4));
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.5);
    transform: translateY(-2px);
}

/* Snowflake */
.snowflake {
    position: fixed; color: white; font-size: 1rem; pointer-events: none;
    opacity: 0.7; animation: fall linear infinite; z-index: 1;
}
@keyframes fall {
    0% { transform: translateY(-10px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.7; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

/* FAB */
.fab-button {
    position: fixed; top: 20px; right: 20px; z-index: 100;
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s ease;
}

/* Modal */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px); display: flex; align-items: center;
    justify-content: center; z-index: 200; opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { transform: scale(0.9); transition: all 0.3s ease; }
.modal-overlay.active .modal-content { transform: scale(1); }

/* Attendance Box */
.attendance-box {
    width: 36px; height: 36px; border-radius: 8px; display: flex;
    align-items: center; justify-content: center; cursor: pointer;
    transition: all 0.2s ease; font-weight: 700; font-size: 12px; user-select: none;
}
.attendance-box:hover { transform: scale(1.1); }
.attendance-empty { background: rgba(255, 255, 255, 0.1); border: 1px dashed rgba(255, 255, 255, 0.3); }
.attendance-hadir { background: linear-gradient(135deg, #00f5ff, #0099aa); color: #000; box-shadow: 0 0 10px rgba(0,245,255,0.5); }
.attendance-izin { background: linear-gradient(135deg, #fff000, #cc9900); color: #000; box-shadow: 0 0 10px rgba(255,240,0,0.5); }
.attendance-alpa { background: linear-gradient(135deg, #ff073a, #aa0022); color: #fff; box-shadow: 0 0 10px rgba(255,7,58,0.5); }

/* Utils */
.info-card { cursor: pointer; transition: all 0.3s ease; }
.info-card:hover { transform: translateY(-5px); }
.pulse-animation { animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.slide-up { animation: slideUp 0.5s ease forwards; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Toast */
.toast {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(100px);
    padding: 12px 24px; border-radius: 8px; z-index: 300;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5); font-size: 16px;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast-success { background: linear-gradient(135deg, #39ff14, #28a000); color: #000; border: 1px solid #39ff14; }
.toast-error { background: linear-gradient(135deg, #ff073a, #aa0022); color: #fff; border: 1px solid #ff073a; }

.confirm-dialog {
    background: rgba(20, 20, 40, 0.98); border: 1px solid var(--neon-red);
    box-shadow: 0 0 30px rgba(255, 7, 58, 0.3);
}

/* Marquee */
.marquee-container {
    width: 100%; background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(191, 0, 255, 0.1));
    border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border);
    overflow: hidden; padding: 12px 0; margin-top: 20px;
}
.marquee-content { display: inline-block; white-space: nowrap; animation: marquee 30s linear infinite; padding-left: 100%; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
.marquee-content:hover { animation-play-state: paused; }
.marquee-text {
    color: var(--neon-cyan); text-shadow: 0 0 10px var(--neon-cyan);
    font-weight: 600; letter-spacing: 2px; font-size: 14px;
}