* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.title {
    font-size: 4em;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 60px;
    animation: heartBeat 1.5s ease-in-out infinite;
    letter-spacing: 2px;
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.05);
    }
    50% {
        transform: scale(1.1);
    }
}

.buttons-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 20px 50px;
    font-size: 1.8em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1);
}

.btn-yes {
    background: linear-gradient(135deg, #ff6b6b, #ff8787);
    color: white;
}

.btn-yes:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(255, 107, 107, 0.4);
}

.btn-yes:active {
    transform: scale(0.98);
}

.btn-no {
    background: linear-gradient(135deg, #4ecdc4, #44a8a5);
    color: white;
}

.btn-no:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(78, 205, 196, 0.4);
}

.btn-no:active {
    transform: scale(0.98);
}

.planes-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
}

.planes-container.active {
    display: block;
}

.sure-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    display: none;
}

.sure-container.active {
    display: block;
}

.sure-title {
    font-size: 3.5em;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 50px;
    animation: pulse 1s ease-in-out infinite;
    letter-spacing: 2px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

.skydiver-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 5;
}

.skydiver-container.active {
    display: block;
}

.skydiver {
    position: absolute;
    left: 50%;
    top: -100px;
    transform: translateX(-50%);
    font-size: 5em;
    animation: skydive 6s ease-in forwards;
    z-index: 8;
}

.parachute {
    font-size: 2em;
    animation: parachuteOpen 0.8s ease 0.5s forwards;
    opacity: 0;
}

.person {
    animation: personFall 0.5s ease forwards;
}

@keyframes skydive {
    0% {
        top: -50px;
        opacity: 1;
    }
    10% {
        top: 10%;
    }
    20% {
        top: 20%;
    }
    30% {
        top: 30%;
    }
    40% {
        top: 40%;
    }
    50% {
        top: 50%;
        opacity: 1;
    }
    100% {
        top: 110%;
        opacity: 0;
    }
}

@keyframes parachuteOpen {
    0% {
        opacity: 0;
        transform: scale(0.2) rotateZ(-20deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateZ(0deg);
    }
}

@keyframes personFall {
    0% {
        transform: rotateZ(180deg);
        opacity: 1;
    }
    20% {
        transform: rotateZ(180deg);
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.crash-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    display: none;
    animation: crashBounce 0.6s ease-out;
}

.crash-container.active {
    display: block;
}

@keyframes crashBounce {
    0% {
        transform: translate(-50%, -30%);
        opacity: 0;
        scale: 0.8;
    }
    60% {
        scale: 1.1;
    }
    100% {
        transform: translate(-50%, -50%);
        opacity: 1;
        scale: 1;
    }
}

.crash-title {
    font-size: 3.5em;
    color: white;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.4);
    margin-bottom: 15px;
    letter-spacing: 2px;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}

.crash-subtitle {
    font-size: 2em;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
    animation: pulse 1.5s ease-in-out infinite;
}

.plane {
    position: absolute;
    font-size: 5em;
    animation: fly 8s linear infinite;
    opacity: 0.8;
}

#plane1 {
    top: 20%;
    animation: fly1 8s linear infinite;
}

#plane2 {
    top: 70%;
    animation: fly2 8s linear infinite;
    animation-delay: 2s;
}

@keyframes fly1 {
    0% {
        left: -100px;
    }
    100% {
        left: calc(100vw + 100px);
    }
}

@keyframes fly2 {
    0% {
        right: -100px;
        transform: rotateY(180deg);
    }
    100% {
        right: calc(100vw + 100px);
        transform: rotateY(180deg);
    }
}

.plan-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: none;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    animation: slideIn 0.6s ease-out;
}

.plan-container.active {
    display: block;
}

@keyframes slideIn {
    from {
        transform: translate(-50%, -60%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

.plan-title {
    font-size: 2.5em;
    color: #764ba2;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.timeline-item {
    margin-bottom: 40px;
    margin-left: 100px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -70px;
    top: 5px;
    width: 15px;
    height: 15px;
    background: #ff6b6b;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(255, 107, 107, 0.3);
}

.time {
    font-size: 1.3em;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 8px;
}

.activity {
    font-size: 1.2em;
    color: #333;
    font-weight: 500;
    margin-bottom: 15px;
}

.timeline-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
}

/* Responsywność */
@media (max-width: 768px) {
    .title {
        font-size: 2.5em;
        margin-bottom: 40px;
    }

    .buttons-container {
        gap: 20px;
    }

    .btn {
        padding: 15px 30px;
        font-size: 1.3em;
    }

    .plane {
        font-size: 3em;
    }
}
