@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Nunito:wght@400;700&display=swap');

body {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    color: #880e4f;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: 'Nunito', sans-serif;
    overflow: hidden;
}

h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.container { 
    text-align: center; 
    width: 100%;
    max-width: 400px;
}

#clock {
    width: 300px;
    height: 300px;
    border: 10px solid #fff;
    border-radius: 50%;
    position: relative;
    margin: 30px auto;
    background: rgba(255, 255, 255, 0.6); 
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.8);
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: transform 0.2s;
}

#clock:active {
    transform: scale(0.98);
}

/* --- MODIFICATION ICI : J'AI SUPPRIMÉ LE BLOC #clock::before --- */
/* Ce bloc créait le dégradé conique qui causait les lignes indésirables */

.hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom;
    border-radius: 10px;
    z-index: 5;
    transition: transform 0.05s cubic-bezier(0.4, 2.08, 0.55, 0.44);
}

.hour { 
    width: 8px; height: 60px; margin-left: -4px; 
    background: #4a1428;
}
.min { 
    width: 6px; height: 90px; margin-left: -3px; 
    background: #880e4f;
}
.sec { 
    width: 2px; height: 100px; margin-left: -1px; 
    background: #ff4081;
}

.frozen-hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom;
    width: 4px;
    height: 90px;
    margin-left: -2px;
    background: #ffd700;
    box-shadow: 0 0 8px #ffd700;
    z-index: 4;
    border-radius: 5px;
}

.frozen-hand::after {
    content: '❤';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    color: #ff4081;
    text-shadow: 0 0 5px white;
}

.dot {
    width: 16px;
    height: 16px;
    background: #ffd700;
    border: 3px solid white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

#message {
    font-size: 1.2rem;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    margin-top: 20px;
    min-height: 1.5em;
}
