/* --- Modern Dark Theme & Glassmorphism --- */
body { 
    margin: 0; 
    background: #111; 
    color: white; 
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
    overflow: hidden; 
}

/* Central AR Button Container */
#ar-button-container {
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    pointer-events: none; 
    z-index: 999999; 
}

/* AR Button Styling */
button#ARButton {
    pointer-events: auto !important;
    display: block !important;
    width: auto !important;
    min-width: 200px !important; 
    max-width: 90% !important;
    
    /* Pushed down further to clear the instructions card */
    margin-top: 400px !important; 
    
    padding: 15px 40px !important; 
    border: 2px solid rgba(255, 255, 255, 0.8) !important; 
    background: rgba(74, 144, 226, 0.9) !important; 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 40px !important; 
    
    font-weight: 700; 
    font-size: 18px !important; 
    color: white !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap !important;
    
    cursor: pointer; 
    box-shadow: 0 0 30px rgba(74, 144, 226, 0.6); 
    transition: transform 0.2s ease, background 0.2s;
}

button#ARButton:active {
    transform: scale(0.95);
    background: rgba(74, 144, 226, 1) !important;
}

/* 
   2D Instructions Card 
   Changed positioning to avoid header overlap
*/
#instructions-card {
    position: absolute;
    
    /* Fixed distance from top instead of percentage */
    top: 150px; 
    left: 50%;
    transform: translateX(-50%); /* Center horizontally only */
    
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 20px;
    text-align: left;
    min-width: 300px;
    z-index: 1001;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

#instructions-card h2 {
    margin-top: 0;
    color: #4a90e2;
    text-align: center;
    border-bottom: 1px solid #555;
    padding-bottom: 10px;
}

#instructions-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#instructions-card li {
    padding: 10px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

#instructions-card li:last-child {
    border-bottom: none;
}

#instructions-card strong {
    color: #ffcc00;
    margin-right: 10px;
}

/* Site Header Placeholder */
#main-nav-placeholder {
    position: relative;
    z-index: 1000;
}