/* General Body and Variables */
:root {
    --primary-bg: #0A192F;
    --text-color: #E0E0E0;
    --accent-color: #64FFDA;
    --card-bg: rgba(23, 42, 69, 0.9);
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--primary-bg);
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Main 3D container */
#app-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: default; /* Default cursor for the 3D space */
}

#app-container canvas {
    /* When canvas is clickable, this will be overridden by JS */
}

/* Header */
.main-header {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 100;
    pointer-events: none;
}

.main-header h1 {
    font-size: 2.5rem;
    color: #fff;
    margin: 0;
    text-shadow: 0 0 10px var(--accent-color);
}

.main-header p {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* UI Buttons */
.intro-overlay {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.glowing-btn {
    padding: 12px 25px;
    font-size: 1.1rem;
    color: #fff;
    background: var(--accent-color);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 0 15px var(--accent-color);
    transition: all 0.3s ease-in-out;
}

.glowing-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--accent-color);
}

#back-btn {
    position: absolute;
    top: 25px;
    left: 25px;
    padding: 10px 15px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    cursor: pointer;
    z-index: 101;
    transition: background-color 0.3s;
}

#back-btn:hover {
    background: rgba(255,255,255,0.25);
}

/* 3D Labels */
.label {
    color: #FFF;
    padding: 5px 12px;
    background: rgba(10, 25, 47, 0.7);
    border: 1px solid rgba(100, 255, 218, 0.5);
    border-radius: 8px;
    font-size: 16px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
    white-space: nowrap;
    text-shadow: 0 0 5px #000;
}

.label.visible {
    opacity: 1;
}

/* Hidden class for overlays */
.hidden {
    display: none !important;
}
