:root { --primary: #ff6b35; --primary-light: #ff9a56; --accent: #ffc107; --gradient: linear-gradient(135deg, #ff6b35, #ff9a56, #ffc107); --bg-dark: #0a0a14; --bg-card: rgba(255, 255, 255, 0.05); --border: rgba(255, 255, 255, 0.1); --text: #ffffff; --text-muted: rgba(255, 255, 255, 0.6); --danger: #ff3333; --warning: #ffc107; --transition: all 0.3s ease; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Poppins', sans-serif; overflow: hidden; background: transparent; } /* ============================================================ OVERLAY & VIGNETTE ============================================================ */ .deathscreen { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.8s ease; } .deathscreen.visible { opacity: 1; } .deathscreen.hidden { display: none; } .overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100% ); z-index: 1; } .vignette { position: absolute; top: 0; left: 0; width: 100%; height: 100%; box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.6); z-index: 2; pointer-events: none; } /* ============================================================ CONTENT ============================================================ */ .content { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 24px; animation: fadeInDown 0.6s ease forwards; } /* ============================================================ DEATH ICON ============================================================ */ .death-icon { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 36px; background: var(--bg-card); border: 2px solid var(--border); color: var(--warning); animation: pulse 2s ease-in-out infinite; } .death-icon.bleeding { color: var(--primary); border-color: rgba(255, 107, 53, 0.3); } .death-icon.dead { color: var(--danger); border-color: rgba(255, 51, 51, 0.3); animation: none; } /* ============================================================ STATUS TEXT ============================================================ */ .status-text { font-size: 28px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--warning); text-shadow: 0 0 30px rgba(255, 193, 7, 0.4); } .status-text.bleeding { color: var(--primary); text-shadow: 0 0 30px rgba(255, 107, 53, 0.4); } .status-text.dead { color: var(--danger); text-shadow: 0 0 30px rgba(255, 51, 51, 0.4); } /* ============================================================ TIMER ============================================================ */ .timer-container { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 300px; } .timer-bar-wrapper { width: 100%; height: 4px; background: rgba(255, 255, 255, 0.1); border-radius: 2px; overflow: hidden; } .timer-bar { height: 100%; width: 100%; background: var(--gradient); border-radius: 2px; transition: width 1s linear; } .timer-bar.bleeding { background: linear-gradient(135deg, var(--primary), var(--primary-light)); } .timer-bar.dead { background: var(--danger); width: 0% !important; } .timer-text { display: flex; align-items: center; gap: 8px; } .timer-label { font-size: 13px; font-weight: 400; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; } .timer-value { font-size: 22px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; } /* ============================================================ ACTION TEXT ============================================================ */ .action-container { margin-top: 8px; } .action-text { font-size: 13px; font-weight: 400; color: var(--text-muted); text-align: center; letter-spacing: 0.5px; } .action-text.respawn-ready { color: var(--primary); animation: pulse 1.5s ease-in-out infinite; font-weight: 500; } .action-text.ems-called { color: var(--accent); } /* ============================================================ DISPATCH POPUP ============================================================ */ .dispatch { position: fixed; bottom: 25%; left: 20px; z-index: 10000; background: rgba(15, 15, 25, 0.9); border: 1px solid rgba(255, 255, 255, 0.15); border-left: 3px solid var(--primary); border-radius: 8px; padding: 16px 20px; min-width: 280px; animation: slideInLeft 0.4s ease forwards; } .dispatch.hidden { display: none; } .dispatch-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; } .dispatch-header i { color: var(--primary); font-size: 18px; } .dispatch-header span { font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: 1px; } .dispatch-street { font-family: 'Poppins', sans-serif; font-size: 13px; color: var(--text-muted); margin-bottom: 14px; } .dispatch-keys { display: flex; gap: 14px; } .dispatch-key { font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 500; display: flex; align-items: center; gap: 6px; } .dispatch-key.accept { color: #4caf50; } .dispatch-key.decline { color: #f44336; } .dispatch-key kbd { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 4px; padding: 2px 8px; font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 600; color: var(--text); } /* ============================================================ ANIMATIONS ============================================================ */ @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } } @keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.8; } } @keyframes slideInLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } } @keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }