:root {
    /* Dark Theme Colors */
    --game-bg-dark: #0a0e17;
    --game-bg-main: #0f172a;
    --game-surface-1: #1e293b;
    --game-surface-2: #334155;
    --game-surface-3: #475569;
    --game-border: #475569;
    --game-border-light: #64748b;
    
    /* Accent Colors */
    --game-primary: #3b82f6;
    --game-primary-glow: rgba(59, 130, 246, 0.5);
    --game-success: #10b981;
    --game-success-glow: rgba(16, 185, 129, 0.5);
    --game-warning: #f59e0b;
    --game-warning-glow: rgba(245, 158, 11, 0.5);
    --game-danger: #ef4444;
    --game-purple: #8b5cf6;
    --game-cyan: #06b6d4;
    
    /* Text Colors */
    --game-text-primary: #f8fafc;
    --game-text-secondary: #94a3b8;
    --game-text-muted: #64748b;
    
    /* Neon Effects */
    --neon-blue: 0 0 20px rgba(59, 130, 246, 0.7), 0 0 40px rgba(59, 130, 246, 0.4);
    --neon-green: 0 0 20px rgba(16, 185, 129, 0.7), 0 0 40px rgba(16, 185, 129, 0.4);
    --neon-gold: 0 0 20px rgba(245, 158, 11, 0.7), 0 0 40px rgba(245, 158, 11, 0.4);
    
    /* Timing */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* =================== Base Styles =================== */
.game-container {
    background: linear-gradient(135deg, var(--game-bg-dark) 0%, var(--game-bg-main) 100%);
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--game-text-primary);
}

/* =================== Card Styles =================== */
.game-card {
    background: var(--game-surface-1);
    border: 1px solid var(--game-border);
    border-radius: 1rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--game-primary), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.game-card:hover {
    border-color: var(--game-primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), var(--neon-blue);
}

.game-card:hover::before {
    opacity: 1;
}

/* =================== Priority Card =================== */
.game-card.priority {
    border-color: var(--game-warning);
    animation: priority-pulse 2s infinite;
}

.game-card.priority::before {
    background: linear-gradient(90deg, transparent, var(--game-warning), transparent);
    opacity: 1;
}

.game-card.priority::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(245, 158, 11, 0.05) 50%,
        transparent 70%
    );
    animation: shine 3s infinite;
}

@keyframes priority-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.3); }
    50% { box-shadow: 0 0 40px rgba(245, 158, 11, 0.6); }
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* =================== Timer Display =================== */
.game-timer {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--game-surface-2);
    border: 1px solid var(--game-border);
    border-radius: 2rem;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--game-text-primary);
    transition: all var(--transition-normal);
}

.game-timer.running {
    border-color: var(--game-primary);
    box-shadow: var(--neon-blue);
    animation: timer-glow 1.5s infinite alternate;
}

.game-timer .timer-icon {
    font-size: 1rem;
    animation: pulse 1s infinite;
}

@keyframes timer-glow {
    0% { box-shadow: 0 0 10px var(--game-primary-glow); }
    100% { box-shadow: 0 0 25px var(--game-primary-glow); }
}

/* =================== Progress Bar =================== */
.game-progress {
    height: 12px;
    background: var(--game-surface-2);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.game-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--game-primary), var(--game-cyan));
    border-radius: 6px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.game-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.game-progress.complete .game-progress-bar {
    background: linear-gradient(90deg, var(--game-success), #34d399);
    box-shadow: var(--neon-green);
}

/* =================== Buttons =================== */
.game-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.game-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.game-btn:active::before {
    width: 300px;
    height: 300px;
}

.game-btn-primary {
    background: linear-gradient(135deg, var(--game-primary), #2563eb);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.game-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5), var(--neon-blue);
}

.game-btn-success {
    background: linear-gradient(135deg, var(--game-success), #059669);
    color: white;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.game-btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5), var(--neon-green);
}

.game-btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    border-radius: 1.5rem;
}

/* =================== Item Complete Animation =================== */
.item-complete-effect {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: confetti-fall 1.5s ease-out forwards;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg) scale(0);
        opacity: 0;
    }
}

/* Success flash effect */
.success-flash {
    animation: flash-green 0.5s ease-out;
}

@keyframes flash-green {
    0% { background-color: transparent; }
    50% { background-color: rgba(16, 185, 129, 0.2); }
    100% { background-color: transparent; }
}

/* =================== Mission Complete Screen =================== */
.mission-complete-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fade-in 0.5s ease;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mission-complete-content {
    text-align: center;
    animation: scale-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scale-in {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.mission-complete-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--game-success), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: var(--neon-green), 0 0 60px rgba(16, 185, 129, 0.4);
    animation: icon-pulse 2s infinite;
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.mission-complete-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #10b981, #34d399, #6ee7b7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
}

.mission-complete-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.stat-item {
    background: var(--game-surface-1);
    border: 1px solid var(--game-border);
    border-radius: 1rem;
    padding: 1.5rem 2rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--game-text-primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--game-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =================== Badge Styles =================== */
.game-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 2rem;
}

.game-badge-priority {
    background: rgba(245, 158, 11, 0.2);
    color: var(--game-warning);
    border: 1px solid rgba(245, 158, 11, 0.4);
    animation: badge-glow 1.5s infinite alternate;
}

@keyframes badge-glow {
    from { box-shadow: 0 0 5px rgba(245, 158, 11, 0.3); }
    to { box-shadow: 0 0 15px rgba(245, 158, 11, 0.5); }
}

/* =================== Input Fields =================== */
.game-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--game-bg-main);
    border: 2px solid var(--game-border);
    border-radius: 0.75rem;
    color: var(--game-text-primary);
    font-size: 1.125rem;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.game-input:focus {
    outline: none;
    border-color: var(--game-primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.game-input::placeholder {
    color: var(--game-text-muted);
}

/* =================== Animations Utility Classes =================== */
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-bounce { animation: bounce 1s infinite; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-slide-up { animation: slide-up 0.4s ease-out; }
.animate-slide-down { animation: slide-down 0.4s ease-out; }
.animate-shake { animation: shake 0.5s ease-in-out; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes slide-up {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slide-down {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* =================== Extrato (Activity Log) =================== */
.game-extrato {
    background: var(--game-surface-1);
    border: 1px solid var(--game-border);
    border-radius: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.game-extrato::-webkit-scrollbar {
    width: 6px;
}

.game-extrato::-webkit-scrollbar-track {
    background: var(--game-surface-2);
    border-radius: 3px;
}

.game-extrato::-webkit-scrollbar-thumb {
    background: var(--game-border-light);
    border-radius: 3px;
}

.extrato-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--game-border);
    transition: background var(--transition-fast);
}

.extrato-item:last-child {
    border-bottom: none;
}

.extrato-item:hover {
    background: var(--game-surface-2);
}

.extrato-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.extrato-icon.success {
    background: rgba(16, 185, 129, 0.2);
    color: var(--game-success);
}

.extrato-icon.skip {
    background: rgba(245, 158, 11, 0.2);
    color: var(--game-warning);
}

.extrato-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: var(--game-text-secondary);
    margin-left: auto;
}

/* =================== Notifications =================== */
.game-notification {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 1rem 1.5rem;
    background: var(--game-surface-1);
    border: 1px solid var(--game-border);
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    animation: notification-in 0.4s ease-out;
}

.game-notification.success {
    border-color: var(--game-success);
    border-left: 4px solid var(--game-success);
}

.game-notification.warning {
    border-color: var(--game-warning);
    border-left: 4px solid var(--game-warning);
}

@keyframes notification-in {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* =================== Request Buttons =================== */
.game-request-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: transparent;
    border: 1px solid var(--game-border);
    border-radius: 0.75rem;
    color: var(--game-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.game-request-btn:hover {
    background: var(--game-surface-2);
    color: var(--game-text-primary);
    border-color: var(--game-border-light);
}

.game-request-btn.danger:hover {
    border-color: var(--game-danger);
    color: var(--game-danger);
}

/* =================== Responsive =================== */
@media (max-width: 640px) {
    .mission-complete-title {
        font-size: 2rem;
    }
    
    .mission-complete-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .game-btn-large {
        width: 100%;
    }
}
=======
/**
 * Game Effects CSS - Missões Logísticas Gamificadas
 * Premium Dark Theme with Game-like Visual Effects
 */

/* =================== CSS Variables =================== */
:root {
    /* Dark Theme Colors */
    --game-bg-dark: #0a0e17;
    --game-bg-main: #0f172a;
    --game-surface-1: #1e293b;
    --game-surface-2: #334155;
    --game-surface-3: #475569;
    --game-border: #475569;
    --game-border-light: #64748b;
    
    /* Accent Colors */
    --game-primary: #3b82f6;
    --game-primary-glow: rgba(59, 130, 246, 0.5);
    --game-success: #10b981;
    --game-success-glow: rgba(16, 185, 129, 0.5);
    --game-warning: #f59e0b;
    --game-warning-glow: rgba(245, 158, 11, 0.5);
    --game-danger: #ef4444;
    --game-purple: #8b5cf6;
    --game-cyan: #06b6d4;
    
    /* Text Colors */
    --game-text-primary: #f8fafc;
    --game-text-secondary: #94a3b8;
    --game-text-muted: #64748b;
    
    /* Neon Effects */
    --neon-blue: 0 0 20px rgba(59, 130, 246, 0.7), 0 0 40px rgba(59, 130, 246, 0.4);
    --neon-green: 0 0 20px rgba(16, 185, 129, 0.7), 0 0 40px rgba(16, 185, 129, 0.4);
    --neon-gold: 0 0 20px rgba(245, 158, 11, 0.7), 0 0 40px rgba(245, 158, 11, 0.4);
    
    /* Timing */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* =================== Base Styles =================== */
.game-container {
    background: linear-gradient(135deg, var(--game-bg-dark) 0%, var(--game-bg-main) 100%);
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--game-text-primary);
}

/* =================== Card Styles =================== */
.game-card {
    background: var(--game-surface-1);
    border: 1px solid var(--game-border);
    border-radius: 1rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--game-primary), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.game-card:hover {
    border-color: var(--game-primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), var(--neon-blue);
}

.game-card:hover::before {
    opacity: 1;
}

/* =================== Priority Card =================== */
.game-card.priority {
    border-color: var(--game-warning);
    animation: priority-pulse 2s infinite;
}

.game-card.priority::before {
    background: linear-gradient(90deg, transparent, var(--game-warning), transparent);
    opacity: 1;
}

.game-card.priority::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(245, 158, 11, 0.05) 50%,
        transparent 70%
    );
    animation: shine 3s infinite;
}

@keyframes priority-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.3); }
    50% { box-shadow: 0 0 40px rgba(245, 158, 11, 0.6); }
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* =================== Timer Display =================== */
.game-timer {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--game-surface-2);
    border: 1px solid var(--game-border);
    border-radius: 2rem;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--game-text-primary);
    transition: all var(--transition-normal);
}

.game-timer.running {
    border-color: var(--game-primary);
    box-shadow: var(--neon-blue);
    animation: timer-glow 1.5s infinite alternate;
}

.game-timer .timer-icon {
    font-size: 1rem;
    animation: pulse 1s infinite;
}

@keyframes timer-glow {
    0% { box-shadow: 0 0 10px var(--game-primary-glow); }
    100% { box-shadow: 0 0 25px var(--game-primary-glow); }
}

/* =================== Progress Bar =================== */
.game-progress {
    height: 12px;
    background: var(--game-surface-2);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.game-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--game-primary), var(--game-cyan));
    border-radius: 6px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.game-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.game-progress.complete .game-progress-bar {
    background: linear-gradient(90deg, var(--game-success), #34d399);
    box-shadow: var(--neon-green);
}

/* =================== Buttons =================== */
.game-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.game-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.game-btn:active::before {
    width: 300px;
    height: 300px;
}

.game-btn-primary {
    background: linear-gradient(135deg, var(--game-primary), #2563eb);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.game-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5), var(--neon-blue);
}

.game-btn-success {
    background: linear-gradient(135deg, var(--game-success), #059669);
    color: white;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.game-btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5), var(--neon-green);
}

.game-btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    border-radius: 1.5rem;
}

/* =================== Item Complete Animation =================== */
.item-complete-effect {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: confetti-fall 1.5s ease-out forwards;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg) scale(0);
        opacity: 0;
    }
}

/* Success flash effect */
.success-flash {
    animation: flash-green 0.5s ease-out;
}

@keyframes flash-green {
    0% { background-color: transparent; }
    50% { background-color: rgba(16, 185, 129, 0.2); }
    100% { background-color: transparent; }
}

/* =================== Mission Complete Screen =================== */
.mission-complete-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fade-in 0.5s ease;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mission-complete-content {
    text-align: center;
    animation: scale-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scale-in {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.mission-complete-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--game-success), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: var(--neon-green), 0 0 60px rgba(16, 185, 129, 0.4);
    animation: icon-pulse 2s infinite;
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.mission-complete-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #10b981, #34d399, #6ee7b7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
}

.mission-complete-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.stat-item {
    background: var(--game-surface-1);
    border: 1px solid var(--game-border);
    border-radius: 1rem;
    padding: 1.5rem 2rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--game-text-primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--game-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =================== Badge Styles =================== */
.game-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 2rem;
}

.game-badge-priority {
    background: rgba(245, 158, 11, 0.2);
    color: var(--game-warning);
    border: 1px solid rgba(245, 158, 11, 0.4);
    animation: badge-glow 1.5s infinite alternate;
}

@keyframes badge-glow {
    from { box-shadow: 0 0 5px rgba(245, 158, 11, 0.3); }
    to { box-shadow: 0 0 15px rgba(245, 158, 11, 0.5); }
}

/* =================== Input Fields =================== */
.game-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--game-bg-main);
    border: 2px solid var(--game-border);
    border-radius: 0.75rem;
    color: var(--game-text-primary);
    font-size: 1.125rem;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.game-input:focus {
    outline: none;
    border-color: var(--game-primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.game-input::placeholder {
    color: var(--game-text-muted);
}

/* =================== Animations Utility Classes =================== */
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-bounce { animation: bounce 1s infinite; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-slide-up { animation: slide-up 0.4s ease-out; }
.animate-slide-down { animation: slide-down 0.4s ease-out; }
.animate-shake { animation: shake 0.5s ease-in-out; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes slide-up {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slide-down {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* =================== Extrato (Activity Log) =================== */
.game-extrato {
    background: var(--game-surface-1);
    border: 1px solid var(--game-border);
    border-radius: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.game-extrato::-webkit-scrollbar {
    width: 6px;
}

.game-extrato::-webkit-scrollbar-track {
    background: var(--game-surface-2);
    border-radius: 3px;
}

.game-extrato::-webkit-scrollbar-thumb {
    background: var(--game-border-light);
    border-radius: 3px;
}

.extrato-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--game-border);
    transition: background var(--transition-fast);
}

.extrato-item:last-child {
    border-bottom: none;
}

.extrato-item:hover {
    background: var(--game-surface-2);
}

.extrato-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.extrato-icon.success {
    background: rgba(16, 185, 129, 0.2);
    color: var(--game-success);
}

.extrato-icon.skip {
    background: rgba(245, 158, 11, 0.2);
    color: var(--game-warning);
}

.extrato-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: var(--game-text-secondary);
    margin-left: auto;
}

/* =================== Notifications =================== */
.game-notification {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 1rem 1.5rem;
    background: var(--game-surface-1);
    border: 1px solid var(--game-border);
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    animation: notification-in 0.4s ease-out;
}

.game-notification.success {
    border-color: var(--game-success);
    border-left: 4px solid var(--game-success);
}

.game-notification.warning {
    border-color: var(--game-warning);
    border-left: 4px solid var(--game-warning);
}

@keyframes notification-in {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* =================== Request Buttons =================== */
.game-request-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: transparent;
    border: 1px solid var(--game-border);
    border-radius: 0.75rem;
    color: var(--game-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.game-request-btn:hover {
    background: var(--game-surface-2);
    color: var(--game-text-primary);
    border-color: var(--game-border-light);
}

.game-request-btn.danger:hover {
    border-color: var(--game-danger);
    color: var(--game-danger);
}

/* =================== Responsive =================== */
@media (max-width: 640px) {
    .mission-complete-title {
        font-size: 2rem;
    }
    
    .mission-complete-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .game-btn-large {
        width: 100%;
    }
}
