/* ==============================================================================
   PORTAL DIGITAL PENDIDIKAN DAN KEBUDAYAAN KABUPATEN KUTAI BARAT
   PREMIUM GOVERNMENT DESIGN SYSTEM (2026 EDITION)
   Warna Resmi: Navy Blue (#12345A), Primary Blue (#1E5B91), Gold (#D6A84B), White
   ============================================================================== */

:root {
    --navy-blue: #12345A;
    --navy-dark: #0A1E35;
    --navy-light: #1A4677;
    --primary-blue: #1E5B91;
    --accent-blue: #2A79BE;
    --gold: #D6A84B;
    --gold-light: #F4E7C5;
    --gold-dark: #B5872A;
    --light-bg: #F8FAFD;
    --dark-text: #1E293B;
    --muted-text: #64748B;
    --border-color: #E2E8F0;
    --card-shadow: 0 10px 25px -5px rgba(18, 52, 90, 0.07), 0 8px 10px -6px rgba(18, 52, 90, 0.04);
    --hover-shadow: 0 20px 35px -5px rgba(18, 52, 90, 0.12), 0 10px 10px -5px rgba(18, 52, 90, 0.04);
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Setup */
body {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    overflow-x: clip;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--navy-blue);
    font-weight: 700;
}

.text-navy { color: var(--navy-blue) !important; }
.text-gold { color: var(--gold) !important; }
.bg-navy { background-color: var(--navy-blue) !important; color: #FFFFFF !important; }
.bg-gold { background-color: var(--gold) !important; color: #1E293B !important; }

/* Dayak Cultural Ribbon Pattern - Dihapus sesuai permintaan user */
.dayak-ribbon {
    display: none !important;
    height: 0 !important;
}

.dayak-divider {
    height: 3px;
    width: 70px;
    background: var(--gold);
    border-radius: 3px;
    position: relative;
    margin: 0.75rem 0 1.25rem 0;
}

.dayak-divider.center {
    margin-left: auto;
    margin-right: auto;
}

.dayak-divider::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--navy-blue);
    border: 2px solid var(--gold);
    border-radius: 50%;
    top: -3.5px;
    left: calc(50% - 5px);
}

/* ==============================================================================
   TOPBAR
   ============================================================================== */
.portal-topbar {
    background: linear-gradient(90deg, #071626 0%, #0d233a 50%, #071626 100%);
    color: #E2E8F0;
    font-size: 0.78rem;
    border-bottom: 1px solid rgba(214, 168, 75, 0.25);
    position: relative;
    z-index: 1050;
    padding: 0.35rem 0;
}

.portal-topbar-brand {
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: 0.2px;
}

.portal-topbar-divider {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
}

.portal-topbar a {
    color: #E2E8F0;
    text-decoration: none;
    transition: var(--transition);
}

.portal-topbar a:hover {
    color: var(--gold);
}

.topbar-stat-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(214, 168, 75, 0.3);
    border-radius: 30px;
    padding: 0.2rem 0.65rem;
    font-size: 0.75rem;
    color: #E2E8F0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.topbar-stat-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--gold);
    transform: translateY(-1px);
}

.topbar-live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #22c55e;
    margin-left: 5px;
    animation: livePulse 1.8s infinite ease-in-out;
}

@keyframes livePulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Attention Pulse for Lapor Kadis Button */
.btn-topbar-lapor {
    background: linear-gradient(135deg, #E63946 0%, #D62828 100%);
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.6);
    animation: pulseLapor 2.2s infinite;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-topbar-lapor:hover {
    background: linear-gradient(135deg, #F94144 0%, #E63946 100%);
    transform: translateY(-1.5px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.5) !important;
    color: #FFFFFF !important;
}

@keyframes pulseLapor {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.65);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(230, 57, 70, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
    }
}

/* Tracking Button */
.btn-topbar-track {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(214, 168, 75, 0.5);
    color: #F8FAFC !important;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: 30px;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-topbar-track:hover {
    background: rgba(214, 168, 75, 0.15);
    border-color: var(--gold);
    color: var(--gold-light) !important;
    transform: translateY(-1.5px);
}

/* Login Admin Button with Shimmer */
.btn-topbar-admin {
    background: linear-gradient(135deg, #D6A84B 0%, #B5872A 100%);
    color: #0A1E35 !important;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    border: none;
    box-shadow: 0 2px 8px rgba(214, 168, 75, 0.35);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-topbar-admin:hover {
    background: linear-gradient(135deg, #E5BA5F 0%, #C49533 100%);
    transform: translateY(-1.5px);
    box-shadow: 0 4px 14px rgba(214, 168, 75, 0.55);
    color: #0A1E35 !important;
}

.btn-topbar-admin::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 25%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(25deg);
    animation: shimmerAdmin 3.5s infinite;
}

@keyframes shimmerAdmin {
    0% { left: -60%; }
    20% { left: 140%; }
    100% { left: 140%; }
}

/* ==============================================================================
   LIVING SOCIAL MEDIA BUTTONS (DEKAT LOGIN ADMIN)
   Efek Hidup: Ambient Glowing Pulse, Shimmer Sweep, Flowing Gradient, Bounce
   ============================================================================== */
.topbar-social-living {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.social-live-btn {
    position: relative;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF !important;
    font-size: 0.78rem;
    text-decoration: none !important;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    cursor: pointer;
}

/* 1. Facebook Living Button */
.social-live-btn.social-fb {
    background: linear-gradient(135deg, #1877F2 0%, #0D65D9 100%);
    box-shadow: 0 0 8px rgba(24, 119, 242, 0.55);
    animation: socialGlowFb 3s ease-in-out infinite alternate;
}

@keyframes socialGlowFb {
    0% {
        transform: translateY(0);
        box-shadow: 0 0 6px rgba(24, 119, 242, 0.45);
    }
    50% {
        transform: translateY(-2px);
        box-shadow: 0 0 14px rgba(24, 119, 242, 0.85), 0 0 5px #FFFFFF;
    }
    100% {
        transform: translateY(0);
        box-shadow: 0 0 6px rgba(24, 119, 242, 0.45);
    }
}

/* 2. Instagram Living Button (Flowing Sunset Mesh Gradient) */
.social-live-btn.social-ig {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
    background-size: 250% 250%;
    box-shadow: 0 0 8px rgba(221, 42, 123, 0.6);
    animation: socialGlowIg 3.4s ease-in-out infinite alternate, igGradientShift 4s ease infinite;
}

@keyframes igGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes socialGlowIg {
    0% {
        transform: translateY(0);
        box-shadow: 0 0 6px rgba(221, 42, 123, 0.5);
    }
    50% {
        transform: translateY(-2px);
        box-shadow: 0 0 16px rgba(221, 42, 123, 0.9), 0 0 7px rgba(245, 133, 41, 0.7);
    }
    100% {
        transform: translateY(0);
        box-shadow: 0 0 6px rgba(221, 42, 123, 0.5);
    }
}

/* 3. YouTube Living Button (Ruby Pulse) */
.social-live-btn.social-yt {
    background: linear-gradient(135deg, #FF0000 0%, #C4302B 100%);
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.55);
    animation: socialGlowYt 2.8s ease-in-out infinite alternate;
}

@keyframes socialGlowYt {
    0% {
        transform: translateY(0);
        box-shadow: 0 0 6px rgba(255, 0, 0, 0.45);
    }
    50% {
        transform: translateY(-2px);
        box-shadow: 0 0 16px rgba(255, 0, 0, 0.9), 0 0 5px #FFFFFF;
    }
    100% {
        transform: translateY(0);
        box-shadow: 0 0 6px rgba(255, 0, 0, 0.45);
    }
}

/* Light Glint / Sheen Sweep on the Icons */
.social-live-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: rotate(25deg);
    animation: socialShine 3.6s infinite;
}

@keyframes socialShine {
    0%, 65% { left: -100%; }
    100% { left: 200%; }
}

/* Hover Interaction: Pop & Spin */
.social-live-btn:hover {
    transform: translateY(-3px) scale(1.22) !important;
    border-color: #FFFFFF !important;
    z-index: 5;
}

.social-live-btn.social-fb:hover {
    box-shadow: 0 6px 18px rgba(24, 119, 242, 0.85), 0 0 12px rgba(255, 255, 255, 0.7) !important;
}

.social-live-btn.social-ig:hover {
    box-shadow: 0 6px 18px rgba(221, 42, 123, 0.9), 0 0 14px rgba(245, 133, 41, 0.8) !important;
}

.social-live-btn.social-yt:hover {
    box-shadow: 0 6px 18px rgba(255, 0, 0, 0.9), 0 0 12px rgba(255, 255, 255, 0.7) !important;
}

.social-live-btn:hover i {
    animation: iconPopWiggle 0.4s ease;
}

@keyframes iconPopWiggle {
    0% { transform: scale(1); }
    40% { transform: scale(1.25) rotate(14deg); }
    80% { transform: scale(1.1) rotate(-10deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* ==============================================================================
   WELCOME SPLASH MODAL / BANNER IKLAN DIGITAL MODERN & BERANIMASI
   ============================================================================== */
.welcome-modal .modal-content.modern-ad-banner-content {
    border-radius: 24px;
    background: #FFFFFF;
    overflow: hidden;
    border: 2px solid rgba(214, 168, 75, 0.45);
    box-shadow: 0 25px 70px -10px rgba(10, 30, 60, 0.55), 
                0 0 50px rgba(214, 168, 75, 0.25);
    animation: adBannerPopIn 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes adBannerPopIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Header Billboard Banner */
.ad-billboard-header {
    background: linear-gradient(135deg, #051324 0%, #0c2340 45%, #12345A 100%);
    color: #FFFFFF;
    position: relative;
    padding: 1.75rem 1.5rem 1.25rem 1.5rem;
    overflow: hidden;
}

/* Dynamic Ambient Glow Mesh & Orbs */
.ad-header-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.ad-ambient-mesh {
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at 20% 30%, rgba(30, 91, 145, 0.35) 0%, transparent 40%),
                radial-gradient(circle at 80% 25%, rgba(214, 168, 75, 0.3) 0%, transparent 45%),
                radial-gradient(circle at 50% 85%, rgba(5, 150, 105, 0.25) 0%, transparent 40%);
    background-size: 200% 200%;
    animation: adMeshMove 10s ease-in-out infinite alternate;
}

@keyframes adMeshMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* Light Sheen Sweep (Efek Kilatan Cahaya Iklan Modern) */
.ad-light-sheen {
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.03) 25%,
        rgba(255, 255, 255, 0.22) 50%,
        rgba(255, 255, 255, 0.03) 75%,
        transparent 100%
    );
    transform: skewX(-25deg);
    animation: adSheenSweep 5.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes adSheenSweep {
    0%, 60% { left: -120%; }
    100% { left: 160%; }
}

/* Top Status Bar Inside Banner */
.ad-top-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 5;
    margin-bottom: 0.75rem;
}

.ad-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(214, 168, 75, 0.4);
    backdrop-filter: blur(8px);
    color: #FDE047;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
}

.ad-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #EF4444;
    box-shadow: 0 0 8px #EF4444;
    animation: adDotBlink 1.4s ease-in-out infinite;
}

@keyframes adDotBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.75); }
}

.ad-btn-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.ad-btn-close:hover {
    background: #DC2626;
    border-color: #EF4444;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.6);
}

/* Brand Logo with 3D Aura */
.ad-brand-visual {
    position: relative;
    z-index: 5;
    text-align: center;
}

.ad-logo-emblem {
    height: 72px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4))
            drop-shadow(0 0 16px rgba(214, 168, 75, 0.55));
    animation: adLogoFloat 3.8s ease-in-out infinite;
}

@keyframes adLogoFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.03); }
}

/* Hero Typography with Gradient Shimmer */
.ad-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin: 0.4rem 0 0.1rem 0;
    background: linear-gradient(135deg, #FFFFFF 0%, #FEEBC8 40%, #FDE047 70%, #FFFFFF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: adTextShine 6s linear infinite;
}

.ad-hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #F8FAFC;
    letter-spacing: 0.8px;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

@keyframes adTextShine {
    to { background-position: 200% center; }
}

.ad-motto-pill {
    display: inline-block;
    background: rgba(18, 52, 90, 0.6);
    border: 1px solid rgba(214, 168, 75, 0.35);
    border-radius: 50px;
    padding: 3px 14px;
    font-size: 0.74rem;
    color: #E2E8F0;
    font-style: italic;
    backdrop-filter: blur(4px);
}

/* Body Content Area */
.ad-billboard-body {
    padding: 1.25rem 1.5rem 1.5rem 1.5rem;
    background: #F8FAFD;
}

/* Maklumat Pelayanan Showcase Frame with 3D Depth & Light Sheen */
.ad-maklumat-wrapper {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(10, 30, 60, 0.16), 0 0 0 1.5px rgba(214, 168, 75, 0.45);
    background: #FFFFFF;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
    max-width: 740px;
}

.ad-maklumat-wrapper:hover {
    transform: translateY(-3px) scale(1.008);
    box-shadow: 0 18px 45px rgba(10, 30, 60, 0.22), 0 0 0 2px var(--gold);
}

.ad-maklumat-image {
    width: 100%;
    max-height: 480px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 16px;
}

.ad-maklumat-sheen {
    position: absolute;
    top: 0;
    left: -120%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    transform: skewX(-20deg);
    animation: maklumatSheen 7s infinite;
    pointer-events: none;
}

@keyframes maklumatSheen {
    0%, 70% { left: -120%; }
    100% { left: 160%; }
}

.ad-intro-text {
    font-size: 0.83rem;
    color: #475569;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* 4 Modern Advertising Showcase Tiles */
.ad-tiles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ad-promo-tile {
    position: relative;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 16px;
    padding: 1rem 0.6rem;
    text-align: center;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(18, 52, 90, 0.04);
}

.ad-promo-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--tile-gradient, #1E5B91);
    transition: height 0.3s ease;
}

.ad-promo-tile:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--tile-color, #D6A84B);
    box-shadow: 0 12px 24px -5px var(--tile-shadow, rgba(18, 52, 90, 0.18)),
                0 0 15px var(--tile-glow, rgba(214, 168, 75, 0.2));
}

.ad-promo-tile:hover::before {
    height: 5px;
}

.ad-tile-badge {
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 2px 7px;
    border-radius: 50px;
    background: var(--tile-bg-light, rgba(30, 91, 145, 0.08));
    color: var(--tile-color, #1E5B91);
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.ad-tile-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--tile-gradient, linear-gradient(135deg, #1E5B91, #0284C7));
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
    box-shadow: 0 6px 14px var(--tile-shadow, rgba(30, 91, 145, 0.25));
    transition: all 0.3s ease;
}

.ad-promo-tile:hover .ad-tile-icon-wrap {
    transform: scale(1.12) rotate(4deg);
}

.ad-tile-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: #12345A;
    margin-bottom: 0.15rem;
    line-height: 1.2;
}

.ad-tile-desc {
    font-size: 0.68rem;
    color: #64748B;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.ad-tile-cta-pill {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--tile-color, #1E5B91);
    background: var(--tile-bg-light, rgba(30, 91, 145, 0.08));
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: all 0.2s ease;
}

.ad-promo-tile:hover .ad-tile-cta-pill {
    background: var(--tile-color, #1E5B91);
    color: #FFFFFF;
}

/* Individual Tile Themes */
.ad-promo-tile.tile-education {
    --tile-color: #1E5B91;
    --tile-gradient: linear-gradient(135deg, #1E5B91 0%, #0284C7 100%);
    --tile-bg-light: #EFF6FF;
    --tile-shadow: rgba(30, 91, 145, 0.3);
    --tile-glow: rgba(2, 132, 199, 0.25);
}

.ad-promo-tile.tile-culture {
    --tile-color: #059669;
    --tile-gradient: linear-gradient(135deg, #059669 0%, #10B981 100%);
    --tile-bg-light: #ECFDF5;
    --tile-shadow: rgba(5, 150, 105, 0.3);
    --tile-glow: rgba(16, 185, 129, 0.25);
}

.ad-promo-tile.tile-lapor {
    --tile-color: #DC2626;
    --tile-gradient: linear-gradient(135deg, #DC2626 0%, #F43F5E 100%);
    --tile-bg-light: #FEF2F2;
    --tile-shadow: rgba(220, 38, 38, 0.3);
    --tile-glow: rgba(244, 63, 94, 0.25);
}

.ad-promo-tile.tile-services {
    --tile-color: #D97706;
    --tile-gradient: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
    --tile-bg-light: #FFFBEB;
    --tile-shadow: rgba(217, 119, 6, 0.3);
    --tile-glow: rgba(245, 158, 11, 0.25);
}

/* Moving Announcement Marquee Ticker (Running Text Iklan) */
.ad-marquee-strip {
    background: linear-gradient(90deg, #12345A, #1E5B91);
    border-radius: 10px;
    padding: 6px 12px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    margin-bottom: 1.1rem;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.25);
}

.ad-marquee-track {
    display: inline-block;
    padding-left: 100%;
    animation: adMarqueeRun 24s linear infinite;
    font-size: 0.72rem;
    font-weight: 600;
    color: #F8FAFC;
    letter-spacing: 0.4px;
}

.ad-marquee-strip:hover .ad-marquee-track {
    animation-play-state: paused;
}

@keyframes adMarqueeRun {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

.ad-marquee-track span {
    margin: 0 10px;
}

.ad-marquee-track .ad-gold-txt {
    color: #FDE047;
    font-weight: 700;
}

/* Footer Action Bar */
.ad-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid #E2E8F0;
}

.ad-remember-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    margin: 0;
}

.ad-remember-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #1E5B91;
    cursor: pointer;
}

.ad-remember-toggle span {
    font-size: 0.76rem;
    color: #64748B;
    user-select: none;
}

/* Modern Glowing CTA Button (Tombol Iklan Utama) */
.ad-btn-cta {
    position: relative;
    background: linear-gradient(135deg, #D6A84B 0%, #B5872A 60%, #92671A 100%) !important;
    border: none !important;
    color: #12345A !important;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 10px 24px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(214, 168, 75, 0.4), 0 0 15px rgba(245, 158, 11, 0.25);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.ad-btn-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    animation: adBtnShine 3.2s infinite;
}

@keyframes adBtnShine {
    0%, 60% { left: -100%; }
    100% { left: 200%; }
}

.ad-btn-cta:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 28px rgba(214, 168, 75, 0.6), 0 0 25px rgba(245, 158, 11, 0.45);
    color: #0A1E35 !important;
}

@media (max-width: 991px) {
    .ad-tiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .ad-billboard-header {
        padding: 1.25rem 1rem 1rem 1rem;
    }
    .ad-logo-emblem {
        height: 56px;
    }
    .ad-hero-title {
        font-size: 1.1rem;
    }
    .ad-hero-subtitle {
        font-size: 0.95rem;
    }
    .ad-tiles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .ad-bottom-bar {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    .ad-btn-cta {
        justify-content: center;
        width: 100%;
    }
}

/* ==============================================================================
   HEADER & NAVBAR DENGAN LATAR BELAKANG ANIMASI DINAMIS (STICKY ON SCROLL)
   ============================================================================== */
.portal-header {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1030 !important;
    transition: var(--transition);
}

/* Latar Belakang Bersih Tanpa Gambar Latar */
.portal-header-animated-bg {
    display: none !important;
}

/* Layer 1: Animated Mesh Gradient Background */
.header-ambient-mesh {
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at 12% 45%, rgba(30, 91, 145, 0.14) 0%, transparent 40%),
                radial-gradient(circle at 88% 35%, rgba(214, 168, 75, 0.16) 0%, transparent 45%),
                radial-gradient(circle at 50% 85%, rgba(5, 150, 105, 0.11) 0%, transparent 40%),
                radial-gradient(circle at 68% 18%, rgba(37, 99, 235, 0.12) 0%, transparent 35%),
                linear-gradient(120deg, rgba(255,255,255,0.92) 0%, rgba(240,247,255,0.85) 35%, rgba(254,250,238,0.85) 70%, rgba(255,255,255,0.92) 100%);
    background-size: 250% 250%;
    animation: headerMeshMove 12s ease-in-out infinite alternate;
}

@keyframes headerMeshMove {
    0% {
        background-position: 0% 20%;
        transform: scale(1);
    }
    50% {
        background-position: 100% 80%;
        transform: scale(1.03);
    }
    100% {
        background-position: 20% 100%;
        transform: scale(1);
    }
}

/* Layer 2: Moving Ambient Glowing Orbs */
.header-ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(45px);
    opacity: 0.65;
    pointer-events: none;
    will-change: transform;
}

.header-ambient-orb.orb-1 {
    width: 240px;
    height: 120px;
    background: radial-gradient(circle, rgba(30, 91, 145, 0.28) 0%, rgba(37, 99, 235, 0.05) 70%, transparent 100%);
    top: -20px;
    left: 5%;
    animation: floatOrbLeft 16s ease-in-out infinite alternate;
}

.header-ambient-orb.orb-2 {
    width: 280px;
    height: 140px;
    background: radial-gradient(circle, rgba(214, 168, 75, 0.32) 0%, rgba(245, 158, 11, 0.08) 70%, transparent 100%);
    top: -30px;
    right: 12%;
    animation: floatOrbRight 14s ease-in-out infinite alternate;
}

.header-ambient-orb.orb-3 {
    width: 190px;
    height: 100px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.22) 0%, rgba(16, 185, 129, 0.05) 70%, transparent 100%);
    bottom: -30px;
    left: 45%;
    animation: floatOrbCenter 18s ease-in-out infinite alternate;
}

@keyframes floatOrbLeft {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(90px, 15px, 0) scale(1.15); }
    100% { transform: translate3d(180px, -10px, 0) scale(0.95); }
}

@keyframes floatOrbRight {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-110px, 12px, 0) scale(1.1); }
    100% { transform: translate3d(-200px, -8px, 0) scale(0.9); }
}

@keyframes floatOrbCenter {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-70px, -15px, 0) scale(1.2); }
    100% { transform: translate3d(80px, 10px, 0) scale(1); }
}

/* Layer 3: Moving Light Sheen / Glass Shimmer Reflection */
.header-light-sheen {
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0) 20%, 
        rgba(255, 255, 255, 0.6) 50%, 
        rgba(214, 168, 75, 0.25) 55%, 
        rgba(255, 255, 255, 0.35) 60%, 
        transparent 100%
    );
    transform: skewX(-28deg);
    animation: headerSheenSweep 9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
}

@keyframes headerSheenSweep {
    0% { left: -120%; }
    40%, 100% { left: 160%; }
}

/* Layer 4: Parallax Animated Motif Wave Flow (Watermark) */
.header-motif-flow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 42px;
    background-image: radial-gradient(circle at 10px 10px, rgba(18, 52, 90, 0.05) 2px, transparent 2.5px),
                      radial-gradient(circle at 30px 25px, rgba(214, 168, 75, 0.08) 3px, transparent 3.5px);
    background-size: 40px 40px;
    opacity: 0.85;
    animation: motifPatternDrift 35s linear infinite;
    pointer-events: none;
}

@keyframes motifPatternDrift {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.portal-header-border-flow {
    display: none !important;
}
    z-index: 2;
    box-shadow: 0 1px 6px rgba(214, 168, 75, 0.35);
}

@keyframes headerBorderShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* Logo Brand Container & Special Effects */
.portal-logo-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.portal-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.12));
    animation: logoGlowFloat 4.5s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center center;
}

/* Hover Effect on Brand Logo */
.navbar-brand:hover .portal-logo-img {
    transform: translateY(-4px) scale(1.1) rotate(4deg);
    filter: drop-shadow(0 8px 16px rgba(18, 52, 90, 0.28)) 
            drop-shadow(0 0 12px rgba(217, 119, 6, 0.65));
}

/* Subtle Glowing Floating Keyframe for Official Emblem */
@keyframes logoGlowFloat {
    0%, 100% {
        transform: translateY(0) scale(1) rotate(0deg);
        filter: drop-shadow(0 3px 6px rgba(0,0,0,0.12)) drop-shadow(0 0 0 rgba(217, 119, 6, 0));
    }
    50% {
        transform: translateY(-3px) scale(1.04) rotate(-1.5deg);
        filter: drop-shadow(0 8px 14px rgba(18, 52, 90, 0.22)) drop-shadow(0 0 10px rgba(217, 119, 6, 0.45));
    }
}

/* Judul Brand Berganti Warna Dinamis (Shifting Animated Gradient) */
.portal-logo-text h1 {
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.3px;
    line-height: 1.2;
    margin: 0;
    background: linear-gradient(
        90deg, 
        #12345A 0%, 
        #1E5B91 22%, 
        #2563EB 40%, 
        #D97706 60%, 
        #059669 80%, 
        #12345A 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: logoTitleColorShift 7s ease-in-out infinite alternate;
    transition: all 0.3s ease;
    display: block;
}

.navbar-brand:hover .portal-logo-text h1 {
    animation-duration: 3s; /* Kecepatan warna meningkat saat disentuh kursor */
    filter: drop-shadow(0 2px 8px rgba(30, 91, 145, 0.2));
}

@keyframes logoTitleColorShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Sub-Judul Portal Berganti Warna Halus */
.portal-logo-text p {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
    background: linear-gradient(
        90deg, 
        #1E5B91 0%, 
        #0284c7 30%, 
        #059669 60%, 
        #D97706 85%, 
        #1E5B91 100%
    );
    background-size: 250% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: logoSubColorShift 9s ease-in-out infinite alternate;
    display: block;
}

@keyframes logoSubColorShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.navbar-nav .nav-link {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--navy-blue);
    padding: 0.7rem 0.65rem !important;
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
    background: transparent !important;
    border: none !important;
    outline: none !important;
}

.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:focus-visible,
.navbar-nav .nav-link:active,
.navbar-nav .dropdown-toggle:focus,
.navbar-nav .dropdown-toggle:focus-visible,
.navbar-nav .dropdown-toggle:active {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-blue);
    background: transparent !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2.5px;
    background: var(--gold);
    border-radius: 2px;
    transition: width 0.25s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 50%;
}

/* Modern Clean Dropdown Menu Tanpa Border Kasar */
.dropdown-menu {
    border: 1px solid rgba(18, 52, 90, 0.08) !important;
    box-shadow: 0 20px 45px rgba(18, 52, 90, 0.14), 0 4px 12px rgba(18, 52, 90, 0.06) !important;
    border-radius: 14px !important;
    padding: 0.6rem 0;
    margin-top: 6px !important;
    background: #FFFFFF !important;
    animation: fadeInDown 0.2s ease forwards;
    z-index: 1050 !important;
}

.dropdown-item {
    font-size: 0.83rem;
    font-weight: 500;
    padding: 0.55rem 1.25rem;
    color: var(--navy-blue);
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: rgba(30, 91, 145, 0.06);
    color: var(--primary-blue);
    padding-left: 1.45rem;
}

/* Multi-level Dropdown Submenu */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: 4px;
    display: none;
    border-radius: 14px !important;
    min-width: 275px;
    border: 1px solid rgba(18, 52, 90, 0.08) !important;
    box-shadow: 0 20px 45px rgba(18, 52, 90, 0.16) !important;
    background: #ffffff !important;
    z-index: 1060 !important;
}

.dropdown-submenu .submenu-arrow {
    font-size: 0.72rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.dropdown-submenu:hover > .dropdown-item .submenu-arrow,
.dropdown-submenu.show > .dropdown-item .submenu-arrow {
    transform: translateX(3px);
    color: var(--primary-blue) !important;
}

/* Desktop Hover Interaction for Submenus */
@media (min-width: 1200px) {
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
        animation: fadeInRightSubmenu 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .dropdown-submenu:hover > .dropdown-item {
        background-color: rgba(30, 91, 145, 0.08);
        color: var(--primary-blue);
        font-weight: 600;
    }
}

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

/* Mobile & Tablet Toggle for Submenus */
@media (max-width: 1199.98px) {
    .dropdown-submenu > .dropdown-menu {
        position: static !important;
        float: none;
        display: none;
        margin: 0.35rem 0.5rem 0.5rem 1rem;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-left: 3px solid var(--primary-blue);
        box-shadow: none;
        border-radius: 8px;
    }
    .dropdown-submenu.show > .dropdown-menu {
        display: block;
    }
}

.hover-bg-sub {
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hover-bg-sub:hover {
    background-color: rgba(30, 91, 145, 0.08);
    color: var(--primary-blue) !important;
    transform: translateX(4px);
}

/* ==============================================================================
   BANK DATA COMPACT ANIMATED BUTTON (NAVBAR)
   Desain Kecil, Ramping 1 Baris, Beranimasi Shimmer & Pulsing Glow
   ============================================================================== */
.btn-bankdata-compact {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #0A1E35 0%, #12345A 60%, #1A4473 100%);
    border: 1px solid rgba(214, 168, 75, 0.55);
    color: #FFFFFF !important;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 4px 11px;
    border-radius: 50px;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 8px rgba(10, 30, 53, 0.25), 0 0 8px rgba(214, 168, 75, 0.25);
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    line-height: 1.2;
    animation: bankDataPulseGlow 3.5s ease-in-out infinite alternate;
}

.btn-bankdata-compact i {
    color: #FDE047;
    font-size: 0.78rem;
    transition: transform 0.25s ease;
    animation: bankIconBob 2.5s ease-in-out infinite alternate;
}

@keyframes bankIconBob {
    0% { transform: scale(1); }
    100% { transform: scale(1.15) rotate(6deg); }
}

@keyframes bankDataPulseGlow {
    0% {
        box-shadow: 0 2px 8px rgba(10, 30, 53, 0.25), 0 0 6px rgba(214, 168, 75, 0.25);
        border-color: rgba(214, 168, 75, 0.45);
    }
    100% {
        box-shadow: 0 4px 14px rgba(18, 52, 90, 0.45), 0 0 14px rgba(245, 158, 11, 0.55);
        border-color: #FDE047;
    }
}

/* Light Sheen Sweep Animation */
.btn-bankdata-compact::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: rotate(25deg);
    animation: bankDataShine 3.6s infinite;
}

@keyframes bankDataShine {
    0%, 65% { left: -100%; }
    100% { left: 200%; }
}

.btn-bankdata-compact:hover {
    transform: translateY(-2px) scale(1.06);
    background: linear-gradient(135deg, #12345A 0%, #1A4473 100%);
    box-shadow: 0 6px 18px rgba(18, 52, 90, 0.5), 0 0 18px rgba(214, 168, 75, 0.7) !important;
    border-color: #FEF08A !important;
    color: #FFFFFF !important;
}

.btn-bankdata-compact:hover i {
    transform: scale(1.25) rotate(15deg);
}

/* ==============================================================================
   HERO BANNER & SLIDER
   ============================================================================== */
.hero-slider .carousel-item {
    height: 520px;
    background-color: var(--navy-dark);
    position: relative;
}

@media (max-width: 768px) {
    .hero-slider .carousel-item {
        height: 400px;
    }
}

.hero-slider .carousel-item img {
    object-fit: cover;
    object-position: center 25%;
    height: 100%;
    width: 100%;
    filter: brightness(0.62);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 30, 53, 0.82) 0%, rgba(18, 52, 90, 0.52) 60%, rgba(30, 91, 145, 0.30) 100%);
}

.hero-caption {
    bottom: 16%;
    z-index: 10;
}

@media (max-width: 768px) {
    .hero-caption {
        bottom: 8%;
    }
}

.hero-pill {
    background: rgba(214, 168, 75, 0.22);
    border: 1px solid rgba(214, 168, 75, 0.7);
    color: var(--gold-light);
    font-size: 0.78rem;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    backdrop-filter: blur(8px);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.25;
    max-width: 820px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.4rem;
    }
}

.hero-subtitle {
    font-size: 0.98rem;
    color: #E2E8F0;
    max-width: 680px;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hero-subtitle {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
}

/* ==============================================================================
   STATISTICS SECTION & LIVING CARDS (LEBIH HIDUP & BERANIMASI)
   ============================================================================== */
.stat-container {
    margin-top: -45px;
    position: relative;
    z-index: 30;
}

@media (max-width: 768px) {
    .stat-container {
        margin-top: 20px;
    }
}

/* Master Compact Living Stat Card */
.stat-card-premium {
    background: linear-gradient(180deg, var(--theme-light, #FFFFFF) 0%, #FFFFFF 50%);
    border-radius: 16px;
    border: 1.5px solid var(--theme-border, rgba(226, 232, 240, 0.9));
    border-top: 3.5px solid var(--theme-color, #1E5B91);
    box-shadow: 0 6px 18px -4px rgba(18, 52, 90, 0.08), 0 2px 6px -1px rgba(18, 52, 90, 0.04);
    padding: 0.95rem 0.75rem 0.85rem 0.75rem;
    text-align: center;
    transition: all 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    cursor: pointer;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(8px);
    will-change: transform, box-shadow;
}

/* Ambient Radial Glow */
.stat-card-premium::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--theme-glow, rgba(30, 91, 145, 0.18));
    filter: blur(24px);
    pointer-events: none;
    z-index: 1;
    transition: all 0.4s ease;
}

/* Radiant Sheen Sweep Across Card on Hover */
.stat-card-premium::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -120%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: rotate(25deg);
    pointer-events: none;
    z-index: 2;
    transition: left 0.75s ease;
}

.stat-card-premium:hover::after {
    left: 140%;
}

/* Hover Interaction: Cool 3D Lift & Dynamic Color Glow */
.stat-card-premium:hover {
    transform: translateY(-6px) scale(1.025);
    border-color: var(--theme-color, #1E5B91);
    box-shadow: 0 16px 28px -6px var(--theme-shadow, rgba(18, 52, 90, 0.22)),
                0 0 18px var(--theme-glow, rgba(30, 91, 145, 0.25));
}

.stat-card-premium:hover::before {
    transform: scale(1.5);
    opacity: 0.95;
}

/* Compact Icon Wrap with Smooth Pop & Micro-Spin Transition */
.stat-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.45rem;
    background: var(--theme-gradient, linear-gradient(135deg, #1E5B91, #0284C7));
    color: #FFFFFF !important;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 12px var(--theme-shadow, rgba(30, 91, 145, 0.28));
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 3;
}

.stat-card-premium:hover .stat-icon-wrap {
    transform: scale(1.16) rotate(6deg) translateY(-2px);
    box-shadow: 0 8px 18px var(--theme-shadow, rgba(30, 91, 145, 0.45));
}

/* Number Counter: Sleeker & Vibrant */
.stat-number-animated {
    font-size: 1.75rem;
    font-weight: 850;
    line-height: 1.1;
    margin-bottom: 0.15rem;
    background: linear-gradient(135deg, #0f172a 0%, var(--theme-color, #1E5B91) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    transition: transform 0.25s ease;
    position: relative;
    z-index: 3;
    letter-spacing: -0.5px;
}

.stat-card-premium:hover .stat-number-animated {
    transform: scale(1.08);
}

.stat-label-text {
    font-size: 0.76rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.15rem;
    position: relative;
    z-index: 3;
}

.stat-subtext {
    font-size: 0.67rem;
    color: #64748B;
    line-height: 1.25;
    margin-bottom: 0.55rem;
    position: relative;
    z-index: 3;
    font-weight: 500;
}

/* Dynamic Click Action Pill */
.stat-click-hint {
    font-size: 0.67rem;
    font-weight: 700;
    padding: 3.5px 11px;
    border-radius: 50px;
    background: var(--theme-light, rgba(30, 91, 145, 0.08));
    color: var(--theme-color, #1E5B91);
    border: 1px solid var(--theme-border, rgba(30, 91, 145, 0.25));
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 3;
    box-shadow: 0 1.5px 4px rgba(0, 0, 0, 0.02);
}

.stat-click-hint i {
    transition: transform 0.25s ease;
    font-size: 0.65rem;
}

.stat-card-premium:hover .stat-click-hint {
    background: var(--theme-gradient, linear-gradient(135deg, #1E5B91, #0284C7));
    color: #FFFFFF !important;
    border-color: transparent;
    transform: translateY(-1.5px);
    box-shadow: 0 4px 12px var(--theme-shadow, rgba(18, 52, 90, 0.3));
}

.stat-card-premium:hover .stat-click-hint i {
    transform: translateX(4px);
    color: #FFFFFF !important;
}

/* Individual Theme Colors & Gradients */
.theme-paud {
    --theme-color: #EA580C;
    --theme-gradient: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    --theme-light: #FFF7ED;
    --theme-border: rgba(234, 88, 12, 0.25);
    --theme-shadow: rgba(234, 88, 12, 0.35);
    --theme-glow: rgba(249, 115, 22, 0.3);
}

.theme-sd {
    --theme-color: #DC2626;
    --theme-gradient: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    --theme-light: #FEF2F2;
    --theme-border: rgba(220, 38, 38, 0.25);
    --theme-shadow: rgba(220, 38, 38, 0.35);
    --theme-glow: rgba(239, 68, 68, 0.3);
}

.theme-smp {
    --theme-color: #0284C7;
    --theme-gradient: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
    --theme-light: #F0F9FF;
    --theme-border: rgba(2, 132, 199, 0.25);
    --theme-shadow: rgba(2, 132, 199, 0.35);
    --theme-glow: rgba(56, 189, 248, 0.3);
}

.theme-total {
    --theme-color: #0c2340;
    --theme-gradient: linear-gradient(135deg, #0c2340 0%, #1E5B91 55%, #D6A84B 100%);
    --theme-light: #F8FAFC;
    --theme-border: rgba(214, 168, 75, 0.4);
    --theme-shadow: rgba(18, 52, 90, 0.35);
    --theme-glow: rgba(214, 168, 75, 0.35);
}

.theme-guru {
    --theme-color: #059669;
    --theme-gradient: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --theme-light: #F0FDF4;
    --theme-border: rgba(5, 150, 105, 0.25);
    --theme-shadow: rgba(5, 150, 105, 0.35);
    --theme-glow: rgba(16, 185, 129, 0.3);
}

.theme-tendik {
    --theme-color: #7C3AED;
    --theme-gradient: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    --theme-light: #FAF5FF;
    --theme-border: rgba(124, 58, 237, 0.25);
    --theme-shadow: rgba(124, 58, 237, 0.35);
    --theme-glow: rgba(139, 92, 246, 0.3);
}

.theme-siswa {
    --theme-color: #D97706;
    --theme-gradient: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --theme-light: #FFFBEB;
    --theme-border: rgba(217, 119, 6, 0.25);
    --theme-shadow: rgba(217, 119, 6, 0.35);
    --theme-glow: rgba(245, 158, 11, 0.3);
}

.theme-kecamatan {
    --theme-color: #0F172A;
    --theme-gradient: linear-gradient(135deg, #475569 0%, #0F172A 100%);
    --theme-light: #F1F5F9;
    --theme-border: rgba(15, 23, 42, 0.25);
    --theme-shadow: rgba(15, 23, 42, 0.35);
    --theme-glow: rgba(71, 85, 105, 0.3);
}

/* ==============================================================================
   KADIS GREETING SECTION
   ============================================================================== */
.greeting-card-premium {
    background: #FFFFFF;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.greeting-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold), var(--navy-blue));
}

.kadis-photo-frame {
    position: relative;
    display: inline-block;
    border-radius: 16px;
    padding: 6px;
    background: linear-gradient(135deg, var(--gold), var(--navy-blue));
    box-shadow: 0 10px 25px rgba(18, 52, 90, 0.15);
}

.kadis-photo-frame img {
    width: 195px;
    height: 250px;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 12px;
    display: block;
}

.kadis-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--navy-blue);
    color: var(--gold);
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.25rem 0.9rem;
    border-radius: 20px;
    white-space: nowrap;
    border: 1.5px solid var(--gold);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ==============================================================================
   SERVICE CARDS
   ============================================================================== */
.service-card-premium {
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: var(--card-shadow);
    padding: 1.6rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.service-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(30, 91, 145, 0.3);
}

.service-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(30, 91, 145, 0.1), rgba(214, 168, 75, 0.15));
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.1rem;
}

/* ==============================================================================
   NEWS & PUBLICATION CARDS
   ============================================================================== */
.news-card-premium,
.news-card {
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.news-card-premium:hover,
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(30, 91, 145, 0.25);
}

.news-card-thumb,
.news-thumb {
    height: 195px;
    position: relative;
    overflow: hidden;
    background-color: var(--navy-dark);
}

.news-card-thumb img,
.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card-premium:hover .news-card-thumb img,
.news-card:hover .news-thumb img {
    transform: scale(1.05);
}

.news-category-badge,
.news-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--navy-blue);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.news-card-body,
.news-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-title,
.news-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.6rem;
    color: var(--navy-blue);
}

/* ==============================================================================
   FOOTER
   ============================================================================== */
.portal-footer {
    background-color: var(--navy-dark);
    color: #E2E8F0;
    padding-top: 4rem;
    border-top: 4px solid var(--gold);
    position: relative;
}

.portal-footer h5 {
    color: #FFFFFF;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(214, 168, 75, 0.3);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.55rem;
}

.footer-links a {
    color: #CBD5E1;
    text-decoration: none;
    font-size: 0.83rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.district-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #E2E8F0;
    font-size: 0.72rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    text-decoration: none;
    margin-bottom: 0.35rem;
    transition: var(--transition);
}

.district-pill:hover {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
    font-weight: 600;
}

.footer-bottom {
    background: #061423;
    padding: 1.25rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.8rem;
    color: #94A3B8;
}

/* Button & Badge Utilities */
.btn-gold {
    background: var(--gold);
    color: #12345A;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 12px rgba(214, 168, 75, 0.3);
    transition: var(--transition);
}

.btn-gold:hover {
    background: var(--gold-dark);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(214, 168, 75, 0.4);
}

.btn-navy {
    background: var(--navy-blue);
    color: #FFFFFF;
    font-weight: 600;
    border: none;
    transition: var(--transition);
}

.btn-navy:hover {
    background: var(--navy-dark);
    color: var(--gold);
}

/* Visitor Statistics Widget */
.visitor-stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0.65rem 0.75rem;
    text-align: center;
    transition: all 0.25s ease;
}
.visitor-stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(214, 168, 75, 0.4);
    transform: translateY(-2px);
}
.visitor-stat-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94A3B8;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}
.visitor-stat-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
}
@keyframes pulseGreen {
    0% { transform: scale(0.95); opacity: 0.7; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); opacity: 0.7; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22c55e;
    animation: pulseGreen 2s infinite ease-in-out;
}

/* ==============================================================================
   INTERACTIVE ORGANIZATIONAL TREE CHART (BAGAN STRUKTUR ORGANISASI)
   ============================================================================== */
.org-canvas-viewport {
    user-select: none;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}
.org-canvas-viewport::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.org-canvas-viewport::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.org-canvas-viewport::-webkit-scrollbar-track {
    background: #f8fafc;
}

.org-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.org-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08) !important;
}

.org-card-kadis {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.org-card-kadis:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px -5px rgba(245, 158, 11, 0.35) !important;
}

.btn-xs {
    padding: 0.25rem 0.6rem;
    font-size: 0.72rem;
    line-height: 1.2;
}

@media print {
    body {
        background: #ffffff !important;
    }
    .portal-topbar, .portal-header, .portal-footer, .breadcrumb, #btnZoomIn, #btnZoomOut, #btnZoomReset, #btnFullscreen, .btn, .floating-lapor-kadis-container {
        display: none !important;
    }
    .org-canvas-viewport {
        overflow: visible !important;
        min-height: auto !important;
    }
    .org-tree-content {
        transform: scale(0.9) !important;
        transform-origin: top center !important;
    }
}

/* ==============================================================================
   ANIMASI MASKOT LAPOR KADIS (KARAKTER BERJALAN MENUNJUK BUBBLE)
   ============================================================================== */
.floating-lapor-kadis-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1045;
    user-select: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-mascot-link {
    display: block;
    position: relative;
    cursor: pointer;
}

.floating-mascot-composite {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 1. Speech Bubble Pill Di Atas Telunjuk */
.lapor-bubble-pill {
    position: relative;
    background: linear-gradient(135deg, #E11D48 0%, #DC2626 50%, #B91C1C 100%);
    border: 2px solid #FCD34D;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.45),
                0 0 20px rgba(245, 158, 11, 0.35);
    animation: bubbleGlowPulse 2.4s ease-in-out infinite alternate;
    z-index: 5;
    margin-bottom: -15px;
    margin-left: 15px; /* Pas di atas jari telunjuk kiri */
    transform-origin: bottom center;
}

.lapor-bubble-pill .bubble-icon {
    color: #FDE047;
    font-size: 0.95rem;
    animation: iconShake 2.4s ease-in-out infinite;
}

.lapor-bubble-pill .bubble-arrow {
    font-size: 0.72rem;
    opacity: 0.85;
}

.lapor-bubble-pill .bubble-tail {
    position: absolute;
    bottom: -6px;
    left: 42%;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid #DC2626;
}

@keyframes bubbleGlowPulse {
    0% {
        transform: scale(0.96) translateY(0);
        box-shadow: 0 4px 15px rgba(220, 38, 38, 0.45), 0 0 15px rgba(245, 158, 11, 0.25);
    }
    100% {
        transform: scale(1.04) translateY(-3px);
        box-shadow: 0 6px 22px rgba(220, 38, 38, 0.75), 0 0 25px rgba(245, 158, 11, 0.6);
        border-color: #FEF08A;
    }
}

@keyframes iconShake {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(-15deg); }
    40% { transform: rotate(15deg); }
    60% { transform: rotate(-8deg); }
    80% { transform: rotate(8deg); }
}

/* 2. Animasi Karakter Berjalan (Walking & Striding Animation) */
.mascot-walker-body {
    position: relative;
    display: inline-block;
    animation: characterWalkingMotion 1.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    transform-origin: center bottom;
}

@keyframes characterWalkingMotion {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(2deg);
    }
    50% {
        transform: translateY(-2px) rotate(-0.5deg);
    }
    75% {
        transform: translateY(-10px) rotate(-2deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.mascot-walker-img {
    width: 140px;
    height: auto;
    display: block;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.25))
            drop-shadow(0 0 10px rgba(214, 168, 75, 0.2));
    transition: filter 0.3s ease;
}

/* Floating Sparkle Particles */
.sparkle-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, #FFF7ED 0%, #F59E0B 60%, transparent 100%);
    box-shadow: 0 0 10px #F59E0B, 0 0 5px #FDE047;
    pointer-events: none;
    z-index: 2;
}

.sparkle-orb.sp-1 {
    width: 10px;
    height: 10px;
    top: 25px;
    left: 2px;
    animation: sparkleFloat1 3s ease-in-out infinite alternate;
}

.sparkle-orb.sp-2 {
    width: 14px;
    height: 14px;
    top: 55px;
    right: -2px;
    animation: sparkleFloat2 2.6s ease-in-out infinite alternate;
}

.sparkle-orb.sp-3 {
    width: 8px;
    height: 8px;
    top: 95px;
    left: 12px;
    animation: sparkleFloat3 3.4s ease-in-out infinite alternate;
}

.sparkle-orb.sp-4 {
    width: 11px;
    height: 11px;
    top: 75px;
    right: 8px;
    animation: sparkleFloat4 2.8s ease-in-out infinite alternate;
}

@keyframes sparkleFloat1 {
    0% { transform: translateY(0) scale(0.7); opacity: 0.4; }
    100% { transform: translateY(-12px) translateX(6px) scale(1.2); opacity: 1; }
}

@keyframes sparkleFloat2 {
    0% { transform: translateY(0) scale(1); opacity: 0.8; }
    100% { transform: translateY(-15px) translateX(-5px) scale(0.6); opacity: 0.3; }
}

@keyframes sparkleFloat3 {
    0% { transform: translateY(0) scale(0.6); opacity: 0.3; }
    100% { transform: translateY(-10px) translateX(4px) scale(1.1); opacity: 0.9; }
}

@keyframes sparkleFloat4 {
    0% { transform: translateY(0) scale(1.1); opacity: 0.9; }
    100% { transform: translateY(-14px) translateX(-4px) scale(0.7); opacity: 0.4; }
}

/* Hover Interactivity */
.floating-lapor-kadis-container:hover .mascot-walker-body {
    animation-duration: 1.1s;
}

.floating-lapor-kadis-container:hover .lapor-bubble-pill {
    transform: scale(1.1) translateY(-6px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.8), 0 0 30px rgba(245, 158, 11, 0.7);
}

.floating-lapor-kadis-container:hover .mascot-walker-img {
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.35))
            drop-shadow(0 0 16px rgba(220, 38, 38, 0.45));
}

/* Close / Minimize Button */
.floating-mascot-close {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    background: rgba(18, 52, 90, 0.85);
    color: #ffffff;
    border: 1.5px solid #ffffff;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    z-index: 10;
    transition: all 0.2s ease;
}

.floating-mascot-close:hover {
    background: #DC2626;
    transform: scale(1.15);
}

/* Animated Mascot in Homepage Banner */
.mascot-interactive-banner {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mascot-interactive-banner:hover .mascot-walker-body {
    animation-duration: 1.1s;
}

.mascot-interactive-banner:hover .lapor-bubble-pill {
    transform: scale(1.08) translateY(-4px);
}

@media (max-width: 768px) {
    .floating-lapor-kadis-container {
        bottom: 15px;
        right: 15px;
    }
    .mascot-walker-img {
        width: 105px;
    }
    .lapor-bubble-pill {
        font-size: 0.72rem;
        padding: 4px 10px;
        margin-bottom: -10px;
    }
}

/* ==============================================================================
   DISPLAY INFORMASI DIGITAL & RUNNING TICKER
   ============================================================================== */
.display-informasi-ticker-bar {
    position: relative;
    z-index: 20;
}

@keyframes tickerAnimation {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.ticker-scroll {
    display: inline-block;
    padding-left: 100%;
    animation: tickerAnimation 40s linear infinite;
}

.ticker-scroll:hover {
    animation-play-state: paused;
}


