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

body {
    overflow: hidden;
    background: #0a0a0f;
    font-family: 'Orbitron', sans-serif;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

body:active {
    cursor: grabbing;
}

#scene-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.title {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-size: clamp(1.2rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: 0.15em;
    color: #fff;
    text-shadow: 
        0 0 10px rgba(0, 255, 255, 0.8),
        0 0 20px rgba(0, 255, 255, 0.6),
        0 0 40px rgba(0, 255, 255, 0.4),
        0 0 80px rgba(0, 255, 255, 0.2);
    animation: titlePulse 3s ease-in-out infinite;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
}

@keyframes titlePulse {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(0, 255, 255, 0.8),
            0 0 20px rgba(0, 255, 255, 0.6),
            0 0 40px rgba(0, 255, 255, 0.4),
            0 0 80px rgba(0, 255, 255, 0.2);
    }
    50% {
        text-shadow: 
            0 0 15px rgba(0, 255, 255, 1),
            0 0 30px rgba(0, 255, 255, 0.8),
            0 0 60px rgba(0, 255, 255, 0.6),
            0 0 100px rgba(0, 255, 255, 0.3);
    }
}

#reset-btn {
    position: fixed;
    bottom: 80px;
    right: 24px;
    z-index: 10;
    padding: 12px 24px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #00ffff;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid rgba(0, 255, 255, 0.5);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 10px rgba(0, 255, 255, 0.2),
        inset 0 0 10px rgba(0, 255, 255, 0.1);
}

#reset-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.8);
    transform: scale(1.05);
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.4),
        inset 0 0 15px rgba(0, 255, 255, 0.2);
}

#reset-btn:active {
    transform: scale(0.98);
}

.reset-icon {
    display: inline-block;
    margin-right: 4px;
    transition: transform 0.3s ease;
}

#reset-btn:hover .reset-icon {
    transform: rotate(-180deg);
}

.footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    padding: 8px 20px;
    background: rgba(10, 10, 15, 0.7);
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

.footer a {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: rgba(0, 255, 255, 0.9);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

@media (max-width: 600px) {
    .title {
        top: 16px;
        padding: 0 12px;
    }
    
    #reset-btn {
        bottom: 70px;
        right: 16px;
        padding: 10px 18px;
        font-size: 0.75rem;
    }
    
    .footer {
        bottom: 16px;
        padding: 6px 16px;
    }
    
    .footer a {
        font-size: 0.7rem;
    }
}