/* Mobile Reset & Utilities */
body { 
    background-color: #000; 
    overscroll-behavior: none; 
    user-select: none; 
    -webkit-tap-highlight-color: transparent; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1e293b;
}

/* Safe Area Utilities */
.pt-safe { padding-top: max(12px, env(safe-area-inset-top)); }
.pb-safe { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
.h-safe { height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }

/* Scrollbar Hiding */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* 3D Scene Config */
.scene { 
    perspective: 800px; 
    overflow: hidden; 
    transform-style: preserve-3d;
}

/* Input Reset */
input, textarea, select { font-size: 16px !important; }

/* Glassmorphism Utilities */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Story Progress Bar Animation */
@keyframes progress {
    from { width: 0%; }
    to { width: 100%; }
}