/* =========================================================
   Panoverse - 360° Panoramic Gallery - Main Styles
   ========================================================= */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(18, 18, 30, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-primary: #f0f0f5;
    --text-secondary: #9090a8;
    --text-muted: #606078;
    --accent-1: #6c5ce7;
    --accent-2: #00cec9;
    --accent-3: #fd79a8;
    --accent-gradient: linear-gradient(135deg, #6c5ce7, #00cec9);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(108, 92, 231, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(108,92,231,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0,206,201,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(253,121,168,0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Viewer */
.viewer-container { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1; }
#panorama-viewer { width: 100%; height: 100%; }
.viewer-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; background: rgba(0,0,0,0.3); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.viewer-back-btn { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); color: #fff; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 0.875rem; transition: all 0.3s; display: flex; align-items: center; gap: 6px; text-decoration: none; }
.viewer-back-btn:hover { background: rgba(255,255,255,0.15); }
.viewer-title { font-size: 1rem; font-weight: 600; color: #fff; }
.viewer-counter { font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.viewer-nav { position: fixed; top: 50%; transform: translateY(-50%); z-index: 50; width: 48px; height: 48px; border-radius: 50%; background: rgba(0,0,0,0.4); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.1); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; font-size: 1.2rem; }
.viewer-nav:hover { background: rgba(108,92,231,0.6); border-color: rgba(108,92,231,0.4); transform: translateY(-50%) scale(1.1); }
.viewer-nav.prev { left: 20px; }
.viewer-nav.next { right: 20px; }
.viewer-nav.hidden { opacity: 0; pointer-events: none; }
@media (max-width: 768px) { .hero h1 { font-size: 2.2rem; } .hero p { font-size: 1rem; } .hero-stats { gap: 24px; } .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; } .gallery-section { padding: 0 1rem 2rem; } .hero { padding: 100px 1rem 40px; } .nav-bar { padding: 0 1rem; } .viewer-nav { width: 40px; height: 40px; } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } .hero h1 { font-size: 1.8rem; } }
