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

.merriweather-title {
    font-family: "Merriweather", serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-variation-settings: "wdth" 96;
}

.merriweather-numbers {
    font-family: "Merriweather", serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-variation-settings: "wdth" 96;
}

body {
    background: linear-gradient(135deg, #f8a5c2 0%, #f093fb 50%, #f5576c 100%);
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    position: relative;
    z-index: 10;
}

.title {
    font-size: 4.5rem;
    color: #ff69b4;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-top: 2rem;
    font-weight: bold;
    text-align: center;
}

.countdown-section {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
}

.countdown-container {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.meeting-text {
    color: #ff69b4;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-size: 2rem;
    text-align: center;
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
}

.countdown-box {
    background: rgba(0,0,0,0.7);
    border-radius: 15px;
    padding: 1.5rem;
    min-width: 100px;
    text-align: center;
}

.countdown-number {
    background: #e91e63;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    border-radius: 10px;
    padding: 1.5rem 2rem;
    display: inline-block;
    width: 100px;
    height: 100px;
    line-height: 100px;
    padding: 0;
}

.tree-container {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -40%);
    z-index: 5;
}

.tree-image {
    width: 900px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255,105,180,0.5));
}

.floating-element {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.floating-element {
    position: absolute;
    animation: float 6s ease-in-out infinite;
    z-index: 10;
}

.floating-element img {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255,105,180,0.3));
    transition: transform 0.3s ease;
}

.floating-element:hover img {
    transform: scale(1.1);
}

.tooltip {
    position: absolute;
    background: linear-gradient(135deg, #fff8fa 0%, #ffe6f0 100%);
    padding: 12px 20px;
    border-radius: 20px;
    border: 2px solid rgba(255,105,180,0.3);
    box-shadow: 0 4px 15px rgba(255,105,180,0.2),
                inset 0 0 15px rgba(255,105,180,0.1);
    color: #ff69b4;
    font-size: 1.2rem;
    font-family: "Merriweather", serif;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: scale(0.95);
    z-index: 100;
    backdrop-filter: blur(5px);
}

.element-1 .tooltip {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 25px;
}

.element-2 .tooltip {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 25px;
}

.element-3 .tooltip {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 25px;
}

.element-4 .tooltip {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 25px;
}

.element-5 .tooltip {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 25px;
}

/* Position des flèches pour chaque tooltip */
.element-1 .tooltip::before {
    left: -7px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.element-2 .tooltip::before {
    right: -7px;
    top: 50%;
    transform: translateY(-50%) rotate(225deg);
}

.element-3 .tooltip::before {
    left: -7px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.element-4 .tooltip::before {
    right: -7px;
    top: 50%;
    transform: translateY(-50%) rotate(225deg);
}

.element-5 .tooltip::before {
    left: -7px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.floating-element:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* Flèche pour les tooltips */
.tooltip::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #fff8fa 0%, #ffe6f0 100%);
    border-left: 2px solid rgba(255,105,180,0.3);
    border-bottom: 2px solid rgba(255,105,180,0.3);
}

.element-1 {
    top: 15%;
    left: 5%;
    animation-duration: 8s;
}

.element-2 {
    top: 20%;
    right: 8%;
    animation-duration: 7s;
    animation-delay: -2s;
}

.element-3 {
    bottom: 20%;
    left: 8%;
    animation-duration: 9s;
    animation-delay: -4s;
}

.element-4 {
    bottom: 15%;
    right: 5%;
    animation-duration: 6s;
    animation-delay: -1s;
}

.element-5 {
    top: 40%;
    left: 3%;
    animation-duration: 10s;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-3deg);
    }
    75% {
        transform: translateY(-15px) rotate(2deg);
    }
}

.hearts {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.heart {
    position: absolute;
    bottom: -50px;
    color: rgba(255,105,180,0.4);
    font-size: 30px;
    animation: heartFloat 8s cubic-bezier(0.37, 0, 0.63, 1) infinite;
    pointer-events: none;
}

@keyframes heartFloat {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-120vh) rotate(360deg);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 3rem;
    }
    
    .tree-image {
        width: 400px;
    }
    
    .floating-element img {
        width: 80px;
    }
    
    .countdown-number {
        font-size: 2.5rem;
        padding: 1rem 1.5rem;
    }
    
    .countdown-container {
        gap: 1rem;
    }
}