/* Responsive Adjustments */

@media (max-width: 1200px) {
    .massive-title { font-size: clamp(4rem, 10vw, 8rem); }
    .hero-subtitle { font-size: 1.2rem; }
    
    .identity-grid { grid-template-columns: 1fr; gap: 3rem; }
    
    .universe-container { transform: scale(0.8); margin-top: 0; }
    
    .lab-content { grid-template-columns: 1fr; gap: 2rem; transform: translateZ(10px); }
}

@media (max-width: 900px) {
    .massive-title { font-size: clamp(3rem, 8vw, 6rem); }
    .holo-profile-card { display: none; } /* Hide on small screens to prevent overlap */
    .floating-achievements { display: none; }
    .system-status { bottom: 10px; left: 10px; font-size: 0.7rem; }
    
    .universe-container { transform: scale(0.6); }
    .universe-section { min-height: 600px; }
    
    .journey-path { padding: 20px 0; }
    .checkpoint { width: 100%; padding: 2rem 0 2rem 3rem; text-align: left !important; left: 0 !important; }
    .checkpoint.left .cp-header { flex-direction: row; }
    .checkpoint.left .pulse-node, .checkpoint.right .pulse-node { left: 0; right: auto; }
    .energy-beam { left: 10px; }
    .checkpoint.left .cp-tech { justify-content: flex-start; }
    
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .vault-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
}

@media (max-width: 600px) {
    .section-title { font-size: 2rem; }
    .massive-title { font-size: 3.5rem; letter-spacing: 0px; }
    .hero-subtitle { flex-direction: column; text-align: center; font-size: 1rem; gap: 5px; }
    
    .universe-container { transform: scale(0.4); }
    .universe-section { min-height: 400px; }
    
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 250px; height: 100vh;
        background: rgba(11, 17, 32, 0.95); backdrop-filter: blur(10px);
        flex-direction: column; justify-content: center; padding: 2rem;
        transition: right 0.3s ease; border-left: 1px solid var(--card-border);
    }
    .nav-links.active { right: 0; }
    .hamburger { display: flex; z-index: 1001; }
    
    .lab-card { padding: 1.5rem; }
    .lab-preview-window { height: 200px; }
    .lab-header h3 { font-size: 2rem; }
    
    .ai-chat-panel { width: 90vw; right: 5vw; bottom: 120px; height: 60vh; }
    .terminal-container { padding: 1rem; }
    .terminal-top-bar { font-size: 0.8rem; }
    .terminal-body { font-size: 1rem; }
    .prompt, #terminal-input { font-size: 1rem; }

    /* Disable custom cursor on touch devices to prevent bugs */
    .cursor-core, .cursor-ring { display: none; }
    html, body, a, button, input, textarea { cursor: auto !important; }
}
