/* ============================================
   MAIN LAYOUT - Q-PLAY
   Extracted from app.blade.php
   ============================================ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --global-player-offset: 0px;
}

body {
    background: #0a0704;
    font-family: 'Open Sans', sans-serif;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.has-global-player {
    padding-bottom: var(--global-player-offset, 0px);
}

.main-content {
    flex: 1;
    min-height: 80vh;
    background: #0a0704;
    padding: 20px;
}

/* ── LISTENER AJAX NAVIGATION ── */
.spa-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    height: 3px;
    width: 0;
    pointer-events: none;
    background: #f5c518;
    box-shadow: 0 0 8px rgba(245, 197, 24, 0.7);
}

.spa-progress.is-active {
    width: 72%;
    transition: width 0.35s ease;
}

.spa-progress.is-done {
    width: 100%;
    opacity: 0;
    transition: width 0.15s ease, opacity 0.2s ease 0.1s;
}

/* ── GLOBAL PLAYER SPACING ── */
.global-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .main-content {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 12px;
    }
}