html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    /* Animated gradient background */
    background: linear-gradient(-45deg, #181818, #ff4081, #222, #3a3a3a);
    background-size: 400% 400%;
    animation: gradientBG 12s ease-in-out infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.container {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.coming-soon {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 24px;
    letter-spacing: 2px;
    font-family: 'Segoe UI', Arial, sans-serif;
    animation: fadeGlow 2.5s ease-in-out infinite alternate;
}

@keyframes fadeGlow {
    0% {
        text-shadow: 0 0 8px #ff4081, 0 0 2px #fff;
        opacity: 0.8;
    }
    100% {
        text-shadow: 0 0 24px #ff4081, 0 0 8px #fff;
        opacity: 1;
    }
}

#clockCanvas {
    display: block;
    margin: 0 auto;
    background: transparent;
    border-radius: 50%;
    /* 3D shadow layers for depth */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45), 0 2px 8px 0 rgba(255, 255, 255, 0.08) inset, 0 0 0 8px rgba(255, 255, 255, 0.05) inset;
    width: 90vw;
    height: 90vw;
    max-width: 400px;
    max-height: 400px;
    touch-action: none;
    /* 3D transform for a slight tilt */
    transform: perspective(800px) rotateX(8deg) rotateY(-8deg);
    transition: transform 0.4s cubic-bezier(.25, .8, .25, 1);
}

#clockCanvas:hover {
    /* Animate tilt on hover for interactivity */
    transform: perspective(800px) rotateX(0deg) rotateY(0deg) scale(1.04);
    box-shadow: 0 16px 48px 0 rgba(0, 0, 0, 0.55), 0 2px 12px 0 rgba(255, 255, 255, 0.12) inset, 0 0 0 12px rgba(255, 255, 255, 0.07) inset;
}

footer {
    width: 100%;
    color: #ccc;
    background: #181818;
    text-align: center;
    padding: 10px 5px;
    font-size: 1rem;
    margin-top: auto;
}

footer a {
    color: #ff4081;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

#privacy-modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

#privacy-modal[style*="display: flex"] {
    display: flex !important;
}