/* panda-aviator.css */

.clouds-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><path fill="rgba(255,255,255,0.2)" d="M100 100 Q150 50 200 100 Q250 80 300 120 Q250 150 200 120 Q150 150 100 100 Z M400 200 Q450 150 500 200 Q550 180 600 220 Q550 250 500 220 Q450 250 400 200 Z" /></svg>') repeat-x;
    background-size: 800px 400px;
    animation: moveClouds 20s linear infinite;
    z-index: 5;
    pointer-events: none;
}

@keyframes moveClouds {
    0% { transform: translateX(0); }
    100% { transform: translateX(-800px); }
}

@keyframes planeTakeoff {
    0% { transform: translate(0, 0) rotate(0deg); }
    10% { transform: translate(10px, -5px) rotate(5deg); }
    100% { transform: translate(50vw, -40vh) rotate(15deg); }
}

@keyframes planeTremble {
    0% { transform: translate(0, 0) rotate(15deg); }
    25% { transform: translate(-2px, 2px) rotate(14deg); }
    50% { transform: translate(2px, -2px) rotate(16deg); }
    75% { transform: translate(2px, 2px) rotate(15deg); }
    100% { transform: translate(0, 0) rotate(15deg); }
}

@keyframes planeCrash {
    0% { transform: translate(0, 0) rotate(15deg); opacity: 1; }
    100% { transform: translate(100vw, -100vh) rotate(45deg); opacity: 0; }
}

.aviator-status-toast {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    z-index: 20;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.aviator-status-toast.show {
    opacity: 1;
}

.text-danger {
    color: #ef4444;
}

.text-success {
    color: #22c55e;
}
