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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow: hidden;
}

#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#header {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(20, 20, 20, 0.9);
    padding: 20px 30px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

#header h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #4CAF50, #2196F3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


#footer {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 20, 0.9);
    padding: 10px 30px;
    border-radius: 5px;
    backdrop-filter: blur(10px);
    text-align: center;
}

#footer p {
    font-size: 14px;
    color: #ccc;
}

#footer a {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.2s;
}

#footer a:hover {
    color: #2196F3;
    text-decoration: underline;
}

#time-display {
    color: #555;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    letter-spacing: 0.5px;
    pointer-events: none;
}

#loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #555;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    letter-spacing: 1px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.8; }
    100% { opacity: 0.3; }
}


/* Responsive design */
@media (max-width: 768px) {
    #header {
        top: 10px;
        left: 10px;
        padding: 15px 20px;
    }

    #header h1 {
        font-size: 32px;
    }


    #footer {
        bottom: 10px;
        padding: 8px 20px;
    }

    #footer p {
        font-size: 12px;
    }

    #time-display {
        font-size: 11px;
    }
}
