* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #c31432 0%, #165c28 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Snow animation */
.snowflake {
    position: fixed;
    top: -10px;
    color: white;
    font-size: 1em;
    opacity: 0.8;
    pointer-events: none;
    z-index: 1000;
    animation: fall linear infinite;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
    }
}

.screen {
    position: absolute;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    z-index: 10;
}

.screen.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}

.container {
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 600px;
    width: 90%;
}

.reveal-container {
    max-width: 800px;
}

/* Écran 1 - Intro */
.mystery-box {
    font-size: 120px;
    animation: bounce 2s infinite;
    margin-bottom: 20px;
}

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

h1 {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: #FFD700;
}

.intro-text, .clue-text {
    font-size: 1.3em;
    line-height: 1.6;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Indices */
.clue-number {
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.clue-icon {
    font-size: 100px;
    margin: 30px 0;
    animation: pulse 2s infinite;
}

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

/* Bouton */
.btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #c31432;
    border: 3px solid white;
    padding: 15px 40px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.4);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
}

.btn:active {
    transform: translateY(-1px);
}

/* Écran final - Révélation */
.reveal-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    animation: slideInDown 0.8s ease;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-message {
    font-size: 1.5em;
    line-height: 1.8;
    margin-bottom: 40px;
    animation: fadeIn 1s ease 0.3s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Boarding Pass */
.boarding-pass {
    background: white;
    color: #333;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin: 30px auto;
    max-width: 500px;
    animation: slideInUp 1s ease 0.5s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.boarding-pass-header {
    background: linear-gradient(135deg, #c31432 0%, #165c28 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.airline {
    font-size: 1.5em;
    font-weight: bold;
}

.flight-type {
    font-size: 0.9em;
    letter-spacing: 2px;
}

.boarding-pass-body {
    padding: 30px;
}

.passenger-info {
    margin-bottom: 30px;
}

.info-label {
    font-size: 0.8em;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-value {
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
}

.flight-route {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 2px dashed #ddd;
    border-bottom: 2px dashed #ddd;
}

.city {
    text-align: center;
}

.city-code {
    font-size: 2em;
    font-weight: bold;
    color: #c31432;
}

.city-name {
    font-size: 0.9em;
    color: #999;
    margin-top: 5px;
}

.plane-icon {
    font-size: 2em;
    color: #165c28;
}

.flight-details {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.detail {
    flex: 1;
    text-align: center;
}

.boarding-pass-footer {
    background: #f8f8f8;
    padding: 15px;
    text-align: center;
}

.barcode {
    font-family: 'Courier New', monospace;
    font-size: 1.5em;
    letter-spacing: 2px;
    color: #333;
}

.bari-image {
    font-size: 80px;
    margin-top: 30px;
    animation: fadeIn 1.5s ease 1s both;
}

/* Christmas Decorations */
.christmas-decorations {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.ornament {
    position: absolute;
    font-size: 3em;
    animation: swing 3s ease-in-out infinite;
}

.ornament-1 {
    top: 5%;
    left: 10%;
    animation-delay: 0s;
}

.ornament-2 {
    top: 15%;
    right: 15%;
    animation-delay: 0.5s;
}

.ornament-3 {
    bottom: 20%;
    left: 5%;
    animation-delay: 1s;
}

.ornament-4 {
    top: 60%;
    right: 8%;
    animation-delay: 1.5s;
}

.ornament-5 {
    bottom: 10%;
    right: 20%;
    animation-delay: 2s;
}

@keyframes swing {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

/* Confetti Animation */
.confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2em;
    }

    .reveal-title {
        font-size: 2.5em;
    }

    .intro-text, .clue-text, .reveal-message {
        font-size: 1.1em;
    }

    .mystery-box, .clue-icon {
        font-size: 80px;
    }

    .boarding-pass {
        max-width: 90%;
    }

    .flight-details {
        flex-direction: column;
        gap: 15px;
    }

    .airline {
        font-size: 1.2em;
    }

    .city-code {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8em;
    }

    .reveal-title {
        font-size: 2em;
    }

    .intro-text, .clue-text, .reveal-message {
        font-size: 1em;
    }

    .btn {
        padding: 12px 30px;
        font-size: 1em;
    }

    .mystery-box, .clue-icon {
        font-size: 60px;
    }

    .bari-image {
        font-size: 60px;
    }
}
