/* =====================================================================
   FITUR UKURAN FONT (Default / Sedang / Besar)
   Semua deklarasi font-size pada file ini memakai satuan rem, sehingga
   perbesaran teks cukup dilakukan dengan mengubah font-size pada <html>.
   Padding, margin, dan lebar elemen tetap memakai satuan px sehingga
   tata letak/desain yang sudah ada tidak berubah/rusak.
   ===================================================================== */
html { font-size: 16px; }
html.font-size-medium { font-size: 17.5px; }
html.font-size-large { font-size: 19px; }

:root {
    --primary-accent: #7dd3fc;
    --secondary-accent: #a5f3fc;
    --btn-bg-start: #38bdf8;
    --btn-bg-end: #0284c7;
    --btn-hover-start: #0284c7;
    --btn-hover-end: #0369a1;
    /* Spotlight Radial Gradient */
    --spotlight-color: rgba(125, 211, 252, 0.35);
    --spotlight-bg: rgba(10, 25, 47, 0.92);
    --marquee-bg: rgba(125, 211, 252, 0.12);
    --marquee-border: rgba(125, 211, 252, 0.25);
    --modal-bg: rgba(15, 23, 42, 0.95);
    --card-status-bg: #172136;
    --text-main: #ffffff;
    --text-sub: #cbd5e1;
    --brand-text: #ffffff;
    --widget-bg: rgba(255, 255, 255, 0.12);
    --widget-border: rgba(255, 255, 255, 0.25);
}    


	/* PALET WARNA 2: Ocean Blue (Deep Sapphire / Dark Blue) */
body.theme-ocean {
    --primary-accent: #2563eb;
    --secondary-accent: #1d4ed8;
    --btn-bg-start: #1d4ed8;
    --btn-bg-end: #1e40af;
    --btn-hover-start: #1e40af;
    --btn-hover-end: #1e3a8a;
    --spotlight-color: rgba(37, 99, 235, 0.35);
    --spotlight-bg: rgba(10, 15, 30, 0.93);
    --marquee-bg: rgba(37, 99, 235, 0.12);
    --marquee-border: rgba(37, 99, 235, 0.25);
    --modal-bg: rgba(10, 15, 30, 0.95);
    --card-status-bg: #0b1329;
    --text-main: #ffffff;
    --text-sub: #cbd5e1;
    --brand-text: #ffffff;
    --widget-bg: rgba(255, 255, 255, 0.12);
    --widget-border: rgba(255, 255, 255, 0.25);
}        

        /* PALET WARNA 3: Emerald Mint */
        body.theme-emerald {
            --primary-accent: #34d399;
            --secondary-accent: #059669;
            --btn-bg-start: #059669;
            --btn-bg-end: #0d9488;
            --btn-hover-start: #047857;
            --btn-hover-end: #0f766e;
            --spotlight-color: rgba(52, 211, 153, 0.35);
            --spotlight-bg: rgba(6, 44, 34, 0.93);
            --marquee-bg: rgba(52, 211, 153, 0.12);
            --marquee-border: rgba(52, 211, 153, 0.25);
            --modal-bg: rgba(6, 38, 30, 0.95);
            --card-status-bg: #0d382c;
            --text-main: #ffffff;
            --text-sub: #cbd5e1;
            --brand-text: #ffffff;
            --widget-bg: rgba(255, 255, 255, 0.12);
            --widget-border: rgba(255, 255, 255, 0.25);
        }

        /* PALET WARNA 4: Sunset Glow */
        body.theme-sunset {
            --primary-accent: #fbbf24;
            --secondary-accent: #f97316;
            --btn-bg-start: #d97706;
            --btn-bg-end: #ea580c;
            --btn-hover-start: #b45309;
            --btn-hover-end: #c2410c;
            --spotlight-color: rgba(251, 191, 36, 0.35);
            --spotlight-bg: rgba(45, 20, 8, 0.93);
            --marquee-bg: rgba(251, 191, 36, 0.12);
            --marquee-border: rgba(251, 191, 36, 0.25);
            --modal-bg: rgba(40, 18, 8, 0.95);
            --card-status-bg: #35180c;
            --text-main: #ffffff;
            --text-sub: #cbd5e1;
            --brand-text: #ffffff;
            --widget-bg: rgba(255, 255, 255, 0.12);
            --widget-border: rgba(255, 255, 255, 0.25);
        }

        /* PALET WARNA 5: Royal Violet */
        body.theme-violet {
            --primary-accent: #c084fc;
            --secondary-accent: #818cf8;
            --btn-bg-start: #7c3aed;
            --btn-bg-end: #4f46e5;
            --btn-hover-start: #6d28d9;
            --btn-hover-end: #4338ca;
            --spotlight-color: rgba(192, 132, 252, 0.35);
            --spotlight-bg: rgba(24, 13, 49, 0.93);
            --marquee-bg: rgba(192, 132, 252, 0.12);
            --marquee-border: rgba(192, 132, 252, 0.25);
            --modal-bg: rgba(22, 13, 43, 0.95);
            --card-status-bg: #22143b;
            --text-main: #ffffff;
            --text-sub: #cbd5e1;
            --brand-text: #ffffff;
            --widget-bg: rgba(255, 255, 255, 0.12);
            --widget-border: rgba(255, 255, 255, 0.25);
        }

        /* PALET WARNA 6: Sunset Rose */
        body.theme-rose {
            --primary-accent: #fb7185;
            --secondary-accent: #f43f5e;
            --btn-bg-start: #e11d48;
            --btn-bg-end: #be123c;
            --btn-hover-start: #be123c;
            --btn-hover-end: #9f1239;
            --spotlight-color: rgba(251, 113, 133, 0.35);
            --spotlight-bg: rgba(45, 10, 22, 0.93);
            --marquee-bg: rgba(251, 113, 133, 0.12);
            --marquee-border: rgba(251, 113, 133, 0.25);
            --modal-bg: rgba(38, 10, 20, 0.95);
            --card-status-bg: #33121c;
            --text-main: #ffffff;
            --text-sub: #cbd5e1;
            --brand-text: #ffffff;
            --widget-bg: rgba(255, 255, 255, 0.12);
            --widget-border: rgba(255, 255, 255, 0.25);
        }

        /* PALET WARNA 7: Light / Monochrome */
        body.theme-light {
            --primary-accent: #0369a1;
            --secondary-accent: #1d4ed8;
            --btn-bg-start: #1e293b;
            --btn-bg-end: #0f172a;
            --btn-hover-start: #334155;
            --btn-hover-end: #1e293b;
            --spotlight-color: rgba(2, 132, 199, 0.2);
            --spotlight-bg: rgba(241, 245, 249, 0.92);
            --marquee-bg: rgba(2, 132, 199, 0.08);
            --marquee-border: rgba(2, 132, 199, 0.2);
            --modal-bg: rgba(255, 255, 255, 0.98);
            --card-status-bg: #ffffff;
            --text-main: #0f172a;
            --text-sub: #334155;
            --brand-text: #0f172a;
            --widget-bg: rgba(15, 23, 42, 0.08);
            --widget-border: rgba(15, 23, 42, 0.15);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        body, html {
            height: 100%;
            overflow: hidden;
            transition: background-color 0.4s ease, color 0.4s ease;
        }

        /* Canvas Efek Kursor Bintang */
        #cursorCanvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 999;
            pointer-events: none;
        }

        /* Photo Background */
        .bg-image {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('../images/GedungBPS.jpeg');
            background-size: cover;
            background-position: center;
            z-index: -2;
            transition: transform 0.8s ease-out;
        }

        body.theme-light .bg-image {
            filter: grayscale(80%) opacity(0.3);
        }

        /* OVERLAY SPOTLIGHT / SENTER INTERAKTIF (FOLLOW MOUSE) */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: radial-gradient(
                circle 380px at var(--mouse-x, 50%) var(--mouse-y, 50%),
                var(--spotlight-color),
                var(--spotlight-bg) 80%
            );
            z-index: -1;
            pointer-events: none;
            transition: background 0.05s ease-out;
        }

        /* Header Navbar */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 20px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 10;
        }

        .header-right {
            display: flex;
            align-items: center;
            gap: 15px;
            position: relative;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 15px;
            color: var(--brand-text);
            text-decoration: none;
            transition: transform 0.3s ease;
        }

        .brand:hover {
            transform: scale(1.02);
        }

        .brand img {
            height: 48px;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
        }

        .brand-text h2 {
            font-size: 1.15rem;
            font-weight: 700;
            letter-spacing: 1px;
            line-height: 1.2;
            color: var(--brand-text);
        }

        .brand-text p {
            font-size: 0.78rem;
            color: var(--primary-accent);
            font-weight: 600;
            transition: color 0.4s ease;
        }

        /* Marquee / Teks Berjalan */
        .running-text-container {
            position: fixed;
            top: 96px; 
            left: 0;
            width: 100%;
            background: var(--marquee-bg);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            border-top: 1px solid var(--marquee-border);
            border-bottom: 1px solid var(--marquee-border);
            color: var(--primary-accent);
            padding: 8px 0;
            z-index: 9;
            overflow: hidden;
            white-space: nowrap;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            transition: all 0.4s ease;
        }

        .running-text-container marquee {
            font-size: 0.88rem;
            font-weight: 600;
            letter-spacing: 0.8px;
        }

        /* Pemutar Musik Playlist */
        .music-player-widget {
            background: var(--widget-bg);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid var(--widget-border);
            color: var(--text-main);
            padding: 8px 18px;
            border-radius: 30px;
            display: flex;
            align-items: center;
            gap: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }

        .music-player-widget:hover {
            box-shadow: 0 0 15px var(--primary-accent);
        }

        .track-info {
            display: flex;
            align-items: center;
            gap: 10px;
            max-width: 220px;
        }

        .track-info i {
            color: var(--primary-accent);
            font-size: 1rem;
            transition: color 0.4s ease;
        }

        .track-text {
            display: flex;
            flex-direction: column;
            overflow: hidden;
            text-align: left;
        }

        .track-title {
            font-size: 0.8rem;
            font-weight: 600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            color: var(--text-main);
        }

        .track-artist {
            font-size: 0.7rem;
            color: var(--text-sub);
        }

        .player-controls {
            display: flex;
            align-items: center;
            gap: 6px;
            border-left: 1px solid var(--widget-border);
            padding-left: 10px;
        }

        .ctrl-btn {
            background: none;
            border: none;
            color: var(--text-main);
            cursor: pointer;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
            transition: all 0.2s ease;
        }

        .ctrl-btn:hover {
            background: rgba(0, 0, 0, 0.08);
            color: var(--primary-accent);
        }

        .ctrl-btn.play-btn {
            background: var(--btn-bg-start);
            color: #fff;
            transition: background 0.4s ease, transform 0.2s ease;
        }

        .ctrl-btn.play-btn:hover {
            background: var(--btn-hover-start);
            transform: scale(1.1);
        }

        /* --- STYLING MODE THEME TOMBOL & MODAL DROPDOWN (SAMA SEPERTI SYNTAX 2) --- */
        .theme-btn {
            background: var(--widget-bg);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid var(--widget-border);
            color: var(--primary-accent);
            width: 42px;
            height: 42px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1.15rem;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        .theme-btn:hover {
            background: var(--widget-bg);
            color: var(--primary-accent);
            transform: rotate(30deg) scale(1.08);
            box-shadow: 0 0 15px var(--primary-accent);
        }

        .theme-palette-modal {
            position: absolute;
            top: 55px;
            right: 0;
            background: var(--modal-bg);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid var(--widget-border);
            border-radius: 20px;
            padding: 18px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.4);
            z-index: 1001;
            display: none;
            flex-direction: column;
            gap: 12px;
            width: 270px;
        }

        .theme-palette-modal.show {
            display: flex;
            animation: fadeIn 0.2s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-8px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .theme-palette-header {
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--text-main);
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid var(--widget-border);
            padding-bottom: 8px;
        }

        .theme-options-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }

        .theme-option-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 10px;
            border-radius: 10px;
            border: 1px solid var(--widget-border);
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-main);
            font-size: 0.78rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }

        .theme-option-btn:hover, .theme-option-btn.active {
            border-color: var(--primary-accent);
            background: var(--marquee-bg);
            color: var(--primary-accent);
        }

        /* Pengaturan Ukuran Font */
        .font-size-setting { display:flex; flex-direction:column; gap:8px; padding-top:12px; margin-top:2px; border-top:1px solid var(--widget-border); }
        .font-size-setting-label { display:flex; align-items:center; gap:8px; font-size:0.78rem; font-weight:600; color:var(--text-main); }
        .font-size-setting-label i { color:var(--primary-accent); }
        .font-size-options { display:flex; gap:8px; }
        .font-size-btn { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; padding:7px 4px; border-radius:9px; border:1px solid var(--widget-border); background:rgba(255, 255, 255, 0.05); color:var(--text-main); font-size:0.66rem; font-weight:600; cursor:pointer; transition:all 0.2s; line-height:1; }
        .font-size-btn .fs-letter { font-weight:700; line-height:1; }
        .font-size-btn.fs-sm .fs-letter { font-size:0.75rem; }
        .font-size-btn.fs-md .fs-letter { font-size:0.92rem; }
        .font-size-btn.fs-lg .fs-letter { font-size:1.1rem; }
        .font-size-btn:hover, .font-size-btn.active {
            border-color: var(--primary-accent);
            background: var(--marquee-bg);
            color: var(--primary-accent);
        }

        .theme-color-preview {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            display: inline-block;
            flex-shrink: 0;
        }

        /* Pengaturan Efek Kursor Bintang */
        .cursor-effect-setting {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding-top: 12px;
            margin-top: 2px;
            border-top: 1px solid var(--widget-border);
            color: var(--text-main);
            font-size: 0.78rem;
            font-weight: 600;
        }

        .cursor-effect-setting > span {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .cursor-effect-setting > span i {
            color: var(--primary-accent);
        }

        .cursor-toggle {
            position: relative;
            width: 42px;
            height: 22px;
            flex-shrink: 0;
            cursor: pointer;
        }

        .cursor-toggle input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .cursor-toggle-slider {
            position: absolute;
            inset: 0;
            background: rgba(148, 163, 184, 0.35);
            border: 1px solid var(--widget-border);
            border-radius: 999px;
            transition: all 0.25s ease;
        }

        .cursor-toggle-slider::before {
            content: "";
            position: absolute;
            width: 16px;
            height: 16px;
            left: 2px;
            top: 2px;
            border-radius: 50%;
            background: #fff;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            transition: transform 0.25s ease;
        }

        .cursor-toggle input:checked + .cursor-toggle-slider {
            background: var(--primary-accent);
            border-color: var(--primary-accent);
            box-shadow: 0 0 10px var(--primary-accent);
        }

        .cursor-toggle input:checked + .cursor-toggle-slider::before {
            transform: translateX(19px);
        }

        /* HERO CONTAINER & RESPONSIVE TEXT MOVEMENTS */
        .hero-container {
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: var(--text-main);
            padding: 40px 20px 0 20px;
            position: relative;
            z-index: 2;
            perspective: 1000px;
        }

        .hero-content-box {
            transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            transform-style: preserve-3d;
            padding: 30px;
            will-change: transform;
        }

        .badge-tag {
            background: var(--marquee-bg);
            border: 1px solid var(--primary-accent);
            color: var(--primary-accent);
            padding: 8px 20px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 25px;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: transform 0.2s ease-out, box-shadow 0.3s ease;
            will-change: transform;
        }

        .hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 18px;
            line-height: 1.2;
            color: var(--text-main);
            transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            will-change: transform;
        }

        .hero-title span {
            background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent), var(--primary-accent));
            background-size: 200% auto;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: gradientFlow 5s linear infinite;
            display: inline-block;
            transition: all 0.3s ease;
        }

        @keyframes gradientFlow {
            0% { background-position: 0% center; }
            100% { background-position: 200% center; }
        }

        .hero-subtitle {
            font-size: 1.1rem;
            max-width: 680px;
            color: var(--text-sub);
            margin-bottom: 45px;
            font-weight: 400;
            line-height: 1.6;
            transition: transform 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.4s ease;
            will-change: transform;
        }

        /* Action Buttons */
        .cta-buttons {
            display: flex;
            justify-content: center;
            width: 100%;
            transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .btn {
            padding: 14px 34px;
            border-radius: 30px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            border: none;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--btn-bg-start), var(--btn-bg-end));
            color: #fff;
            box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
            transition: all 0.4s ease;
        }

        .btn-primary:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 12px 30px var(--primary-accent);
            background: linear-gradient(135deg, var(--btn-hover-start), var(--btn-hover-end));
        }

        /* POPUP MODAL LOGIN & ALERT STYLING */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 100;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modal-card {
            background: var(--modal-bg);
            border: 1px solid var(--widget-border);
            border-radius: 24px;
            padding: 40px 35px;
            width: 100%;
            max-width: 420px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.2);
            transform: translateY(30px) scale(0.95);
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            position: relative;
            color: var(--text-main);
        }

        .modal-overlay.active .modal-card {
            transform: translateY(0) scale(1);
        }

        .modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(0, 0, 0, 0.05);
            border: none;
            color: var(--text-sub);
            width: 32px;
            height: 32px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }

        .modal-close:hover {
            background: rgba(0, 0, 0, 0.1);
            color: var(--text-main);
            transform: rotate(90deg);
        }

        .modal-header {
            text-align: center;
            margin-bottom: 25px;
        }

        .modal-icon-box {
            width: 60px;
            height: 60px;
            background: var(--marquee-bg);
            border: 1px solid var(--primary-accent);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            color: var(--primary-accent);
            font-size: 1.5rem;
            animation: pulseGlow 2s infinite;
            transition: all 0.4s ease;
        }

        @keyframes pulseGlow {
            0% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2); }
            70% { box-shadow: 0 0 0 15px rgba(0, 0, 0, 0); }
            100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
        }

        .modal-header h3 {
            font-size: 1.4rem;
            font-weight: 700;
        }

        .modal-header p {
            font-size: 0.85rem;
            color: var(--text-sub);
            margin-top: 5px;
        }

        .form-group {
            margin-bottom: 20px;
            text-align: left;
        }

        .form-group label {
            display: block;
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--text-sub);
            margin-bottom: 8px;
        }

        .input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .input-wrapper i {
            position: absolute;
            left: 15px;
            color: #94a3b8;
            font-size: 0.95rem;
            transition: color 0.3s ease;
        }

        .form-control {
            width: 100%;
            padding: 13px 15px 13px 42px;
            background: rgba(0, 0, 0, 0.04);
            border: 1px solid var(--widget-border);
            border-radius: 12px;
            color: var(--text-main);
            font-size: 0.95rem;
            outline: none;
            transition: all 0.3s ease;
        }

        .form-control:focus {
            border-color: var(--primary-accent);
            background: rgba(0, 0, 0, 0.02);
            box-shadow: 0 0 15px var(--primary-accent);
        }

        .form-control:focus + i, .input-wrapper:focus-within i {
            color: var(--primary-accent);
        }

        .input-hint {
            font-size: 0.75rem;
            color: var(--primary-accent);
            margin-top: 5px;
            display: block;
            transition: color 0.4s ease;
        }

        .remember-group {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
            cursor: pointer;
            user-select: none;
        }

        .remember-group input[type="checkbox"] {
            accent-color: var(--primary-accent);
            width: 16px;
            height: 16px;
            cursor: pointer;
        }

        .remember-group label {
            font-size: 0.85rem;
            color: var(--text-sub);
            cursor: pointer;
            margin-bottom: 0;
        }

        .btn-submit {
            width: 100%;
            padding: 14px;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--btn-bg-start), var(--btn-bg-end));
            color: #fff;
            font-weight: 600;
            border: none;
            cursor: pointer;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px var(--primary-accent);
        }

        /* ALERT MODAL */
        .status-card {
            background: var(--card-status-bg);
            border: 1px solid var(--widget-border);
            border-radius: 20px;
            padding: 35px 30px;
            width: 100%;
            max-width: 380px;
            text-align: center;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
            transform: translateY(20px) scale(0.95);
            transition: all 0.3s ease;
        }

        .modal-overlay.active .status-card {
            transform: translateY(0) scale(1);
        }

        .status-icon {
            width: 55px;
            height: 55px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 1.5rem;
        }

        .status-icon.success {
            background: #10b981;
            color: #ffffff;
        }

        .status-icon.error {
            background: #ef4444;
            color: #ffffff;
        }

        .status-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 10px;
        }

        .status-desc {
            font-size: 0.88rem;
            color: var(--text-sub);
            line-height: 1.5;
            margin-bottom: 25px;
        }

        .btn-status-action {
            width: 100%;
            padding: 13px;
            border-radius: 12px;
            border: none;
            font-weight: 600;
            font-size: 0.92rem;
            cursor: pointer;
            transition: all 0.2s ease;
            background: var(--btn-bg-start);
            color: #ffffff;
        }

        .btn-status-action:hover {
            background: var(--btn-hover-start);
        }

        /* Footer */
        footer {
            position: fixed;
            bottom: 20px;
            width: 100%;
            text-align: center;
            color: var(--text-sub);
            font-size: 0.8rem;
            z-index: 10;
        }

        @media (max-width: 768px) {
            header { padding: 15px 20px; flex-direction: column; gap: 15px; }
            .header-right { width: 100%; justify-content: space-between; }
            .running-text-container { top: 140px; }
            .hero-container { padding-top: 60px; }
            .hero-title { font-size: 2.3rem; }
            .hero-subtitle { font-size: 0.95rem; }
            .cta-buttons { width: 100%; max-width: 280px; margin: 0 auto; }
            .btn { justify-content: center; width: 100%; }
            .modal-card { margin: 0 20px; padding: 30px 25px; }
            .music-player-widget { width: auto; flex-grow: 1; justify-content: space-between; }
            .theme-palette-modal { right: auto; left: 0; }
        }

        /* =================================================================
           REVISI RESPONSIVE HEADER KHUSUS TAMPILAN HP (Portal/Landing)
           Header di halaman ini "position: fixed", jadi ukurannya perlu
           dipadatkan lebih jauh lagi di layar sangat kecil supaya tidak
           menutupi terlalu banyak area hero. Tidak ada elemen yang
           dihapus, hanya subjudul brand yang disembunyikan & widget
           dipadatkan (sama seperti revisi di halaman User/Admin).
           ================================================================= */
        @media (max-width: 480px) {
            header { padding: 8px 12px; gap: 8px; }
            .brand { gap: 8px; }
            .brand img { height: 30px; }
            .brand-text h2 { font-size: 0.85rem; letter-spacing: 0.2px; }
            .brand-text p { display: none; }
            .running-text-container { top: 96px; }

            .header-right { gap: 8px; }
            .music-player-widget { padding: 5px 10px; gap: 8px; }
            .track-info { max-width: 90px; }
            .track-artist { display: none; }
            .track-title { font-size: 0.7rem; }
            .theme-btn { width: 32px; height: 32px; font-size: 0.95rem; }
        }

/* =====================================================================
   TRANSISI LOGIN SUKSES: Kertas Kelipet (Origami) menjadi Pesawat Terbang
   Ditambahkan sebagai lapisan baru di atas semua elemen; tidak mengubah
   style/komponen yang sudah ada sebelumnya.
   ===================================================================== */
.login-fly-transition {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.4s ease;
}

.login-fly-transition.active {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}

.fly-transition-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 45%, var(--spotlight-color, rgba(125,211,252,0.35)), var(--spotlight-bg, rgba(10,25,47,0.95)) 72%);
}

.fly-transition-stage {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- TAHAP 1: Ikon Jam Pasir (ditampilkan 5 detik pertama) ---- */
.hourglass-icon {
    position: absolute;
    font-size: 3rem;
    color: var(--primary-accent);
    opacity: 0;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.4));
}

.login-fly-transition.stage-hourglass .hourglass-icon {
    opacity: 1;
    animation: hourglassFlipAnim 1.25s ease-in-out infinite;
}

@keyframes hourglassFlipAnim {
    0%   { transform: rotate(0deg); }
    38%  { transform: rotate(0deg); }
    50%  { transform: rotate(180deg); }
    88%  { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

/* ---- TAHAP 2: Kertas Dilipat/Dilecek menjadi Origami ---- */
.paper-fold {
    position: absolute;
    width: 64px;
    height: 64px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    opacity: 0;
}

.login-fly-transition.stage-fold .paper-fold {
    animation: paperFoldAnim 2.2s ease forwards;
}

.fold-crease {
    position: absolute;
    background: rgba(15, 23, 42, 0.08);
}

.fold-crease-1 { top: 0; left: 50%; width: 1px; height: 100%; transform: translateX(-50%); }
.fold-crease-2 { top: 50%; left: 0; width: 100%; height: 1px; transform: translateY(-50%); }

@keyframes paperFoldAnim {
    0%   { transform: scale(0.6) rotate(0deg); border-radius: 4px; opacity: 0; }
    10%  { transform: scale(1) rotate(0deg); border-radius: 4px; opacity: 1; }
    35%  { transform: scale(0.9) rotateY(180deg) rotate(-6deg); border-radius: 4px; opacity: 1; }
    55%  { transform: scale(0.7) rotateY(360deg) rotate(-20deg); border-radius: 3px; opacity: 1; }
    75%  { transform: scale(0.55) rotate(-45deg); border-radius: 2px; opacity: 1; }
    92%  { transform: scale(0.4) rotate(-45deg); opacity: 1; }
    100% { transform: scale(0.35) rotate(-45deg); opacity: 1; }
}

/* ---- TAHAP 3: Pesawat Kertas Terbang ---- */
.paper-plane-icon {
    position: absolute;
    font-size: 2.6rem;
    color: var(--primary-accent);
    opacity: 0;
    transform: scale(0.35) rotate(-45deg) translate(0, 0);
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.4));
}

.login-fly-transition.stage-fly .paper-plane-icon {
    animation: paperPlaneAnim 1.9s ease forwards;
}

@keyframes paperPlaneAnim {
    0%   { opacity: 1; transform: scale(0.9) rotate(-40deg) translate(0, 0); }
    12%  { opacity: 1; transform: scale(1) rotate(-38deg) translate(0, 0); }
    50%  { opacity: 1; transform: scale(1.05) rotate(-25deg) translate(60px, -40px); }
    100% { opacity: 0; transform: scale(0.7) rotate(15deg) translate(520px, -360px); }
}

.plane-trail {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary-accent);
    opacity: 0;
}

.login-fly-transition.stage-fly .plane-trail.t1 { animation: trailAnim 1.9s ease forwards; animation-delay: 0.2s; }
.login-fly-transition.stage-fly .plane-trail.t2 { animation: trailAnim 1.9s ease forwards; animation-delay: 0.35s; }
.login-fly-transition.stage-fly .plane-trail.t3 { animation: trailAnim 1.9s ease forwards; animation-delay: 0.5s; }

@keyframes trailAnim {
    0%   { opacity: 0; transform: translate(0, 0) scale(1); }
    15%  { opacity: 0.8; }
    100% { opacity: 0; transform: translate(480px, -340px) scale(0.2); }
}

.fly-transition-text {
    margin-top: 26px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    opacity: 0;
    letter-spacing: 0.3px;
}

.login-fly-transition.active .fly-transition-text {
    animation: flyTextFadeIn 0.6s ease forwards;
    animation-delay: 0.3s;
}

@keyframes flyTextFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .fly-transition-stage { width: 120px; height: 120px; }
    .hourglass-icon { font-size: 2.3rem; }
    .paper-fold { width: 52px; height: 52px; }
    .paper-plane-icon { font-size: 2rem; }

    .login-fly-transition.stage-fly .paper-plane-icon {
        animation-name: paperPlaneAnimMobile;
    }

    .login-fly-transition.stage-fly .plane-trail.t1,
    .login-fly-transition.stage-fly .plane-trail.t2,
    .login-fly-transition.stage-fly .plane-trail.t3 {
        animation-name: trailAnimMobile;
    }

    @keyframes paperPlaneAnimMobile {
        0%   { opacity: 1; transform: scale(0.85) rotate(-40deg) translate(0, 0); }
        12%  { opacity: 1; transform: scale(0.9) rotate(-38deg) translate(0, 0); }
        50%  { opacity: 1; transform: scale(0.95) rotate(-25deg) translate(35px, -25px); }
        100% { opacity: 0; transform: scale(0.6) rotate(15deg) translate(220px, -200px); }
    }

    @keyframes trailAnimMobile {
        0%   { opacity: 0; transform: translate(0, 0) scale(1); }
        15%  { opacity: 0.8; }
        100% { opacity: 0; transform: translate(200px, -180px) scale(0.2); }
    }

    .fly-transition-text { font-size: 0.85rem; padding: 0 20px; text-align: center; }
}

/* =====================================================================
   MINI EFEK KERTAS LECEK -> PESAWAT KERTAS TERBANG (untuk pop-up
   konfirmasi seperti Mengerti/Berhasil/Gagal). Versi kecil dari efek
   transisi di atas, dimainkan sebentar sebelum pop-up benar-benar
   tertutup / lanjut ke aksi berikutnya. Tidak mengubah isi/logic
   pop-up yang sudah ada.
   ===================================================================== */
.mini-paper-fx-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    background: rgba(10, 25, 47, 0.28);
    transition: opacity 0.25s ease;
}

.mini-paper-fx-overlay.active {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}

.mini-paper-fx-stage {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-paper-fold {
    position: absolute;
    width: 28px;
    height: 28px;
    background: #ffffff;
    border-radius: 3px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.28);
    opacity: 0;
}

.mini-paper-fx-overlay.active .mini-paper-fold {
    animation: miniPaperFoldAnim 1s ease forwards;
}

@keyframes miniPaperFoldAnim {
    0%   { transform: scale(0.6) rotate(0deg); opacity: 0; }
    12%  { transform: scale(1) rotate(0deg); opacity: 1; }
    45%  { transform: scale(0.85) rotateY(180deg) rotate(-10deg); opacity: 1; }
    70%  { transform: scale(0.55) rotate(-45deg); opacity: 1; }
    100% { transform: scale(0.4) rotate(-45deg); opacity: 1; }
}

.mini-paper-plane-icon {
    position: absolute;
    font-size: 1.3rem;
    color: var(--primary-accent);
    opacity: 0;
    transform: scale(0.85) rotate(-40deg) translate(0, 0);
    filter: drop-shadow(0 3px 8px rgba(0,0,0,0.35));
}

.mini-paper-fx-overlay.active .mini-paper-plane-icon {
    animation: miniPaperPlaneAnim 0.95s ease forwards;
    animation-delay: 0.85s;
}

@keyframes miniPaperPlaneAnim {
    0%   { opacity: 1; transform: scale(0.85) rotate(-40deg) translate(0, 0); }
    50%  { opacity: 1; transform: scale(0.9) rotate(-22deg) translate(28px, -20px); }
    100% { opacity: 0; transform: scale(0.6) rotate(12deg) translate(150px, -110px); }
}

.mini-plane-trail {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--primary-accent);
    opacity: 0;
}

.mini-paper-fx-overlay.active .mini-plane-trail.mt1 { animation: miniTrailAnim 0.95s ease forwards; animation-delay: 0.95s; }
.mini-paper-fx-overlay.active .mini-plane-trail.mt2 { animation: miniTrailAnim 0.95s ease forwards; animation-delay: 1.05s; }

@keyframes miniTrailAnim {
    0%   { opacity: 0; transform: translate(0, 0) scale(1); }
    15%  { opacity: 0.7; }
    100% { opacity: 0; transform: translate(140px, -100px) scale(0.2); }
}

@media (max-width: 600px) {
    .mini-paper-fx-stage { width: 56px; height: 56px; }
    .mini-paper-fold { width: 22px; height: 22px; }
    .mini-paper-plane-icon { font-size: 1.05rem; }
}
