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

body,
html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Prevent scrolling, pure full-screen experience */
    background-color: #000000;
    font-family: 'Space Grotesk', sans-serif;
    color: #ffffff;
}

/* 3D Canvas */
#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* UI Overlay Layer */
.ui-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    /* Let clicks pass through to the canvas */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem;
}

/* Footer Aesthetics */
.footer {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.6);
}

.blinking-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ff3366;
    box-shadow: 0 0 10px #ff3366;
    animation: blink 2s infinite ease-in-out;
}

@keyframes blink {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }
}

/* lil-gui custom overrides to match the vibe */
.lil-gui {
    --background-color: rgba(10, 10, 14, 0.85) !important;
    --text-color: #e0e0e0 !important;
    --title-background-color: rgba(20, 20, 25, 0.95) !important;
    --widget-color: rgba(40, 40, 50, 0.8) !important;
    --hover-color: rgba(60, 60, 75, 0.9) !important;
    --focus-color: #00e5ff !important;
    --font-size: 12px !important;
    --folder-indent: 10px !important;
    --widget-height: 24px !important;
    font-family: 'Space Grotesk', sans-serif !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    right: 20px !important;
    top: 20px !important;
    z-index: 20 !important;
    pointer-events: auto;
}

.lil-gui .title {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

/* Responsive */
@media (max-width: 768px) {
    .ui-layer {
        padding: 1.5rem;
    }
}