.rocket-flight-container {
    width: 100%;
    max-width: 1200px;
    height: 240px;
    background: linear-gradient(180deg, 
        #0a1428 0%,
        #0a1428 40%,
        #0d47a1 70%,
        #1565c0 85%,
        #42a5f5 100%);
    position: relative;
    overflow: hidden;
}

/* Звёзты на фоне */
.rocket-flight-container .star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    box-shadow: 0 0 2px white;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Контейнер Земли */
.rocket-flight-container .earth-container {
    position: absolute;
    bottom: 15px;
    left: 2%;
    z-index: 2;
    text-align: center;
}

.rocket-flight-container .earth {
    font-size: 60px;
    filter: drop-shadow(0 0 20px rgba(76, 175, 80, 0.8));
}

.rocket-flight-container .label-earth {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Контейнер Луны */
.rocket-flight-container .moon-container {
    position: absolute;
    bottom: 50px;
    left: 30%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

.rocket-flight-container .moon {
    font-size: 50px;
    filter: drop-shadow(0 0 15px rgba(200, 200, 200, 0.9));
}

.rocket-flight-container .moon-date {
    position: absolute;
    color: white;
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    z-index: 5;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    line-height: 1.4;
    white-space: nowrap;
}

.rocket-flight-container .moon-date.appear {
    animation: dateAppear 0.6s ease-out forwards;
}

.rocket-flight-container .label-moon {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Контейнер Марса */
.rocket-flight-container .mars-container {
    position: absolute;
    bottom: 60px;
    right: 12%;
    z-index: 2;
    text-align: center;
}

.rocket-flight-container .mars {
    font-size: 55px;
    filter: drop-shadow(0 0 18px rgba(226, 123, 88, 0.9));
}

.rocket-flight-container .mars-date {
    position: absolute;
    color: white;
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    z-index: 5;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    line-height: 1.4;
    white-space: nowrap;
}

.rocket-flight-container .mars-date.appear {
    animation: dateAppear 0.6s ease-out forwards;
}

.rocket-flight-container .label-mars {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 5px;    
    margin-right: 25px;
}

@keyframes dateAppear {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Ракета - базовые стили */
.rocket-flight-container .rocket-container {
    position: absolute;
    bottom: 30px;
    left: 5%;
    z-index: 10;
}

/* Анимация к Луне */
.rocket-flight-container .rocket-container.to-moon {
    animation: flyToMoon 3s ease-in-out forwards !important;
}

/* Анимация к Марсу */
.rocket-flight-container .rocket-container.to-mars {
    animation: flyToMars 9s linear forwards !important;
}

.rocket-flight-container .rocket {
    font-size: 50px;
    filter: drop-shadow(0 0 15px rgba(255, 107, 107, 0.9))
            drop-shadow(0 5px 20px rgba(255, 107, 107, 0.5));
}

/* Информация о днях */
.rocket-flight-container .flight-info {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: fadeInInfo 0.5s ease-in-out forwards;
    min-width: 40px;
    text-align: center;
}

@keyframes fadeInInfo {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Дымовой след */
.rocket-flight-container .smoke {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(200, 200, 200, 0.8), transparent);
    pointer-events: none;
}

/* Анимация полёта к Луне */
@keyframes flyToMoon {
    0% {
        left: 5%;
        bottom: 30px;
    }
    
    50% {
        left: 28%;
        bottom: 80px;
    }

    100% {
        left: 30%;
        bottom: 85px;
    }
}

/* Анимация полёта к Марсу */
@keyframes flyToMars {
    0% {
        left: 5%;
        bottom: 30px;
    }

    100% {
        left: 85%;
        bottom: 95px;
    }
}

/* Прогресс */
.rocket-flight-container .progress-bar {
    position: absolute;
    bottom: 5px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
    z-index: 1;
}

.rocket-flight-container .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #42a5f5, #1e88e5, #0d47a1);
    box-shadow: 0 0 10px rgba(66, 165, 245, 0.8);
}

.rocket-flight-container .progress-fill.to-moon {
    animation: progressToMoon 3s ease-in-out forwards !important;
}

.rocket-flight-container .progress-fill.to-mars {
    animation: progressToMars 9s linear forwards !important;
}

@keyframes progressToMoon {
    0% { width: 0%; }
    100% { width: 35%; }
}

@keyframes progressToMars {
    0% { width: 0%; }
    100% { width: 100%; }
}