/* ==========================================
   WARZONE FURY - Complete Game Styles
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Orbitron:wght@400;500;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
}

body {
    overflow: hidden;
    background: #000;
    font-family: 'Rajdhani', sans-serif;
    color: #fff;
    cursor: none;
}

canvas#game-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

/* ==========================================
   SCREENS
   ========================================== */
.screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    display: none;
    justify-content: center;
    align-items: center;
}
.screen.active {
    display: flex;
}

/* ==========================================
   MAIN MENU
   ========================================== */
.menu-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 30%, #16213e 60%, #0f3460 100%);
    z-index: -1;
}
.menu-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(255,107,0,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0,195,255,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(255,0,60,0.05) 0%, transparent 50%);
    animation: menuPulse 8s ease-in-out infinite;
}
@keyframes menuPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}
.menu-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4"><rect width="1" height="1" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
}

.menu-content {
    text-align: center;
    z-index: 10;
}

.game-logo {
    margin-bottom: 60px;
}
.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 72px;
    font-weight: 900;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 
        0 0 20px rgba(255,107,0,0.5),
        0 0 40px rgba(255,107,0,0.3),
        0 4px 8px rgba(0,0,0,0.5);
    animation: logoGlow 3s ease-in-out infinite;
}
.logo-accent {
    color: #ff6b00;
    text-shadow: 
        0 0 20px rgba(255,107,0,0.8),
        0 0 40px rgba(255,107,0,0.4),
        0 0 80px rgba(255,107,0,0.2);
}
.logo-sub {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    letter-spacing: 20px;
    color: rgba(255,255,255,0.4);
    margin-top: 10px;
}
@keyframes logoGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.1); }
}

.menu-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.menu-btn {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3px;
    padding: 16px 60px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 320px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}
.menu-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}
.menu-btn:hover::before {
    left: 100%;
}
.menu-btn:hover {
    border-color: #ff6b00;
    background: rgba(255,107,0,0.15);
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(255,107,0,0.2);
}
.menu-btn.primary {
    background: linear-gradient(135deg, #ff6b00, #ff8c00);
    border-color: #ff6b00;
    color: #000;
}
.menu-btn.primary:hover {
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    box-shadow: 0 0 40px rgba(255,107,0,0.4);
    transform: scale(1.05);
}
.btn-icon {
    margin-right: 10px;
}

.menu-footer {
    margin-top: 60px;
    color: rgba(255,255,255,0.3);
    font-size: 12px;
    max-width: 700px;
    letter-spacing: 1px;
    line-height: 1.8;
}

/* ==========================================
   LOADOUT SCREEN
   ========================================== */
.loadout-content, .settings-content {
    text-align: center;
    z-index: 10;
    background: rgba(10,10,20,0.95);
    padding: 50px;
    border: 1px solid rgba(255,107,0,0.3);
    backdrop-filter: blur(20px);
}
.loadout-content h2, .settings-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    letter-spacing: 5px;
    margin-bottom: 30px;
    color: #ff6b00;
}

.loadout-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.loadout-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.loadout-card:hover {
    border-color: #ff6b00;
    background: rgba(255,107,0,0.1);
    transform: translateY(-5px);
}
.loadout-card.selected {
    border-color: #ff6b00;
    background: rgba(255,107,0,0.2);
    box-shadow: 0 0 20px rgba(255,107,0,0.3);
}
.card-icon {
    font-size: 48px;
    margin-bottom: 10px;
}
.loadout-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    margin-bottom: 8px;
    letter-spacing: 2px;
}
.loadout-card p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* ==========================================
   SETTINGS
   ========================================== */
.setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    min-width: 500px;
}
.setting-row label {
    font-size: 16px;
    letter-spacing: 1px;
}
.setting-row input[type="range"] {
    width: 200px;
    accent-color: #ff6b00;
}
.setting-row select {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 8px 20px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
}
.setting-row span {
    width: 40px;
    text-align: right;
    color: #ff6b00;
    font-weight: 700;
}

/* ==========================================
   GAME HUD
   ========================================== */
.hud {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 50;
    pointer-events: none;
}
.hud.hidden { display: none; }
.hidden { display: none !important; }

.hud-panel {
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 16px;
    backdrop-filter: blur(5px);
}

/* Crosshair */
#crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 60;
}
.ch-line {
    position: absolute;
    background: #00ff00;
    box-shadow: 0 0 4px rgba(0,255,0,0.5);
}
.ch-top { width: 2px; height: 12px; left: -1px; top: -18px; }
.ch-bottom { width: 2px; height: 12px; left: -1px; top: 6px; }
.ch-left { width: 12px; height: 2px; top: -1px; left: -18px; }
.ch-right { width: 12px; height: 2px; top: -1px; left: 6px; }
.ch-dot { width: 2px; height: 2px; background: #00ff00; position: absolute; top: -1px; left: -1px; }

/* Hitmarker */
#hitmarker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 61;
    animation: hitmarkerAnim 0.2s ease-out forwards;
}
.hm-line {
    position: absolute;
    width: 2px;
    height: 10px;
    background: #fff;
}
.hm-1 { transform: translate(-8px, -8px) rotate(45deg); }
.hm-2 { transform: translate(6px, -8px) rotate(-45deg); }
.hm-3 { transform: translate(-8px, 6px) rotate(-45deg); }
.hm-4 { transform: translate(6px, 6px) rotate(45deg); }

@keyframes hitmarkerAnim {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(1.5); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}

/* Health & Shield Bars */
#health-bar {
    position: absolute;
    bottom: 30px;
    left: 30px;
}
#shield-bar {
    position: absolute;
    bottom: 70px;
    left: 30px;
}
.health-icon, .shield-icon {
    font-size: 20px;
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
}
.health-icon { color: #ff4444; }
.shield-icon { color: #44aaff; }
.bar-container {
    display: inline-block;
    width: 200px;
    height: 8px;
    background: rgba(255,255,255,0.1);
    vertical-align: middle;
    overflow: hidden;
}
.bar-fill {
    height: 100%;
    transition: width 0.3s ease;
}
.health-fill {
    width: 100%;
    background: linear-gradient(90deg, #ff4444, #ff6666);
}
.shield-fill {
    width: 100%;
    background: linear-gradient(90deg, #4488ff, #66aaff);
}
#health-text, #shield-text {
    margin-left: 10px;
    font-weight: 700;
    font-size: 18px;
    vertical-align: middle;
}

/* Ammo Counter */
#ammo-counter {
    position: absolute;
    bottom: 30px;
    right: 30px;
    text-align: right;
}
#ammo-current {
    font-family: 'Orbitron', sans-serif;
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}
.ammo-sep {
    font-size: 24px;
    opacity: 0.5;
    margin: 0 4px;
}
#ammo-reserve {
    font-size: 24px;
    opacity: 0.7;
}
#weapon-name {
    font-size: 12px;
    letter-spacing: 3px;
    opacity: 0.5;
    margin-top: 4px;
}

/* Weapon Slots */
#weapon-slots {
    position: absolute;
    bottom: 100px;
    right: 30px;
    display: flex;
    gap: 8px;
}
.weapon-slot {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 6px 12px;
    text-align: center;
    min-width: 60px;
    transition: all 0.2s ease;
}
.weapon-slot.active {
    border-color: #ff6b00;
    background: rgba(255,107,0,0.2);
}
.slot-num {
    font-size: 10px;
    opacity: 0.5;
    display: block;
}
.slot-name {
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 700;
}

/* Kill Feed */
#kill-feed {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 350px;
}
.kill-feed-entry {
    background: rgba(0,0,0,0.7);
    padding: 6px 12px;
    font-size: 12px;
    letter-spacing: 1px;
    animation: killFeedSlide 0.3s ease-out;
    border-left: 3px solid #ff6b00;
}
.kill-feed-entry .killer { color: #ff6b00; font-weight: 700; }
.kill-feed-entry .victim { color: #ff4444; font-weight: 700; }
.kill-feed-entry .weapon-icon { margin: 0 8px; opacity: 0.5; }
.kill-feed-entry.self-kill .killer { color: #00ff00; }

@keyframes killFeedSlide {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Kill Streak */
#kill-streak {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 62;
}
.streak-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: #ff6b00;
    text-shadow: 0 0 20px rgba(255,107,0,0.8), 0 0 40px rgba(255,107,0,0.4);
    animation: streakAnim 1.5s ease-out forwards;
    letter-spacing: 5px;
}
@keyframes streakAnim {
    0% { opacity: 0; transform: scale(2); }
    20% { opacity: 1; transform: scale(1); }
    80% { opacity: 1; }
    100% { opacity: 0; transform: scale(0.8) translateY(-20px); }
}

/* Minimap */
#minimap {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 180px;
    height: 180px;
    background: rgba(0,0,0,0.7);
    border: 1px solid rgba(255,255,255,0.2);
    overflow: hidden;
}
#minimap-canvas {
    width: 100%;
    height: 100%;
}

/* Score & Timer */
#score-display {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-120px);
}
#timer-display {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(20px);
}
.score-label {
    font-size: 10px;
    letter-spacing: 2px;
    opacity: 0.5;
    display: block;
}
#score-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #ff6b00;
}
#timer-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 700;
}
#kill-display {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
}
.kill-icon {
    margin-right: 5px;
}
#kill-count {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

/* Damage Indicator */
#damage-indicator {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}
.dmg-dir {
    position: absolute;
    opacity: 0;
    transition: opacity 0.1s;
}
.dmg-dir.active {
    opacity: 1;
    animation: dmgFlash 0.5s ease-out;
}
.dmg-top {
    top: 0; left: 20%; right: 20%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255,0,0,0.6), transparent);
}
.dmg-bottom {
    bottom: 0; left: 20%; right: 20%;
    height: 80px;
    background: linear-gradient(to top, rgba(255,0,0,0.6), transparent);
}
.dmg-left {
    left: 0; top: 20%; bottom: 20%;
    width: 80px;
    background: linear-gradient(to right, rgba(255,0,0,0.6), transparent);
}
.dmg-right {
    right: 0; top: 20%; bottom: 20%;
    width: 80px;
    background: linear-gradient(to left, rgba(255,0,0,0.6), transparent);
}
@keyframes dmgFlash {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Low Health Vignette */
#low-health-vignette {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
    box-shadow: inset 0 0 100px 40px rgba(255,0,0,0.4);
    animation: lowHealthPulse 1s ease-in-out infinite;
}
@keyframes lowHealthPulse {
    0%, 100% { box-shadow: inset 0 0 100px 40px rgba(255,0,0,0.3); }
    50% { box-shadow: inset 0 0 120px 50px rgba(255,0,0,0.5); }
}

/* Scope Overlay */
#scope-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 150px, #000 151px);
    z-index: 55;
}
.scope-crosshair {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
}
.scope-crosshair::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #000;
}
.scope-crosshair::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
    background: #000;
}

/* Reload Indicator */
#reload-indicator {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 12px;
    letter-spacing: 3px;
    opacity: 0.8;
}
.reload-ring {
    width: 40px;
    height: 40px;
    margin: 0 auto 8px;
}
.reload-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.reload-bg {
    fill: none;
    stroke: rgba(255,255,255,0.2);
    stroke-width: 2;
}
.reload-progress {
    fill: none;
    stroke: #ff6b00;
    stroke-width: 2;
    stroke-dasharray: 113;
    stroke-dashoffset: 113;
    transition: stroke-dashoffset 0.05s linear;
}

/* Interact Prompt */
#interact-prompt {
    position: absolute;
    bottom: 200px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}
.interact-key {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 4px 12px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    margin-right: 8px;
    font-size: 14px;
}
.interact-text {
    font-size: 14px;
    letter-spacing: 1px;
}

/* Build Mode */
#build-mode {
    position: absolute;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
}
.build-panel {
    background: rgba(0,0,0,0.8);
    border: 1px solid rgba(0,150,255,0.5);
    padding: 15px 25px;
    text-align: center;
}
.build-icon {
    font-size: 24px;
    margin-right: 8px;
}
.build-options {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.build-opt {
    background: rgba(0,150,255,0.1);
    border: 1px solid rgba(0,150,255,0.3);
    padding: 6px 14px;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.2s;
}
.build-opt:hover, .build-opt.active {
    background: rgba(0,150,255,0.3);
    border-color: #0096ff;
}
.build-materials {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    justify-content: center;
    font-size: 13px;
}

/* Emote Wheel */
#emote-wheel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(0,0,0,0.8);
    border: 2px solid rgba(255,107,0,0.3);
    pointer-events: auto;
}
.emote-option {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    margin-left: -40px;
    margin-top: -15px;
    text-align: center;
    font-size: 13px;
    padding: 6px;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 8px;
    transform: translate(calc(cos(var(--angle)) * 110px), calc(sin(var(--angle)) * 110px));
}
.emote-option:hover {
    background: rgba(255,107,0,0.3);
    transform: translate(calc(cos(var(--angle)) * 110px), calc(sin(var(--angle)) * 110px)) scale(1.1);
}

/* Scoreboard */
#scoreboard {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.9);
    border: 1px solid rgba(255,107,0,0.3);
    padding: 30px;
    min-width: 500px;
    backdrop-filter: blur(10px);
}
#scoreboard h2 {
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 5px;
    color: #ff6b00;
}
#scoreboard table {
    width: 100%;
    border-collapse: collapse;
}
#scoreboard th {
    padding: 8px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-size: 12px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
}
#scoreboard td {
    padding: 8px 15px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
#scoreboard tr.self td {
    color: #ff6b00;
    font-weight: 700;
}

/* Pickup Notification */
#pickup-notify {
    position: absolute;
    bottom: 200px;
    left: 50%;
    transform: translateX(-50%);
    animation: pickupAnim 2s ease-out forwards;
}
.pickup-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    letter-spacing: 3px;
    color: #ffaa00;
}
@keyframes pickupAnim {
    0% { opacity: 0; transform: translateX(-50%) translateY(20px); }
    20% { opacity: 1; transform: translateX(-50%) translateY(0); }
    80% { opacity: 1; }
    100% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
}

/* ==========================================
   GAME OVER SCREEN
   ========================================== */
.gameover-content {
    text-align: center;
    z-index: 10;
    background: rgba(0,0,0,0.95);
    padding: 60px 80px;
    border: 1px solid rgba(255,107,0,0.3);
}
#gameover-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    letter-spacing: 8px;
    margin-bottom: 40px;
    color: #ff6b00;
    text-shadow: 0 0 20px rgba(255,107,0,0.5);
}
.gameover-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-bottom: 40px;
}
.stat-item {
    text-align: center;
}
.stat-label {
    display: block;
    font-size: 12px;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 8px;
}
.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: #fff;
}
.gameover-xp {
    margin-bottom: 30px;
}
.xp-bar {
    width: 400px;
    height: 6px;
    background: rgba(255,255,255,0.1);
    margin: 0 auto 10px;
    border-radius: 3px;
    overflow: hidden;
}
.xp-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #ff6b00, #ffaa00);
    border-radius: 3px;
    transition: width 2s ease-out;
}
#xp-text {
    font-size: 14px;
    color: #ffaa00;
    letter-spacing: 2px;
}

/* ==========================================
   RESPAWN SCREEN
   ========================================== */
.respawn-content {
    text-align: center;
    z-index: 10;
    background: rgba(0,0,0,0.8);
    padding: 40px 60px;
}
.respawn-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    color: #ff4444;
    letter-spacing: 5px;
    margin-bottom: 10px;
}
#killed-by {
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}
.respawn-timer {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    color: #ff6b00;
}
#respawn-countdown {
    font-size: 36px;
    font-weight: 900;
}

/* ==========================================
   PAUSE SCREEN
   ========================================== */
#pause-screen {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.pause-content {
    text-align: center;
    padding: 3rem;
}

.pause-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: #00ffff;
    margin-bottom: 3rem;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.pause-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.pause-tip {
    margin-top: 3rem;
    font-size: 0.9rem;
    color: #999;
}

/* ==========================================
   LOADING SCREEN
   ========================================== */
#loading-screen {
    background: #0a0a0a;
}
.loading-content {
    text-align: center;
}
.loading-content .logo-text {
    font-size: 48px;
    margin-bottom: 40px;
}
.loading-bar {
    width: 400px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    margin: 0 auto 20px;
    overflow: hidden;
}
.loading-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #ff6b00, #ffaa00);
    transition: width 0.3s ease;
}
#loading-text {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 2px;
}
.loading-tips {
    margin-top: 60px;
    max-width: 500px;
}
#loading-tip {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
    line-height: 1.6;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Weapon sway visualization via crosshair spread */
.crosshair-spread-1 .ch-top { top: -20px; }
.crosshair-spread-1 .ch-bottom { top: 8px; }
.crosshair-spread-1 .ch-left { left: -20px; }
.crosshair-spread-1 .ch-right { left: 8px; }

.crosshair-spread-2 .ch-top { top: -24px; }
.crosshair-spread-2 .ch-bottom { top: 12px; }
.crosshair-spread-2 .ch-left { left: -24px; }
.crosshair-spread-2 .ch-right { left: 12px; }

/* Headshot marker */
.headshot-marker {
    color: #ff0000;
    font-weight: 900;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-text { font-size: 36px; }
    .loadout-grid { grid-template-columns: repeat(2, 1fr); }
    .menu-btn { min-width: 260px; padding: 12px 40px; }
}
