/* Manajemen dalam Kehidupan dan Organisasi — dipindahkan dari Code Snippets */
/* ==========================================
       CSS GAME MANAJEMEN - FULLSCREEN MODE
       ========================================== */

    /* Container utama */
    #game-manajemen-app {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        max-width: 750px;
        margin: 0 auto;
        background: linear-gradient(145deg, #0f172a, #1e293b);
        padding: 25px;
        border-radius: 30px;
        color: #f8fafc;
        box-shadow: 0 20px 40px rgba(0,0,0,0.7);
        box-sizing: border-box;
        width: 100%;
        overflow-x: hidden;
        transition: all 0.3s ease;
        position: relative;
    }

    /* Header */
    .gm-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
    }
    .gm-header h2 {
        margin: 0;
        background: linear-gradient(to right, #fbbf24, #f59e0b);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 1.4rem;
    }
    .gm-score-badge {
        background: rgba(255,255,255,0.1);
        padding: 6px 18px;
        border-radius: 40px;
        border: 1px solid #fbbf24;
        color: #fbbf24;
        font-weight: bold;
        font-size: 1.2rem;
    }
    .gm-fullscreen-btn {
        background: rgba(255,255,255,0.1);
        border: 1px solid #64748b;
        color: #f8fafc;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        font-size: 1.4rem;
        cursor: pointer;
        transition: 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }
    .gm-fullscreen-btn:hover {
        background: rgba(255,255,255,0.2);
        border-color: #fbbf24;
    }

    /* Progress */
    .gm-progress-area {
        margin-bottom: 20px;
    }
    .gm-progress-bar {
        width: 100%;
        height: 6px;
        background: #334155;
        border-radius: 10px;
        overflow: hidden;
    }
    .gm-progress-fill {
        height: 100%;
        width: 100%;
        background: linear-gradient(90deg, #fbbf24, #f59e0b);
        transition: width 1s linear;
        border-radius: 10px;
    }
    .gm-progress-info {
        display: flex;
        justify-content: space-between;
        font-size: 0.8rem;
        color: #94a3b8;
        margin-top: 4px;
    }

    /* Start Screen */
    .gm-start-screen {
        background: rgba(30,41,59,0.7);
        padding: 25px;
        border-radius: 20px;
        border: 1px solid #334155;
        text-align: center;
    }
    .gm-start-screen h3 {
        color: #fbbf24;
        margin-top: 0;
    }
    .gm-instructions {
        text-align: left;
        color: #e2e8f0;
        line-height: 1.8;
    }
    .gm-instructions hr {
        border-color: #334155;
        margin: 15px 0;
    }
    .gm-start-btn {
        background: #fbbf24;
        color: #0f172a;
        border: none;
        padding: 16px 50px;
        border-radius: 40px;
        font-weight: bold;
        font-size: 1.3rem;
        cursor: pointer;
        margin-top: 10px;
        transition: 0.3s;
    }
    .gm-start-btn:hover {
        transform: scale(1.05);
    }

    /* Quiz Area */
    .gm-quiz-area {
        display: none;
    }
    .gm-question-card {
        background: rgba(30,41,59,0.7);
        padding: 20px;
        border-radius: 20px;
        border: 1px solid #334155;
    }
    .gm-question-text {
        font-size: 1.2rem;
        font-weight: 600;
        line-height: 1.5;
        min-height: 60px;
        margin-bottom: 20px;
        word-break: break-word;
    }
    .gm-options-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .gm-opt-btn {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        background: #1e293b;
        border: 2px solid #334155;
        border-radius: 14px;
        padding: 14px 20px;
        color: #e2e8f0;
        font-size: 1rem;
        cursor: pointer;
        transition: 0.2s;
        text-align: left;
        box-sizing: border-box;
        word-break: break-word;
    }
    .gm-opt-btn:hover:not(:disabled) {
        border-color: #fbbf24;
        background: #2d3a52;
    }
    .gm-opt-btn .gm-opt-letter {
        background: #334155;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        color: #94a3b8;
        flex-shrink: 0;
    }
    .gm-opt-btn.correct {
        border-color: #22c55e !important;
        background: #14532d !important;
    }
    .gm-opt-btn.wrong {
        border-color: #ef4444 !important;
        background: #7f1d1d !important;
    }
    .gm-opt-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

    /* Result Area */
    .gm-result-area {
        display: none;
        text-align: center;
        padding: 20px 0;
    }
    .gm-result-score {
        font-size: 3.5rem;
        font-weight: 800;
        color: #fbbf24;
    }
    .gm-rank-text {
        font-size: 1.8rem;
        font-weight: 600;
        margin: 5px 0;
    }
    .gm-sub-rank-text {
        color: #94a3b8;
        margin-bottom: 20px;
    }
    .gm-review-btn {
        display: inline-block;
        background: #3b82f6;
        color: white;
        padding: 14px 30px;
        border-radius: 40px;
        text-decoration: none;
        font-weight: bold;
        margin-bottom: 15px;
    }
    .gm-reset-btn {
        background: #fbbf24;
        color: #0f172a;
        border: none;
        padding: 12px 35px;
        border-radius: 40px;
        font-weight: bold;
        cursor: pointer;
        font-size: 1rem;
    }

    /* Leaderboard */
    .gm-leaderboard-container {
        margin-top: 25px;
        background: rgba(0,0,0,0.3);
        border-radius: 20px;
        padding: 15px;
        border: 1px solid #334155;
    }
    .gm-leaderboard-container h3 {
        color: #fbbf24;
        margin: 0 0 10px 0;
    }
    .gm-leaderboard-list {
        text-align: left;
        color: #94a3b8;
        min-height: 40px;
    }
    .gm-lb-item {
        display: flex;
        justify-content: space-between;
        padding: 5px 0;
        border-bottom: 1px solid #1e293b;
        word-break: break-word;
    }
    .gm-lb-item:last-child {
        border-bottom: none;
    }
    .gm-lb-score {
        color: #fbbf24;
        font-weight: bold;
    }

    /* ==========================================
       FULLSCREEN MODE (saat element fullscreen)
       ========================================== */
    #game-manajemen-app.gm-fullscreen {
        max-width: 100% !important;
        border-radius: 0 !important;
        padding: 20px !important;
        margin: 0 !important;
        box-shadow: none !important;
        min-height: 100vh;
        background: #0f172a;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow-y: auto;
        box-sizing: border-box;
    }
    /* Di fullscreen, tombol fullscreen disembunyikan agar tidak mengganggu */
    #game-manajemen-app.gm-fullscreen .gm-fullscreen-btn {
        display: none;
    }

    /* ==========================================
       RESPONSIVE (tetap)
       ========================================== */
    @media (max-width: 992px) {
        #game-manajemen-app {
            padding: 20px;
            max-width: 100%;
            border-radius: 24px;
        }
        .gm-question-text {
            font-size: 1.05rem;
        }
        .gm-opt-btn {
            font-size: 0.95rem;
            padding: 12px 16px;
        }
    }
    @media (max-width: 768px) {
        #game-manajemen-app {
            padding: 16px;
            border-radius: 20px;
            max-width: 100%;
        }
        .gm-header h2 {
            font-size: 1.2rem;
        }
        .gm-score-badge {
            font-size: 1rem;
            padding: 4px 14px;
        }
        .gm-question-text {
            font-size: 0.95rem;
        }
        .gm-opt-btn {
            font-size: 0.85rem;
            padding: 11px 14px;
            gap: 10px;
        }
        .gm-opt-btn .gm-opt-letter {
            width: 28px;
            height: 28px;
            font-size: 0.8rem;
        }
        .gm-result-score {
            font-size: 2.8rem;
        }
        .gm-rank-text {
            font-size: 1.2rem;
        }
        .gm-start-btn {
            font-size: 1.1rem;
            padding: 14px 35px;
        }
        .gm-lb-item {
            font-size: 0.85rem;
        }
    }
    @media (max-width: 480px) {
        #game-manajemen-app {
            padding: 10px !important;
            border-radius: 12px !important;
            max-width: 100% !important;
            margin: 0 !important;
            box-shadow: none !important;
        }
        .gm-header h2 {
            font-size: 1rem !important;
        }
        .gm-score-badge {
            font-size: 0.85rem !important;
            padding: 4px 12px !important;
        }
        .gm-fullscreen-btn {
            width: 34px;
            height: 34px;
            font-size: 1.2rem;
        }
        .gm-question-text {
            font-size: 0.85rem !important;
            min-height: 50px !important;
        }
        .gm-opt-btn {
            font-size: 0.78rem !important;
            padding: 9px 12px !important;
            gap: 8px !important;
            border-radius: 10px !important;
        }
        .gm-opt-btn .gm-opt-letter {
            width: 24px !important;
            height: 24px !important;
            font-size: 0.7rem !important;
        }
        .gm-result-score {
            font-size: 2.2rem !important;
        }
        .gm-rank-text {
            font-size: 1rem !important;
        }
        .gm-sub-rank-text {
            font-size: 0.85rem !important;
        }
        .gm-start-btn {
            font-size: 1rem !important;
            padding: 12px 28px !important;
            width: 100% !important;
        }
        .gm-lb-item {
            font-size: 0.78rem !important;
            padding: 4px 0 !important;
        }
        .gm-progress-bar {
            height: 4px !important;
        }
        .gm-progress-info {
            font-size: 0.7rem !important;
        }
        .gm-start-screen h3 {
            font-size: 1rem !important;
        }
        .gm-instructions {
            font-size: 0.85rem !important;
        }
        #game-manajemen-app * {
            word-break: break-word;
            overflow-wrap: break-word;
        }
        #game-manajemen-app {
            overflow-x: hidden;
        }
        /* Saat fullscreen di HP, padding lebih kecil */
        #game-manajemen-app.gm-fullscreen {
            padding: 10px !important;
        }
    }
    @media (max-width: 360px) {
        #game-manajemen-app {
            padding: 6px !important;
            border-radius: 8px !important;
        }
        .gm-question-text {
            font-size: 0.78rem !important;
        }
        .gm-opt-btn {
            font-size: 0.7rem !important;
            padding: 7px 10px !important;
            gap: 6px !important;
            border-radius: 8px !important;
        }
        .gm-opt-btn .gm-opt-letter {
            width: 20px !important;
            height: 20px !important;
            font-size: 0.6rem !important;
        }
        .gm-start-btn {
            font-size: 0.9rem !important;
            padding: 10px 22px !important;
        }
        .gm-lb-item {
            font-size: 0.7rem !important;
        }
        .gm-result-score {
            font-size: 1.8rem !important;
        }
        .gm-rank-text {
            font-size: 0.9rem !important;
        }
    }
