/**
 * Animations CSS - Stream 21
 * Additional animation styles for visual effects system
 */

/* ============================================
   VFX SETTINGS PANEL
   ============================================ */

.vfx-settings-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    background: var(--color-bg-primary, #1a1a1a);
    border: 2px solid var(--color-border, #333);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    overflow-y: auto;
    color: var(--color-text-primary, #fff);
    font-family: var(--font-family, 'Courier New', monospace);

.vfx-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border, #333);

.vfx-panel-header h3 {
    margin: 0;
    font-size: 18px;
    color: var(--color-text-primary, #fff);

.vfx-close-btn {
    background: none;
    border: none;
    color: var(--color-text-primary, #fff);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;

.vfx-close-btn:hover {
    background: var(--color-bg-secondary, #2a2a2a);

.vfx-panel-content {
    padding: 20px;

.vfx-section {
    margin-bottom: 24px;

.vfx-section:last-child {
    margin-bottom: 0;

.vfx-section h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: var(--color-text-secondary, #aaa);
    text-transform: uppercase;
    letter-spacing: 1px;

.vfx-toggle-group {
    display: flex;
    flex-direction: column;
    gap: 12px;

.vfx-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.2s;

.vfx-toggle:hover {
    background: var(--color-bg-secondary, #2a2a2a);

.vfx-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;

.vfx-toggle span {
    flex: 1;
    font-size: 14px;
    color: var(--color-text-primary, #fff);

/* ============================================
   PERFORMANCE INFO
   ============================================ */

.vfx-performance-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px;
    background: var(--color-bg-secondary, #2a2a2a);
    border-radius: 4px;

.vfx-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;

.vfx-stat-label {
    font-size: 13px;
    color: var(--color-text-secondary, #aaa);

.vfx-stat-value {
    font-size: 13px;
    font-weight: bold;
    color: var(--color-text-primary, #fff);

.vfx-performance-mode {
    display: flex;
    flex-direction: column;
    gap: 8px;

.vfx-performance-mode label {
    font-size: 13px;
    color: var(--color-text-secondary, #aaa);

.vfx-performance-mode select {
    padding: 8px;
    background: var(--color-bg-secondary, #2a2a2a);
    border: 1px solid var(--color-border, #333);
    border-radius: 4px;
    color: var(--color-text-primary, #fff);
    font-family: var(--font-family, 'Courier New', monospace);
    font-size: 13px;
    cursor: pointer;

.vfx-performance-mode select:focus {
    outline: none;
    border-color: var(--color-primary, #4a90e2);

/* ============================================
   TEST BUTTONS
   ============================================ */

.vfx-test-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;

.vfx-test-btn {
    padding: 10px;
    background: var(--color-bg-secondary, #2a2a2a);
    border: 1px solid var(--color-border, #333);
    border-radius: 4px;
    color: var(--color-text-primary, #fff);
    font-family: var(--font-family, 'Courier New', monospace);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;

.vfx-test-btn:hover {
    background: var(--color-primary, #4a90e2);
    border-color: var(--color-primary, #4a90e2);
    transform: scale(1.05);

.vfx-test-btn:active {
    transform: scale(0.95);

.vfx-reset-btn {
    width: 100%;
    padding: 10px;
    background: var(--color-danger, #dc3545);
    border: 1px solid var(--color-danger, #dc3545);
    border-radius: 4px;
    color: var(--color-text-primary, #fff);
    font-family: var(--font-family, 'Courier New', monospace);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;

.vfx-reset-btn:hover {
    background: #c82333;
    border-color: #c82333;
    transform: scale(1.02);

.vfx-reset-btn:active {
    transform: scale(0.98);

/* ============================================
   HIT MARKERS & DAMAGE NUMBERS
   ============================================ */

.vfx-hit-marker {
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8), 0 0 20px currentColor;
    user-select: none;
    animation: vfx-damage-float 0.8s ease-out forwards;

@keyframes vfx-damage-float {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;

    100% {
        transform: translateY(-50px) scale(1.2);
        opacity: 0;

/* ============================================
   ANIMATION KEYFRAMES
   ============================================ */

@keyframes vfx-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;

    50% {
        transform: scale(1.05);
        opacity: 0.8;

@keyframes vfx-shake {
    0%, 100% {
        transform: translateX(0);

    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);

    20%, 40%, 60%, 80% {
        transform: translateX(5px);

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 600px) {
    .vfx-settings-panel {
        width: 95%;
        max-height: 90vh;

    .vfx-test-buttons {
        grid-template-columns: 1fr;

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .vfx-hit-marker,
    .vfx-test-btn,
    .vfx-reset-btn {
        animation: none !important;
        transition: none !important;

    .vfx-test-btn:hover,
    .vfx-reset-btn:hover {
        transform: none !important;

}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}