* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Rajdhani', 'Segoe UI', sans-serif; font-weight: 700; } body { background: transparent !important; color: white; overflow: hidden; } /* Load font directly without Google Fonts API */ @font-face { font-family: 'Rajdhani'; src: local('Rajdhani Bold'), local('Rajdhani-Bold'), url('fonts/Rajdhani-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; } .hidden { display: none !important; opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; } /* HUD Styles */ .hud-container { position: fixed; top: 24px; left: 50%; transform: translateX(-50%); z-index: 50; pointer-events: none; } .hud-content { background: rgba(17, 24, 39, 0.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(75, 85, 99, 0.5); border-radius: 16px; padding: 18px 36px; display: flex; align-items: center; gap: 36px; box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.3); } .hud-section { display: flex; align-items: center; gap: 14px; } .time-section { padding: 0 18px; } .hud-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.1); } .kills-icon { background: rgba(239, 68, 68, 0.25); color: #f87171; } .kd-icon { background: rgba(34, 197, 94, 0.25); color: #4ade80; } .hud-data { text-align: center; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); } .hud-value { font-size: 26px; font-weight: 800; color: white; line-height: 1; letter-spacing: 0.5px; } .hud-time { font-size: 34px; font-weight: 800; color: white; font-family: 'Barlow Mono', monospace; letter-spacing: 3px; line-height: 1; } .hud-label { font-size: 13px; color: rgba(156, 163, 175, 0.9); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 4px; font-weight: 700; } /* Gun Voting Styles - Modernized */ .voting-container { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 60; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; } .voting-container.active { opacity: 1; } .voting-content { width: 100%; max-width: 1400px; margin: 0 auto; padding: 40px; } .voting-header { text-align: center; margin-bottom: 40px; } .voting-title { font-size: 52px; font-weight: 800; color: white; margin-bottom: 20px; letter-spacing: 3px; text-transform: uppercase; text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); } .voting-timer { font-size: 26px; color: rgba(209, 213, 219, 0.9); font-weight: 700; } #voting-time { color: #f87171; font-family: 'Barlow Mono', monospace; font-weight: 800; letter-spacing: 2px; } .gun-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-bottom: 40px; } .gun-card { position: relative; background: rgba(31, 41, 55, 0.6); border: 1px solid rgba(75, 85, 99, 0.6); border-radius: 16px; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); overflow: hidden; transform: translateY(0); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); } .gun-card:hover { background: rgba(55, 65, 81, 0.7); border-color: rgba(107, 114, 128, 0.8); transform: translateY(-10px) scale(1.03); box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3); } .gun-card.selected { border-color: #4ade80; background: rgba(34, 197, 94, 0.3); box-shadow: 0 0 24px rgba(74, 222, 128, 0.3); transform: translateY(-6px); } .gun-image { aspect-ratio: 16/9; overflow: hidden; border-radius: 16px 16px 0 0; background: rgba(0, 0, 0, 0.3); } .gun-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; } .gun-card:hover .gun-image img { transform: scale(1.05); } .gun-info { padding: 28px; } .gun-name { font-size: 22px; font-weight: 800; color: white; margin-bottom: 12px; letter-spacing: 0.5px; } .vote-stats { margin-bottom: 16px; } .vote-stats-header { display: flex; justify-content: space-between; font-size: 15px; color: rgba(156, 163, 175, 0.9); margin-bottom: 6px; font-weight: 700; } .vote-progress-bar { width: 100%; background: rgba(55, 65, 81, 0.6); border-radius: 9999px; height: 10px; overflow: hidden; } .vote-progress-fill { height: 100%; background: linear-gradient(90deg, #4ade80, #22c55e); transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1); border-radius: 9999px; } .vote-status { color: #4ade80; font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; } .voting-instructions { text-align: center; color: rgba(156, 163, 175, 0.9); font-size: 20px; font-weight: 700; letter-spacing: 0.5px; } .voting-instructions.voted { color: #4ade80; } /* Large screens */ @media (min-width: 1024px) { .gun-grid { grid-template-columns: repeat(4, 1fr); } .voting-title { font-size: 56px; } } /* Medium screens */ @media (max-width: 1024px) { .gun-grid { grid-template-columns: repeat(2, 1fr); } .voting-title { font-size: 42px; } .hud-content { padding: 16px 28px; gap: 28px; } } /* Small screens */ @media (max-width: 768px) { .hud-content { gap: 18px; padding: 14px 22px; } .hud-value { font-size: 22px; } .hud-time { font-size: 28px; } .gun-grid { grid-template-columns: 1fr; } .voting-content { padding: 24px; } .voting-title { font-size: 36px; } } /* Animations */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } } @keyframes pulseGlow { 0%, 100% { box-shadow: 0 0 24px rgba(74, 222, 128, 0.3); } 50% { box-shadow: 0 0 36px rgba(74, 222, 128, 0.5); } } .fade-in-up { animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; } .pulse-glow { animation: pulseGlow 2s ease-in-out infinite; } /* Add this to prevent black screen */ #nui-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; display: none; } #nui-container.active { display: block; pointer-events: all; }