:root {
    --bg-color: #f8fafc; --surface-color: #ffffff;
    --text-main: #0f172a; --text-muted: #64748b;
    --border-color: #e2e8f0; --nav-bg: rgba(255, 255, 255, 0.9);
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 15px 35px rgba(var(--accent-rgb), 0.15);
}
[data-theme="dark"] {
    --bg-color: #0f172a; --surface-color: #1e293b;
    --text-main: #f8fafc; --text-muted: #94a3b8; 
    --border-color: #334155; --nav-bg: rgba(15, 23, 42, 0.95);
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 15px 35px rgba(var(--accent-rgb), 0.2);
}

html, body { max-width: 100vw; overflow-x: hidden; scroll-behavior: smooth; }
body { background-color: var(--bg-color) !important; color: var(--text-main) !important; font-family: 'Inter', sans-serif; transition: background-color 0.4s, color 0.4s ease; position: relative; font-size: 15px; }

#network-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; opacity: 1; pointer-events: none; }

[data-theme="dark"] .bg-light { background-color: var(--surface-color) !important; }
[data-theme="dark"] .text-dark, [data-theme="dark"] .text-muted { color: var(--text-main) !important; }
span, li, strong, b, .accordion-body, .fw-medium, p, .small { color: inherit; transition: color 0.4s; }
h1, h2, h3, h4, h5, .fw-bold { color: var(--text-main) !important; transition: color 0.4s; }

.rt-content { font-size: 0.9rem; line-height: 1.6; color: var(--text-muted); }
.rt-content p { margin-bottom: 0.8rem; }
.rt-content ul, .rt-content ol { padding-left: 1.2rem; margin-bottom: 0.8rem; }
.rt-content li { margin-bottom: 0.3rem; line-height: 1.6; }
.rt-content p:last-child, .rt-content ul:last-child, .rt-content ol:last-child { margin-bottom: 0; }
.rt-content a { color: var(--accent); font-weight: 600; text-decoration: none; }
.rt-content a:hover { text-decoration: underline; }

.text-truncate-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.text-truncate-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

#modalAktTajuk, #modalSertaiTajuk, #modalSkuadNama { font-size: 1.15rem !important; text-transform: uppercase; }
.modal-body .rt-content { font-size: 0.82rem !important; line-height: 1.5 !important; }

#modalSertaiIkonWrapper { width: 55px; height: 55px; flex-shrink: 0; margin-left: auto; margin-right: auto; }
#modalSertaiIkonWrapper i { width: 24px; height: 24px; }
#modalSkuadImg { width: 100px; height: 100px; flex-shrink: 0; margin-left: auto; margin-right: auto; }
.skuad-nama { font-size: 0.95rem !important; line-height: 1.4; letter-spacing: 0px; }

@media (min-width: 992px) { 
    .rt-content { font-size: 0.875rem !important; line-height: 1.7 !important; } 

    #sertaiModal .modal-dialog, #skuadModal .modal-dialog { max-width: 750px; }
    #aktivitiModal .modal-dialog, #lightboxModal .modal-dialog { max-width: 850px; }

    #sertaiModal .modal-body .rt-content, 
    #skuadModal .modal-body .rt-content,
    #aktivitiModal .modal-body .rt-content,
    #lightboxModal .modal-body .rt-content { font-size: 0.85rem !important; line-height: 1.6 !important; }

    #modalSertaiTajuk, #modalSkuadNama, #modalAktTajuk { font-size: 1.3rem !important; letter-spacing: 0.5px; }

    #modalSertaiIkonWrapper { width: 65px !important; height: 65px !important; }
    #modalSertaiIkonWrapper i { width: 28px !important; height: 28px !important; }
    #modalSkuadImg { width: 120px !important; height: 120px !important; }

    .col-lg-custom-5 { flex: 0 0 auto; width: 20%; }
}

.reveal { transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-hidden { opacity: 0; transform: translateY(30px); }
.reveal-visible { opacity: 1; transform: translateY(0); }

.text-highlight { color: var(--accent) !important; display: inline-block; font-weight: inherit; }

.header-wrapper { background-color: var(--nav-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: 0.4s; z-index: 1030;}
.navbar { padding: 12px 0; border-bottom: 1px solid rgba(15,23,42,0.05); }
.nav-link { font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted) !important; transition: all 0.3s ease; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--text-main) !important; }

@media (min-width: 992px) {
    .nav-link::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background-color: var(--accent); transition: all 0.3s ease; transform: translateX(-50%); border-radius: 2px; }
    .nav-link:hover::after, .nav-link.active::after { width: 60%; }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .nav-link { font-size: 11px !important; padding: 10px 6px !important; letter-spacing: 0px !important; }
    .navbar-nav { gap: 0.2rem !important; }
    .navbar-brand span:first-child { font-size: 1.3rem !important; }
    .navbar-brand span.text-muted { font-size: 0.55rem !important; }
    .btn-modern { padding: 8px 16px !important; font-size: 12px !important; }
}

@media (max-width: 991px) {
    .nav-link { padding: 12px 15px !important; border-radius: 8px; margin-bottom: 5px; border-left: 3px solid transparent;}
    .nav-link:hover, .nav-link.active { background: rgba(var(--accent-rgb), 0.08); color: var(--accent) !important; padding-left: 20px !important; border-left: 3px solid var(--accent); }

    .mobile-slider-row {
        display: flex !important; flex-wrap: nowrap !important; overflow-x: auto;
        scroll-snap-type: x mandatory; padding-bottom: 15px; scrollbar-width: none;
        margin-left: 0; margin-right: 0; justify-content: flex-start !important;
    }
    .mobile-slider-row::-webkit-scrollbar { display: none; }
    .mobile-slider-row > .skuad-item-wrapper {
        flex: 0 0 auto; width: 85vw; max-width: 320px; scroll-snap-align: center;
        padding-left: 10px; padding-right: 10px;
    }

    .scroll-y-mobile { max-height: 55vh; overflow-y: auto; padding-right: 5px; scrollbar-width: thin; }
    .scroll-y-mobile::-webkit-scrollbar { width: 4px; }
    .scroll-y-mobile::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 10px; }
}

.modern-alert-banner { position: relative; width: 100%; background: var(--surface-color); padding: 10px 15px; margin-bottom: 0; border-bottom: 1px solid var(--border-color); z-index: 1031; }
.badge-alert { background-color: var(--accent); color: white !important; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 6px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); z-index: 2; letter-spacing: 0.5px;}
.marquee-container { overflow: hidden; white-space: nowrap; position: relative; width: 100%; mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);}
.marquee-content { display: inline-block; animation: marquee var(--marquee-duration) linear infinite; padding-left: 100%; }
.marquee-content:hover { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
.alert-text { font-size: 13.5px; font-weight: 500; color: var(--text-main) !important; display: inline-block;}
.alert-link-btn { color: var(--accent) !important; font-size: 13px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; transition: 0.3s;}
.alert-link-btn:hover { color: var(--text-main) !important; transform: translateX(4px); }
.btn-close-alert { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: var(--bg-color); border: none; color: var(--text-muted); cursor: pointer; transition: 0.3s; border-radius: 50%; padding: 4px; display: flex; align-items: center; z-index: 2;}
.btn-close-alert:hover { color: var(--accent) !important; transform: translateY(-50%) rotate(90deg); }

section { padding: 90px 0; border-bottom: 1px solid var(--border-color); scroll-margin-top: 140px; }

.hero-section { position: relative; } 
#heroCarousel .carousel-item { height: 60vh; min-height: 500px; border-radius: 20px; overflow: hidden; background-color: #000; box-shadow: var(--shadow-sm); }
#heroCarousel .carousel-item img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; transition: transform 6s ease; }
#heroCarousel .carousel-item.active img { transform: scale(1.05); } 
#heroCarousel .carousel-caption { bottom: 20%; text-align: left; left: 8%; right: 8%; text-shadow: 0 4px 15px rgba(0,0,0,0.9); }
#heroCarousel .carousel-caption h1 { color: #fff !important; font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; letter-spacing: -1px; line-height: 1.2; }

.floating-stats-container { margin-top: -60px; z-index: 10; position: relative; }
.stat-card { background: var(--surface-color); backdrop-filter: blur(20px); border-radius: 16px; padding: 25px 15px; text-align: center; border: 1px solid rgba(15,23,42,0.05); border-top: 3px solid var(--accent); transition: all 0.3s ease; box-shadow: var(--shadow-sm);}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.stat-card h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin: 10px 0 0 0; line-height: 1; color: var(--accent); }

.card-modern { background-color: var(--surface-color); border: 1px solid var(--border-color); border-radius: 16px; padding: 2rem; transition: 0.3s ease; box-shadow: var(--shadow-sm); height: 100%; position: relative; overflow: hidden; }
.card-modern:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--accent); }

.tech-node { position: absolute; top: 15px; right: 15px; width: 6px; height: 6px; background-color: var(--accent); border-radius: 50%; opacity: 0; transition: 0.3s; z-index: 2;}
.card-modern:hover .tech-node { opacity: 1; animation: pingNode 1.5s cubic-bezier(0, 0, 0.2, 1) infinite; }
@keyframes pingNode { 75%, 100% { transform: scale(2); opacity: 0; } }

.btn-modern { background-color: var(--surface-color); color: var(--text-main) !important; border: 1px solid var(--border-color); border-radius: 50px; padding: 10px 24px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-shadow: var(--shadow-sm); transition: all 0.3s ease; position: relative; overflow: hidden; }
.btn-modern::after { content: ''; position: absolute; top: 50%; left: 50%; width: 5px; height: 5px; background: rgba(255,255,255,0.4); opacity: 0; border-radius: 100%; transform: scale(1) translate(-50%, -50%); transform-origin: 50% 50%; }
.btn-modern:hover { background-color: var(--accent); color: #fff !important; border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); }
.btn-modern:hover::after { animation: rippleTech 1s ease-out infinite; }

.btn-outline-custom { background: transparent; border: 2px solid var(--accent); color: var(--text-main) !important; }
.btn-outline-custom:hover { background-color: var(--accent); color: #fff !important; }

.btn-primary-custom { background-color: var(--accent); color: #fff !important; border: none; }
.btn-primary-custom:hover { background-color: var(--accent); opacity: 0.9; }

.link-saluran { display: inline-flex; align-items: center; gap: 10px; color: var(--text-main) !important; font-weight: 500; text-decoration: none; padding: 10px 0; transition: 0.3s; font-size: 1rem; }
.link-saluran:hover { color: var(--accent) !important; transform: translateX(8px); }
.link-saluran i { color: var(--text-muted); transition: 0.3s; }
.link-saluran:hover i { color: var(--accent); }

.horizontal-scroll { 
    display: flex; overflow-x: auto; gap: 15px; 
    margin-top: 10px; scroll-behavior: smooth; cursor: grab; 
    scroll-snap-type: x mandatory; padding: 30px 0; position: relative;
}
.horizontal-scroll::-webkit-scrollbar { height: 4px; }
.horizontal-scroll::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 10px;}

.fake-card-spacer { flex: 0 0 auto; width: calc(50vw - 165px); position: relative; pointer-events: none; }
@media (min-width: 992px) { .fake-card-spacer { width: calc(50vw - 205px); } }

.timeline-card { 
    min-width: 300px; width: 300px; max-width: 85vw; flex-shrink: 0; 
    position: relative; padding: 1.5rem; border-radius: 16px; 
    scroll-snap-align: center; display: flex; flex-direction: column; 
    cursor: pointer; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0.4; transform: scale(0.9); overflow: visible !important;
    background-color: var(--surface-color); border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
@media (min-width: 992px) { .timeline-card { min-width: 380px; width: 380px; } }

.timeline-card.is-active { opacity: 1; transform: scale(1); border-color: var(--accent) !important; box-shadow: var(--shadow-hover) !important; z-index: 2; }

.badge-akan-datang { position: absolute; top: -14px; left: 20px; background: linear-gradient(45deg, #ef4444, #f59e0b); color: white !important; padding: 6px 16px; border-radius: 20px; font-size: 11px; font-weight: 900; letter-spacing: 1px; box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3); z-index: 10; white-space: nowrap; }
.timeline-date-pill { display: inline-flex; align-items: center; padding: 6px 12px; background: rgba(15,23,42,0.05); color: var(--text-muted); border-radius: 8px; font-size: 0.85rem; font-weight: 700; transition: 0.4s; align-self: flex-start; margin-bottom: 15px; }
.timeline-card.is-active .timeline-date-pill { background: var(--accent); color: #fff; }

.skuad-card { min-width: 280px; width: 280px; max-width: 85vw; flex-shrink: 0; position: relative; padding: 1.5rem; border-radius: 16px; scroll-snap-align: center; display: flex; flex-direction: column; cursor: pointer;}

.ajk-photo { width: 100%; height: 260px; object-fit: cover; object-position: top center; border-radius: 12px; margin-bottom: 15px; border: 1px solid var(--border-color); transition: 0.4s ease;}
.card-modern:hover .ajk-photo { transform: scale(1.02); }

.zoomable-img { cursor: zoom-in; transition: transform 0.3s ease; }
.zoomable-img.zoomed { cursor: zoom-out; transform: scale(1.8) !important; z-index: 1060; position: relative; }
#lightboxModal .modal-body { overflow: hidden; display: flex; flex-direction: column; justify-content: center; }

.faq-header-title { font-weight: 800; color: var(--text-main); letter-spacing: -0.5px; }
.faq-header-desc { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }
.faq-search-wrapper { position: relative; max-width: 650px; margin: 0 auto; }
.faq-search-wrapper .icon-search { position: absolute; top: 50%; left: 20px; transform: translateY(-50%); color: var(--text-muted); }
.faq-search-wrapper input { padding: 18px 20px 18px 55px; border-radius: 50px; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); font-size: 1.05rem; background-color: var(--surface-color); color: var(--text-main); transition: all 0.3s ease; }
.faq-search-wrapper input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.1); outline: none; }
.faq-stat-box { text-align: center; padding: 15px; }
.faq-stat-num { font-size: 2.5rem; font-weight: 800; color: var(--text-main); line-height: 1; margin-bottom: 5px; }
.faq-stat-label { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }

.faq-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-bottom: 10px; }
.faq-tabs .btn { white-space: nowrap; background-color: var(--surface-color); border: 1px solid var(--border-color); color: var(--text-muted); font-weight: 600; font-size: 0.9rem; padding: 10px 24px; border-radius: 50px; box-shadow: 0 2px 5px rgba(0,0,0,0.02); transition: all 0.3s ease; }
.faq-tabs .btn:hover { border-color: var(--text-muted); color: var(--text-main); }
.faq-tabs .btn.active { background-color: var(--text-main); color: var(--bg-color) !important; border-color: var(--text-main); }
.faq-tab-badge { display: inline-flex; align-items: center; justify-content: center; background: var(--border-color); color: var(--text-muted); border-radius: 50px; padding: 2px 8px; font-size: 0.75rem; margin-left: 8px; font-weight: 700; transition: 0.3s; }
.faq-tabs .btn.active .faq-tab-badge { background: rgba(15,23,42,0.2); color: inherit; }

.fasal-ref { display: inline-flex; align-items: center; gap: 8px; margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--border-color); font-size: 0.8rem; font-weight: 700; color: var(--accent); }
.faq-section-header { font-size: 0.85rem; font-weight: 800; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 5px; }
.faq-section-title { font-size: 1.5rem; font-weight: 800; color: var(--text-main); margin-bottom: 25px; }
.faq-highlight { background-color: rgba(250, 204, 21, 0.4); font-weight: bold; border-radius: 3px; padding: 0 2px; }

.accordion-item { border: 1px solid var(--border-color); border-radius: 12px !important; overflow: hidden; margin-bottom: 10px; transition: all 0.3s ease; box-shadow: var(--shadow-sm);}
.accordion-item:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); }
.accordion-button { background-color: var(--surface-color); color: var(--text-main); font-weight: 600; padding: 1.2rem; box-shadow: none !important; transition: background-color 0.3s, color 0.3s; }
.accordion-button:not(.collapsed) { background-color: var(--accent) !important; color: white !important; border-bottom: 1px solid rgba(0,0,0,0.1); }
.accordion-button:not(.collapsed) * { color: white !important; }
.accordion-body { padding: 1.5rem 1.2rem; background-color: var(--surface-color); }

.accordion-legasi-wrapper .accordion-item:has(.accordion-button:not(.collapsed)) {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--accent);
    z-index: 10;
    position: relative;
}

#theme-toggle, #theme-toggle-desktop { background: transparent; border: none; color: var(--text-main); padding: 8px; border-radius: 50%; transition: 0.3s;}
#theme-toggle:hover, #theme-toggle-desktop:hover { color: var(--accent) !important; transform: rotate(15deg); }
.form-control { background-color: var(--surface-color); border: 1px solid var(--border-color); color: var(--text-main); border-radius: 8px; padding: 10px 15px; transition: 0.3s;}
.form-control:focus { border-color: var(--accent); box-shadow: none;}

.chatbot-btn { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; border-radius: 50%; background-color: var(--accent); color: white; border: none; box-shadow: 0 10px 25px rgba(0,0,0,0.1); z-index: 1000; display: flex; align-items: center; justify-content: center; transition: 0.3s ease; cursor: pointer;}
.chatbot-btn:hover { transform: scale(1.1); }
.chatbot-window { position: fixed; bottom: 100px; right: 30px; width: 350px; max-width: 90vw; background-color: var(--surface-color); border: 1px solid var(--border-color); border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); z-index: 1000; display: none; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(10px); transition: all 0.3s ease;}
.chatbot-window.show { display: flex; opacity: 1; transform: translateY(0); }
.chat-header { background-color: var(--surface-color); color: var(--text-main); border-bottom: 1px solid var(--border-color); padding: 15px; font-weight: bold; display: flex; justify-content: space-between; align-items: center; }
.chat-body { padding: 15px; height: 380px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; background-color: var(--bg-color); scroll-behavior: smooth;}
.chat-msg { padding: 12px 15px; border-radius: 12px; font-size: 0.9rem; max-width: 85%; word-wrap: break-word; line-height: 1.5; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.msg-bot { background-color: var(--surface-color); color: var(--text-main); border: 1px solid var(--border-color); align-self: flex-start; border-bottom-left-radius: 0;}
.msg-user { background-color: var(--accent); color: white; align-self: flex-end; border-bottom-right-radius: 0;}
.chat-input { display: flex; border-top: 1px solid var(--border-color); background-color: var(--surface-color); padding: 10px;}
.chat-input input { flex: 1; border: none; padding: 10px 15px; background-color: var(--bg-color); color: var(--text-main); outline: none; border-radius: 50px;}
.chat-input button { background-color: var(--accent); border: none; color: white; padding: 0 15px; margin-left: 8px; border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s;}

.chat-quick-replies { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.quick-btn { background: var(--surface-color); border: 1px solid var(--border-color); color: var(--text-main); border-radius: 8px; padding: 10px 12px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: 0.3s; text-align: left; box-shadow: 0 2px 5px rgba(0,0,0,0.02);}
.quick-btn:hover { background: var(--accent); color: white; border-color: var(--accent); }

.typing-indicator { display: flex; align-items: center; gap: 4px; padding: 5px; }
.typing-indicator span { display: block; width: 6px; height: 6px; background-color: var(--text-muted); border-radius: 50%; animation: bounce 1.4s infinite ease-in-out both; }
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }

.search-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px); z-index: 2000; display: none; opacity: 0; transition: 0.3s; align-items: center; justify-content: center; flex-direction: column; padding: 20px;}
.search-overlay.active { display: flex; opacity: 1; }
.btn-close-search { position: absolute; top: 30px; right: 30px; background: transparent; border: none; color: white; cursor: pointer; transition: 0.3s; }
.btn-close-search:hover { transform: rotate(90deg); color: var(--accent); }

.search-result-item { display: block; padding: 15px 20px; margin-bottom: 10px; background-color: rgba(255,255,255,0.08); border-radius: 12px; color: #ffffff !important; text-decoration: none; border: 1px solid rgba(255,255,255,0.2); transition: 0.3s; cursor: pointer; }
.search-result-item:hover { background-color: rgba(255,255,255,0.15); border-color: var(--accent); color: #ffffff !important; transform: translateY(-2px); }
.search-result-item strong { color: #ffffff !important; font-size: 1.05rem; }
.search-result-item .search-snippet { color: #e2e8f0 !important; font-size: 0.85rem; line-height: 1.5; margin-top: 5px; opacity: 0.9;}

.highlight-target { animation: highlightGlow 2s ease-out forwards; }
@keyframes highlightGlow { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.7); background-color: rgba(var(--accent-rgb), 0.2); } 70% { box-shadow: 0 0 0 15px rgba(var(--accent-rgb), 0); background-color: rgba(var(--accent-rgb), 0.05); } 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); background-color: transparent; } }

/* PEMBAIKAN KHUSUS UNTUK POPUP SURVEY (OVERFLOW & ANIMASI LUTSINAR) */
.swal2-popup.swal-survey-popup {
    padding: 2rem 1.5rem !important;
    border-radius: 24px !important;
    max-width: 480px !important;
    width: 92% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}
.swal2-popup.swal-transparent-popup {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

.swal2-radio {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 18px 0 0 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
.swal2-radio label {
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    font-size: 14px !important;
    color: #1e293b !important;
}
.swal2-radio label:hover {
    background: #ffffff !important;
    border-color: #FF6B00 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.12) !important;
}
.swal2-radio input[type="radio"] {
    margin: 0 12px 0 0 !important;
    transform: scale(1.25) !important;
    accent-color: #FF6B00 !important;
    flex-shrink: 0 !important;
}
.swal2-radio input[type="radio"]:checked + span {
    font-weight: 700 !important;
    color: #FF6B00 !important;
}

.logo-anim-container {
    position: relative;
    display: inline-block;
    padding: 15px;
}
.anim-logo-3d-in {
    animation: logo3DIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    max-width: 180px;
    height: auto;
    background: transparent !important;
    border: none !important;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 15px rgba(59, 130, 246, 0.4));
    object-fit: contain;
}
.anim-logo-3d-out {
    animation: logo3DFloat 2.5s ease-in-out infinite;
    max-width: 160px;
    height: auto;
    background: transparent !important;
    border: none !important;
    filter: drop-shadow(0 15px 30px rgba(16, 185, 129, 0.5)) drop-shadow(0 0 20px rgba(255, 107, 0, 0.4));
    object-fit: contain;
}

.logo-sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF6B00;
    box-shadow: 0 0 10px #FF6B00, 0 0 20px #3b82f6;
    animation: sparkleFloat 2s ease-in-out infinite;
}
.sparkle-1 { top: 10%; left: 15%; animation-delay: 0s; }
.sparkle-2 { top: 20%; right: 10%; animation-delay: 0.5s; background: #3b82f6; }
.sparkle-3 { bottom: 15%; left: 20%; animation-delay: 1s; background: #10b981; }
.sparkle-4 { bottom: 25%; right: 15%; animation-delay: 1.5s; }

@keyframes logo3DIn {
    0% { transform: perspective(800px) rotateX(45deg) rotateY(-20deg) scale(0.2) translateY(50px); opacity: 0; }
    70% { transform: perspective(800px) rotateX(-10deg) rotateY(10deg) scale(1.08); opacity: 1; }
    100% { transform: perspective(800px) rotateX(0deg) rotateY(0deg) scale(1); opacity: 1; }
}
@keyframes logo3DFloat {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-15px) rotate(2deg) scale(1.05); }
}
@keyframes sparkleFloat {
    0%, 100% { transform: translateY(0) scale(0.5); opacity: 0.3; }
    50% { transform: translateY(-20px) scale(1.2); opacity: 1; }
}
