/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: transparent;
}

.hidden {
    display: none !important;
}

/* Pantalla de incompatibilidad */
#incompatibility-screen {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #111;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    text-align: center;
    padding: 20px;
}

#incompatibility-screen .message-box {
    background: #222;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    max-width: 400px;
}

#incompatibility-screen h2 {
    color: #ff4757;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

#incompatibility-screen p {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.4;
}

#incompatibility-screen ul {
    list-style: none;
    margin: 15px 0;
    padding: 0;
}

#incompatibility-screen ul li {
    background: #333;
    margin: 5px 0;
    padding: 10px;
    border-radius: 6px;
    font-weight: bold;
}

/* Loader */
#loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 8000;
    transition: opacity 0.5s ease;
    color: #fff;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #fff;
    border-top: 5px solid #00d2d3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Botón de inicio */
#start-button {
    margin-top: 20px;
    padding: 15px 30px;
    background-color: #00d2d3;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 15px rgba(0, 210, 211, 0.4);
}

#start-button:hover {
    background-color: #01e6e6;
    transform: scale(1.05);
}

#start-button:active {
    transform: scale(0.95);
}



/* A-Frame ajustes */
.a-canvas {
    display: block !important;
}
