/* ========== Reset & Base ========== */
        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: 'Poppins', sans-serif; line-height: 1.7; color: #fff;
            min-height: 100vh; overflow-x: hidden;
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            padding-top: 72px;
        }

        /* ========== Background ========== */
        .bg-decoration { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; pointer-events: none; }
        .bg-decoration .orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.18; animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-direction: alternate; }
        .orb-1 { width: 500px; height: 500px; background: #e94560; top: -8%; left: -6%; animation-name: driftA; animation-duration: 25s; }
        .orb-2 { width: 600px; height: 600px; background: #0f3460; bottom: -12%; right: -8%; animation-name: driftB; animation-duration: 30s; animation-delay: -8s; }
        .orb-3 { width: 350px; height: 350px; background: #00fff5; top: 35%; left: 45%; opacity: 0.10; animation-name: driftC; animation-duration: 22s; animation-delay: -14s; }
        @keyframes driftA { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(25px, 18px) scale(1.04); } }
        @keyframes driftB { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-20px, -15px) scale(1.05); } }
        @keyframes driftC { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(15px, -20px) scale(1.06); } }

        /* ========== Header + Navbar ========== */
        .header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 72px; background: rgba(15, 15, 30, 0.82); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid rgba(255, 255, 255, 0.06); transition: background 0.35s, box-shadow 0.35s; }
        .header::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent 0%, #e94560 30%, #00fff5 70%, transparent 100%); opacity: 0.6; }
        .header.scrolled { background: rgba(10, 10, 25, 0.96); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4); }
        .header-inner { max-width: 1400px; margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
        .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; cursor: pointer; }
        .logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, #e94560, #ff6b6b); border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 1.15em; color: #fff; box-shadow: 0 4px 12px rgba(233, 69, 96, 0.35); transition: transform 0.3s; }
        .logo:hover .logo-icon { transform: rotate(-8deg) scale(1.08); }
        .logo-text { font-size: 1.35em; font-weight: 800; background: linear-gradient(135deg, #00fff5 0%, #e94560 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -0.02em; }

        /* --- Desktop Nav --- */
        .nav-desktop { display: flex; align-items: center; }
        .nav-list { display: flex; list-style: none; gap: 4px; align-items: center; }
        .nav-list > li > a, .nav-list > li > button { display: flex; align-items: center; gap: 7px; padding: 9px 18px; color: rgba(255,255,255,0.75); text-decoration: none; border: none; border-radius: 10px; font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 0.93em; background: transparent; cursor: pointer; transition: color 0.25s, background 0.25s; white-space: nowrap; }
        .nav-list > li > a:hover, .nav-list > li > button:hover, .nav-list > li > a.active, .nav-list > li > button.active { background: rgba(233, 69, 96, 0.15); border-radius: 22px; }
        .nav-list .chevron-icon { font-size: 0.6em; transition: transform 0.3s; margin-left: 2px; }

        /* --- Dropdown --- */
        .has-dropdown { position: relative; }
        .dropdown { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px); min-width: 240px; background: rgba(12, 12, 28, 0.97); backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 8px; list-style: none; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.3s, transform 0.3s, visibility 0.3s; box-shadow: 0 20px 50px rgba(0,0,0,0.5); z-index: 1; }
        .dropdown::before { content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 12px; height: 12px; background: rgba(12, 12, 28, 0.97); border-top: 1px solid rgba(255,255,255,0.1); border-left: 1px solid rgba(255,255,255,0.1); }
        .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
        .has-dropdown:hover > a .chevron-icon, .has-dropdown:focus-within > a .chevron-icon, .has-dropdown:hover > button .chevron-icon, .has-dropdown:focus-within > button .chevron-icon { transform: rotate(180deg); }
        .dropdown li a { display: flex; align-items: center; gap: 12px; padding: 11px 16px; color: rgba(255,255,255,0.7); text-decoration: none; border-radius: 9px; font-size: 0.9em; transition: all 0.2s; }
        .dropdown li a:hover { color: #fff; background: rgba(233, 69, 96, 0.12); }
        .dropdown li a .dd-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; font-size: 0.85em; color: #00fff5; flex-shrink: 0; }
        .dropdown li a:hover .dd-icon { background: rgba(0, 255, 245, 0.1); }

        /* --- Hamburger --- */
        .hamburger { display: none; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: #fff; width: 44px; height: 44px; border-radius: 11px; cursor: pointer; font-size: 1.2em; align-items: center; justify-content: center; transition: background 0.25s; flex-shrink: 0; }
        .hamburger:hover { background: rgba(255,255,255,0.12); }

        /* ========== Mobile Menu ========== */
        .mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 1998; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; }
        .mobile-overlay.active { opacity: 1; visibility: visible; }
        .mobile-menu { position: fixed; top: 0; right: 0; width: 310px; max-width: 88vw; height: 100vh; height: 100dvh; background: rgba(12, 12, 28, 0.99); backdrop-filter: blur(24px); z-index: 1999; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); overflow-y: auto; border-left: 1px solid rgba(255,255,255,0.06); display: flex; flex-direction: column; }
        .mobile-menu.active { transform: translateX(0); }
        .mobile-menu-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,0.06); flex-shrink: 0; }
        .mobile-menu-head .m-logo { display: flex; align-items: center; gap: 10px; }
        .mobile-menu-head .m-logo-icon { width: 34px; height: 34px; background: linear-gradient(135deg, #e94560, #ff6b6b); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 0.95em; color: #fff; }
        .mobile-menu-head .m-logo-text { font-size: 1.1em; font-weight: 700; background: linear-gradient(135deg, #00fff5, #e94560); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .mobile-close { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); color: #fff; width: 36px; height: 36px; border-radius: 9px; cursor: pointer; font-size: 1.1em; display: flex; align-items: center; justify-content: center; }
        .mobile-close:hover { background: rgba(255,255,255,0.12); }
        .mobile-nav-list { list-style: none; padding: 12px; flex: 1; }
        .mobile-nav-list > li > a, .mobile-nav-list > li > button { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; color: rgba(255,255,255,0.8); text-decoration: none; border: none; border-radius: 10px; font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 0.95em; background: transparent; cursor: pointer; width: 100%; transition: background 0.2s, color 0.2s; }
        .mobile-nav-list > li > a:hover, .mobile-nav-list > li > button:hover { background: rgba(255,255,255,0.05); color: #fff; }
        .mobile-nav-list > li > a .m-link-left, .mobile-nav-list > li > button .m-link-left { display: flex; align-items: center; gap: 12px; }
        .mobile-nav-list > li > a .m-link-left i, .mobile-nav-list > li > button .m-link-left i { width: 20px; text-align: center; font-size: 0.95em; color: #00fff5; }
        .mobile-nav-list > li > a .m-chevron, .mobile-nav-list > li > button .m-chevron { font-size: 0.65em; color: rgba(255,255,255,0.35); transition: transform 0.3s; }
        .mobile-nav-list > li > button.accordion-open .m-chevron { transform: rotate(180deg); }
        .accordion-sub { list-style: none; max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); padding-left: 8px; }
        .accordion-sub.open { max-height: 500px; }
        .accordion-sub li a { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 48px; color: rgba(255,255,255,0.55); text-decoration: none; border-radius: 8px; font-size: 0.88em; transition: all 0.2s; }
        .accordion-sub li a:hover { color: #fff; background: rgba(233, 69, 96, 0.1); }
        .accordion-sub li a .acc-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.2); flex-shrink: 0; }

        /* ========== Modal ========== */
        .modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(6px); z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
        .modal-overlay.active { opacity: 1; visibility: visible; }
        .modal-box { background: rgba(18, 18, 40, 0.98); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; max-width: 520px; width: 100%; transform: translateY(20px) scale(0.97); transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 30px 60px rgba(0,0,0,0.5); overflow: hidden; }
        .modal-overlay.active .modal-box { transform: translateY(0) scale(1); }
        .modal-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); }
        .modal-head h3 { font-size: 1.15em; font-weight: 600; }
        .modal-close-btn { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); color: #fff; width: 34px; height: 34px; border-radius: 9px; cursor: pointer; font-size: 1em; display: flex; align-items: center; justify-content: center; }
        .modal-close-btn:hover { background: rgba(233, 69, 96, 0.2); }
        .modal-body { padding: 24px; }
        .modal-body ul { list-style: none; }
        .modal-body li { padding: 10px 0 10px 24px; position: relative; color: rgba(255,255,255,0.8); font-size: 0.93em; border-bottom: 1px solid rgba(255,255,255,0.04); }
        .modal-body li:last-child { border-bottom: none; }
        .modal-body li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #e94560, #00fff5); }

        /* ========== Container & Glass ========== */
        .container { max-width: 1400px; margin: 0 auto; padding: 20px; }
        .glass { background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25); }

        /* ========== Content Sections ========== */
        .content-section { display: none; padding: 40px; margin-bottom: 24px; animation: fadeUp 0.45s ease-out; }
        .content-section.active { display: block; }
        @keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
        .section-title { font-size: 1.85em; font-weight: 700; margin-bottom: 28px; color: #fff; border-left: 5px solid #e94560; padding-left: 15px; display: flex; align-items: center; gap: 10px; }

        /* ========== Beranda ========== */
        .beranda-hero { text-align: center; padding: 30px 10px 10px; margin-bottom: 30px; }
        .beranda-hero h2 { font-size: 2.4em; font-weight: 800; margin-bottom: 14px; line-height: 1.25; background: linear-gradient(135deg, #fff 30%, #00fff5 70%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .beranda-hero p { font-size: 1.05em; font-weight: 300; opacity: 0.8; max-width: 600px; margin: 0 auto 24px; }
        .quick-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
        .feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 30px; }
        .feature-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); border-radius: 14px; padding: 22px 16px; text-align: center; cursor: pointer; transition: all 0.3s; }
        .feature-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(233, 69, 96, 0.25); transform: translateY(-4px); }
        .feature-card .fc-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 1.2em; }
        .feature-card .fc-title { font-weight: 600; font-size: 0.9em; margin-bottom: 4px; }
        .feature-card .fc-desc { font-size: 0.78em; opacity: 0.5; }
        .hero-image-container { margin-bottom: 25px; display: flex; justify-content: center; }
        .transparent-hero-img { max-width: 320px; width: 100%; height: auto; border-radius: 20px; object-fit: cover; mix-blend-mode: lighten; filter: brightness(1.1) contrast(1.05); transition: transform 0.4s ease, filter 0.4s ease; }
        .transparent-hero-img:hover { transform: scale(1.05); filter: brightness(1.2); }

        /* ========== Cards & Content ========== */
        .info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 30px; }
        .info-card { background: rgba(255, 255, 255, 0.03); padding: 25px; border-radius: 15px; border: 1px solid rgba(255, 255, 255, 0.05); transition: 0.3s; }
        .info-card:hover { background: rgba(255, 255, 255, 0.07); transform: translateY(-4px); border-color: rgba(233, 69, 96, 0.25); }
        .info-card h4 { font-size: 1.2em; margin-bottom: 15px; color: #00fff5; display: flex; align-items: center; gap: 10px; margin-top: 10px;}
        .info-card ul { list-style: none; }
        .info-card li { margin-bottom: 10px; padding-left: 20px; position: relative; }
        .info-card li::before { content: '\2192'; position: absolute; left: 0; color: #e94560; }
        .formula-box { background: rgba(0, 255, 245, 0.04); border: 1px dashed rgba(0, 255, 245, 0.25); padding: 20px; border-radius: 10px; margin: 15px 0; font-family: 'Courier New', monospace; font-size: 0.95em; line-height: 1.9; }
        .example-box { background: rgba(255, 255, 255, 0.04); border-left: 4px solid #e94560; padding: 20px; border-radius: 0 10px 10px 0; margin: 20px 0; }
        .example-box h4 { color: #e94560; margin-bottom: 10px; }

        /* ========== Quiz Gamified ========== */
        .quiz-game-area { position: relative; min-height: 400px; }
        .quiz-hud { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 15px; }
        .hud-item { background: rgba(0,0,0,0.3); padding: 12px 20px; border-radius: 12px; display: flex; align-items: center; gap: 10px; font-weight: 600; }
        .hud-item i { font-size: 1.2em; }
        .hud-score { color: #00fff5; font-size: 1.2em; }
        .hud-streak { color: #ffcc00; transition: transform 0.3s; }
        .hud-streak.active { transform: scale(1.2); }
        .hud-timer { color: #fff; font-size: 1.2em; font-weight: 700; }
        .hud-timer.warning { color: #ffcc00; animation: pulse 1s infinite; }
        .hud-timer.danger { color: #e94560; animation: pulse 0.5s infinite; }
        .quiz-progress-bar { width: 100%; height: 10px; background: rgba(255, 255, 255, 0.08); border-radius: 5px; margin-bottom: 25px; overflow: hidden; }
        .quiz-progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #00fff5, #e94560); border-radius: 5px; transition: width 0.5s ease; }
        .question-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 30px; margin-bottom: 20px; animation: slideIn 0.4s ease-out; }
        .question-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
        .question-number { font-size: 0.9em; color: #00fff5; font-weight: 600; background: rgba(0,255,245,0.1); padding: 6px 14px; border-radius: 20px; }
        .question-text { font-size: 1.3em; font-weight: 600; line-height: 1.6; margin-bottom: 30px; min-height: 60px; }
        .options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
        .option-card { padding: 18px 20px; background: rgba(0,0,0,0.2); border: 2px solid rgba(255,255,255,0.1); border-radius: 14px; cursor: pointer; transition: all 0.2s ease; display: flex; align-items: center; gap: 15px; position: relative; }
        .option-card:hover:not(.disabled) { background: rgba(255,255,255,0.06); border-color: rgba(0,255,245,0.5); transform: translateY(-3px); }
        .option-card .opt-letter { width: 35px; height: 35px; border-radius: 10px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; transition: all 0.3s; }
        .option-card .opt-text { font-weight: 500; font-size: 1.05em; }
        
        /* True/False Buttons */
        .tf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
        .tf-btn { flex-direction: column; padding: 30px 20px; text-align: center; font-size: 1.2em; font-weight: 700; }
        .tf-btn .tf-icon { font-size: 2.5em; margin-bottom: 10px; }
        .tf-btn.btn-true .tf-icon { color: #00ff64; }
        .tf-btn.btn-false .tf-icon { color: #e94560; }

        /* Sorting (Drag & Drop Tap) */
        .sort-container { margin-top: 10px; }
        .sort-slots { display: flex; gap: 15px; margin-bottom: 30px; justify-content: center; flex-wrap: wrap; }
        .sort-slot { min-width: 100px; min-height: 60px; border: 2px dashed rgba(255,255,255,0.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.2); transition: all 0.3s; position: relative; }
        .sort-slot.slot-highlight { border-color: #00fff5; background: rgba(0, 255, 245, 0.05); }
        .sort-slot .slot-label { position: absolute; top: -10px; left: 10px; font-size: 0.7em; background: #0f3460; padding: 2px 8px; border-radius: 6px; color: #00fff5; font-weight: 600; }
        .sort-bank { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; padding: 20px; background: rgba(0,0,0,0.15); border-radius: 12px; }
        .sort-item { padding: 12px 24px; background: rgba(233, 69, 96, 0.15); border: 2px solid #e94560; border-radius: 10px; cursor: pointer; font-weight: 700; font-size: 1.1em; transition: all 0.2s; color: #fff; }
        .sort-item:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(233, 69, 96, 0.3); }
        .sort-item.item-selected { background: #e94560; transform: scale(1.05); }
        .sort-item.in-slot { background: rgba(0, 255, 245, 0.15); border-color: #00fff5; color: #fff; margin: 0; }
        .sort-item.in-slot.item-selected { background: #00fff5; color: #1a1a2e; }
        .sort-item.correct-sort { background: rgba(0, 255, 100, 0.2); border-color: #00ff64; color: #fff; pointer-events: none; }
        .sort-item.wrong-sort { background: rgba(233, 69, 96, 0.2); border-color: #e94560; color: #fff; animation: shake 0.4s ease; }
        .btn-check-sort { margin-top: 20px; width: 100%; justify-content: center; }

        /* FIB (Fill in the Blank) */
        .fib-container { display: flex; gap: 15px; align-items: center; justify-content: center; flex-wrap: wrap; }
        .fib-input { background: rgba(0,0,0,0.3); border: 2px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 15px; font-size: 1.3em; color: #00fff5; text-align: center; width: 180px; outline: none; font-family: 'Poppins', sans-serif; font-weight: 600; transition: 0.3s; }
        .fib-input:focus { border-color: #00fff5; background: rgba(0,0,0,0.5); }
        .fib-input.correct-fib { border-color: #00ff64; background: rgba(0,255,100,0.1); color: #fff; }
        .fib-input.wrong-fib { border-color: #e94560; background: rgba(233,69,96,0.1); color: #fff; }
        
        /* MATCH (Menjodohkan) */
        .match-container { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 10px; }
        .match-col { display: flex; flex-direction: column; gap: 15px; }
        .match-item { padding: 15px; background: rgba(0,0,0,0.2); border: 2px solid rgba(255,255,255,0.1); border-radius: 12px; text-align: center; cursor: pointer; transition: 0.2s; font-weight: 600; font-size: 1.1em; user-select: none; }
        .match-item:hover { border-color: rgba(0,255,245,0.5); }
        .match-item.selected-match { border-color: #00fff5; background: rgba(0,255,245,0.1); color: #00fff5; transform: scale(1.05); }
        .match-item.matched { background: rgba(0,255,100,0.1); border-color: #00ff64; color: #00ff64; pointer-events: none; opacity: 0.8; }
        .match-item.wrong-match { border-color: #e94560; animation: shake 0.4s ease; }

        /* States */
        .option-card.correct { background: rgba(0, 255, 100, 0.15); border-color: #00ff64; color: #fff; animation: popIn 0.3s ease; }
        .option-card.correct .opt-letter { background: #00ff64; color: #1a1a2e; }
        .option-card.wrong { background: rgba(233, 69, 96, 0.15); border-color: #e94560; color: #fff; animation: shake 0.4s ease; }
        .option-card.wrong .opt-letter { background: #e94560; color: #fff; }
        .option-card.disabled { pointer-events: none; opacity: 0.6; }
        .option-card.correct.disabled { opacity: 1; }
        .explanation-popup { margin-top: 20px; padding: 16px; background: rgba(0,0,0,0.4); border-left: 4px solid #00fff5; border-radius: 0 12px 12px 0; animation: slideIn 0.4s ease-out 0.3s both; font-size: 0.95em; display: none; }
        .explanation-popup.show { display: block; }
        .quiz-nav-footer { display: flex; justify-content: flex-end; margin-top: 20px; }

        /* Result Gamified */
        .result-container { display: none; text-align: center; padding: 40px; animation: fadeUp 0.5s ease-out; }
        .result-emoji { font-size: 4em; margin-bottom: 20px; animation: bounceIn 0.6s ease; }
        .result-stars { font-size: 3em; color: #ffcc00; margin-bottom: 20px; letter-spacing: 10px; }
        .result-score-text { font-size: 1.2em; opacity: 0.8; margin-bottom: 10px; }
        .result-big-score { font-size: 3.5em; font-weight: 800; background: linear-gradient(135deg, #00fff5, #e94560); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 30px; }

        /* Animations */
        @keyframes slideIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
        @keyframes popIn { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
        @keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-10px); } 75% { transform: translateX(10px); } }
        @keyframes bounceIn { 0% { transform: scale(0.1); opacity: 0; } 60% { transform: scale(1.2); opacity: 1; } 100% { transform: scale(1); } }
        @media (max-width: 768px) { .options-grid, .match-container { grid-template-columns: 1fr; } .question-text { font-size: 1.1em; } }

        /* ========== Calculator ========== */
        .calculator-wrapper { max-width: 400px; margin: 0 auto; }
        .calc-display { width: 100%; background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(255,255,255,0.06); padding: 20px; font-size: 2em; color: #00fff5; text-align: right; border-radius: 12px; margin-bottom: 14px; font-family: 'Courier New', monospace; outline: none; }
        .calc-buttons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
        .calc-btn { padding: 18px; font-size: 1.15em; border: none; border-radius: 10px; cursor: pointer; font-family: 'Poppins', sans-serif; font-weight: 600; transition: 0.2s; color: white; }
        .calc-btn.num { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255,255,255,0.04); }
        .calc-btn.op { background: rgba(233, 69, 96, 0.4); }
        .calc-btn.equal { background: linear-gradient(135deg, #e94560, #ff6b6b); grid-column: span 2; }
        .calc-btn.clear { background: rgba(255, 255, 255, 0.15); color: #ffcc00; }
        .calc-btn:hover { transform: scale(1.05); filter: brightness(1.15); }

        /* ========== Buttons ========== */
        .btn-primary { padding: 12px 28px; background: linear-gradient(135deg, #e94560, #ff6b6b); color: white; border: none; border-radius: 30px; cursor: pointer; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.95em; transition: 0.3s; display: inline-flex; align-items: center; gap: 8px; }
        .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(233, 69, 96, 0.3); }
        .btn-secondary { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255,255,255,0.1); }
        .btn-secondary:hover { background: rgba(255, 255, 255, 0.15); box-shadow: none; }

        /* ========== Mini Calc & FAB ========== */
        .mini-calc { position: fixed; bottom: 28px; left: 28px; z-index: 900; }
        .mini-calc-toggle { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #0f3460, #16213e); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.15); color: #00fff5; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.15em; transition: transform 0.3s, box-shadow 0.3s; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); }
        .mini-calc-toggle:hover { transform: scale(1.1); box-shadow: 0 8px 25px rgba(0, 255, 245, 0.2); }
        .mini-calc-panel { position: absolute; bottom: 60px; left: 0; width: 240px; background: rgba(12, 12, 28, 0.97); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); opacity: 0; visibility: hidden; transform: translateY(10px) scale(0.95); transition: opacity 0.25s, transform 0.25s, visibility 0.25s; }
        .mini-calc-panel.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
        .mini-calc-display { width: 100%; background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.06); padding: 12px 14px; font-size: 1.3em; color: #00fff5; text-align: right; border-radius: 10px; margin-bottom: 10px; font-family: 'Courier New', monospace; outline: none; }
        .mini-calc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
        .mini-calc-grid button { padding: 12px 0; font-size: 1em; border: none; border-radius: 8px; cursor: pointer; font-family: 'Poppins', sans-serif; font-weight: 600; background: rgba(255, 255, 255, 0.07); color: #fff; transition: background 0.15s; }
        .mini-calc-grid button:hover { background: rgba(255, 255, 255, 0.14); }
        .mini-calc-grid .mc-op { background: rgba(233, 69, 96, 0.35); color: #fff; }
        .mini-calc-grid .mc-op:hover { background: rgba(233, 69, 96, 0.55); }
        .mini-calc-grid .mc-clr { background: rgba(255, 255, 255, 0.12); color: #ffcc00; }
        .mini-calc-grid .mc-eq { background: linear-gradient(135deg, #e94560, #ff6b6b); }
        .mini-calc-grid .mc-eq:hover { filter: brightness(1.15); }
        .fab-container { position: fixed; bottom: 28px; right: 28px; display: flex; flex-direction: column; gap: 10px; z-index: 900; }
        .fab { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.15); color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.15em; transition: 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
        .fab:hover { transform: scale(1.1); background: rgba(255, 255, 255, 0.15); }
        @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.6} }

        /* ========== Responsive ========== */
        @media (max-width: 900px) { .nav-desktop { display: none; } .hamburger { display: flex; } }
        @media (max-width: 768px) { .beranda-hero h2 { font-size: 1.7em; } .section-title { font-size: 1.4em; } .content-section { padding: 22px; } .info-cards { grid-template-columns: 1fr; } .feature-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 420px) { .header-inner { padding: 0 14px; } .logo-text { font-size: 1.15em; } .logo-icon { width: 34px; height: 34px; font-size: 1em; } .feature-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .feature-card { padding: 16px 10px; } .feature-card .fc-icon { width: 40px; height: 40px; font-size: 1em; } }
        @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } }