/* ================================================================
   HitPat — Semua CSS
   Dipindahkan dan diorganisir dari prototype HTML.
   Digunakan oleh: Publik (front-page), Portal Saksi, Portal Admin.
   ================================================================ */

/* ────────────────────────────────────────────────────────────────
   1. CSS VARIABLES — LIGHT
   ──────────────────────────────────────────────────────────────── */
:root {
    --primary: #0D9488;
    --primary-dark: #0F766E;
    --primary-light: #CCFBF1;
    --primary-rgb: 13, 148, 136;
    --secondary: #D97706;
    --secondary-light: #FEF3C7;
    --accent: #E11D48;
    --accent-light: #FFE4E6;
    --success: #059669;
    --success-light: #D1FAE5;
    --danger: #DC2626;
    --danger-light: #FEE2E2;
    --warning: #D97706;
    --warning-light: #FEF3C7;
    --info: #0891B2;
    --info-light: #CFFAFE;
    --bg: #F1F5F9;
    --bg-alt: #E2E8F0;
    --card: #FFFFFF;
    --card-hover: #F8FAFC;
    --sidebar: #0F172A;
    --sidebar-text: #CBD5E1;
    --header: #FFFFFF;
    --footer: #0F172A;
    --footer-text: #94A3B8;
    --text: #1E293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --border: #E2E8F0;
    --btn-text: #FFFFFF;
    --link: var(--primary);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -2px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.04);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.06);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-size-sm: 0.8125rem;
    --font-size-base: 0.9375rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.75rem;
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-dark));
    --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E3A4A 50%, #0F766E 100%);
    --transition: 200ms ease;
    --sidebar-width: 260px;
}

/* ────────────────────────────────────────────────────────────────
   2. CSS VARIABLES — DARK
   ──────────────────────────────────────────────────────────────── */
[data-theme="dark"] {
    --bg: #0B1120;
    --bg-alt: #1E293B;
    --card: #1E293B;
    --card-hover: #334155;
    --header: #1E293B;
    --text: #F1F5F9;
    --text-muted: #94A3B8;
    --text-light: #64748B;
    --border: #334155;
    --shadow: 0 1px 3px rgba(0,0,0,.3);
    --shadow-md: 0 4px 6px rgba(0,0,0,.3);
    --shadow-lg: 0 10px 15px rgba(0,0,0,.3);
    --primary-light: #042F2E;
    --secondary-light: #422006;
    --accent-light: #4C0519;
    --success-light: #022C22;
    --danger-light: #450A0A;
    --warning-light: #422006;
    --info-light: #083344;
}

/* ────────────────────────────────────────────────────────────────
   3. RESET & BASE
   ──────────────────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
body {
    font-family: var(--font);
    font-size: var(--font-size-base);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: var(--link);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover {
    color: var(--primary-dark);
}
button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    outline: none;
    background: none;
}
button {
    cursor: pointer;
}
table {
    border-collapse: collapse;
    width: 100%;
}
ul, ol {
    list-style: none;
}

/* ────────────────────────────────────────────────────────────────
   4. UTILITY CLASSES
   ──────────────────────────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.hidden {
    display: none !important;
}
.text-center {
    text-align: center;
}
.text-muted {
    color: var(--text-muted);
}
.text-sm {
    font-size: var(--font-size-sm);
}
.text-lg {
    font-size: var(--font-size-lg);
}
.text-xl {
    font-size: var(--font-size-xl);
}
.text-2xl {
    font-size: var(--font-size-2xl);
}
.fw-500 {
    font-weight: 500;
}
.fw-600 {
    font-weight: 600;
}
.fw-700 {
    font-weight: 700;
}
.fw-800 {
    font-weight: 800;
}
.mt-1 {
    margin-top: 8px;
}
.mt-2 {
    margin-top: 16px;
}
.mt-3 {
    margin-top: 24px;
}
.mb-1 {
    margin-bottom: 8px;
}
.mb-2 {
    margin-bottom: 16px;
}
.mb-3 {
    margin-bottom: 24px;
}
.w-full {
    width: 100%;
}
.num {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

/* ────────────────────────────────────────────────────────────────
   5. TOMBOL (BUTTONS)
   ──────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: all var(--transition);
    white-space: nowrap;
    line-height: 1.4;
}
.btn-primary {
    background: var(--gradient-primary);
    color: var(--btn-text);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb),.3);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb),.4);
    color: var(--btn-text);
}
.btn-secondary {
    background: var(--bg-alt);
    color: var(--text);
}
.btn-secondary:hover {
    background: var(--border);
}
.btn-danger {
    background: var(--danger);
    color: #fff;
}
.btn-danger:hover {
    opacity: .9;
    color: #fff;
}
.btn-success {
    background: var(--success);
    color: #fff;
}
.btn-success:hover {
    opacity: .9;
    color: #fff;
}
.btn-outline {
    border: 1.5px solid var(--border);
    color: var(--text);
    background: transparent;
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}
.btn-sm {
    padding: 6px 14px;
    font-size: .75rem;
}
.btn-lg {
    padding: 14px 28px;
    font-size: var(--font-size-base);
}
.btn-icon {
    padding: 8px;
    width: 36px;
    height: 36px;
    justify-content: center;
    border-radius: var(--radius-sm);
}
.btn:disabled,
.btn[disabled] {
    opacity: .5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ────────────────────────────────────────────────────────────────
   6. CARD
   ──────────────────────────────────────────────────────────────── */
.card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: box-shadow var(--transition);
    overflow: hidden;
}
.card:hover {
    box-shadow: var(--shadow-md);
}
.card-body {
    padding: 24px;
}
.card-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: var(--font-size-sm);
    gap: 12px;
}

/* ────────────────────────────────────────────────────────────────
   7. BADGE
   ──────────────────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.6;
}
.badge-primary {
    background: var(--primary-light);
    color: var(--primary-dark);
}
.badge-success {
    background: var(--success-light);
    color: var(--success);
}
.badge-danger {
    background: var(--danger-light);
    color: var(--danger);
}
.badge-warning {
    background: var(--warning-light);
    color: var(--warning);
}
.badge-info {
    background: var(--info-light);
    color: var(--info);
}

/* ────────────────────────────────────────────────────────────────
   8. FORM
   ──────────────────────────────────────────────────────────────── */
.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    font-weight: 600;
    font-size: var(--font-size-sm);
    margin-bottom: 6px;
    color: var(--text);
}
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    background: var(--card);
    transition: all var(--transition);
    font-size: var(--font-size-sm);
    color: var(--text);
    line-height: 1.5;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb),.12);
}
.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-light);
}
.form-input[readonly],
.form-select[readonly] {
    background: var(--bg-alt);
    cursor: default;
}
.form-textarea {
    resize: vertical;
    min-height: 80px;
}
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8.825L.35 3.175l.7-.7L6 7.425l4.95-4.95.7.7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* ────────────────────────────────────────────────────────────────
   9. TABLE
   ──────────────────────────────────────────────────────────────── */
.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table {
    font-size: var(--font-size-sm);
}
.table th {
    text-align: left;
    padding: 12px 16px;
    font-weight: 600;
    color: var(--text-muted);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-bottom: 2px solid var(--border);
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 1;
    white-space: nowrap;
}
.table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.table tr:last-child td {
    border-bottom: none;
}
.table tbody tr:hover td {
    background: var(--card-hover);
}

/* ────────────────────────────────────────────────────────────────
   10. PROGRESS BAR
   ──────────────────────────────────────────────────────────────── */
.progress {
    height: 8px;
    background: var(--bg-alt);
    border-radius: 100px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    border-radius: 100px;
    transition: width 1s ease;
}
.progress-bar.primary {
    background: var(--gradient-primary);
}
.progress-bar.success {
    background: var(--success);
}
.progress-bar.danger {
    background: var(--danger);
}
.progress-bar.warning {
    background: var(--warning);
}
.progress-bar.info {
    background: var(--info);
}

/* ────────────────────────────────────────────────────────────────
   11. STAT CARD
   ──────────────────────────────────────────────────────────────── */
.stat-card {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}
.stat-card.teal::before {
    background: var(--gradient-primary);
}
.stat-card.amber::before {
    background: linear-gradient(90deg, var(--secondary), #B45309);
}
.stat-card.rose::before {
    background: linear-gradient(90deg, var(--accent), #BE123C);
}
.stat-card.cyan::before {
    background: linear-gradient(90deg, var(--info), #0E7490);
}
.stat-card.green::before {
    background: linear-gradient(90deg, var(--success), #047857);
}
.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.stat-number {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    line-height: 1.1;
}
.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-top: 2px;
}

/* ────────────────────────────────────────────────────────────────
   12. TOAST NOTIFICATION
   ──────────────────────────────────────────────────────────────── */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.toast {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    min-width: 300px;
    max-width: 420px;
    animation: toastIn .3s ease;
    pointer-events: auto;
}
.toast.success .ti {
    color: var(--success);
}
.toast.error .ti {
    color: var(--danger);
}
.toast.warning .ti {
    color: var(--warning);
}
.toast.info .ti {
    color: var(--info);
}
@keyframes toastIn {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(40px); }
}

/* ────────────────────────────────────────────────────────────────
   13. MODAL
   ──────────────────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
    padding: 16px;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal {
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 560px;
    max-height: 85vh;
    overflow-y: auto;
    transform: scale(.95) translateY(10px);
    transition: transform .25s ease;
}
.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}
.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-header h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
}
.modal-body {
    padding: 24px;
}
.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* ────────────────────────────────────────────────────────────────
   14. TABS
   ──────────────────────────────────────────────────────────────── */
.tabs {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 24px;
    overflow-x: auto;
}
.tab-btn {
    padding: 10px 20px;
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition);
    background: none;
    white-space: nowrap;
}
.tab-btn:hover {
    color: var(--text);
}
.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

/* ────────────────────────────────────────────────────────────────
   15. BAR CHART
   ──────────────────────────────────────────────────────────────── */
.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.bar-label {
    min-width: 120px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-align: right;
    flex-shrink: 0;
}
.bar-track {
    flex: 1;
    height: 28px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
}
.bar-fill {
    height: 100%;
    border-radius: var(--radius-sm);
    transition: width 1.2s ease;
    display: flex;
    align-items: center;
    padding-left: 10px;
    min-width: fit-content;
}
.bar-value {
    font-size: .7rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

/* ────────────────────────────────────────────────────────────────
   16. DONUT CHART
   ──────────────────────────────────────────────────────────────── */
.donut-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.donut-center {
    position: absolute;
    text-align: center;
    pointer-events: none;
}
.donut-center .dv {
    font-size: var(--font-size-2xl);
    font-weight: 800;
}
.donut-center .dl {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* ────────────────────────────────────────────────────────────────
   17. DARK MODE TOGGLE
   ──────────────────────────────────────────────────────────────── */
.dm-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    border-radius: 100px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: background var(--transition);
    flex-shrink: 0;
}
.dm-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    transition: transform var(--transition);
}
[data-theme="dark"] .dm-toggle {
    background: var(--primary);
}
[data-theme="dark"] .dm-toggle::after {
    transform: translateX(20px);
    background: #fff;
}

/* ────────────────────────────────────────────────────────────────
   18. FILE UPLOAD
   ──────────────────────────────────────────────────────────────── */
.file-upload {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
}
.file-upload:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}
.file-upload i {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.file-upload.uploaded {
    border-color: var(--success);
    background: var(--success-light);
}
.file-upload.uploading {
    border-color: var(--primary);
    background: var(--primary-light);
}

/* ────────────────────────────────────────────────────────────────
   19. SEARCH BOX
   ──────────────────────────────────────────────────────────────── */
.search-box {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.search-box i {
    position: absolute;
    left: 12px;
    color: var(--text-muted);
    font-size: .85rem;
    pointer-events: none;
}
.search-box input {
    padding-left: 36px;
    width: 200px;
}

/* ────────────────────────────────────────────────────────────────
   20. NOTIFICATION BELL
   ──────────────────────────────────────────────────────────────── */
.notif-bell {
    position: relative;
}
.notif-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--danger);
    color: #fff;
    font-size: .6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    line-height: 1;
}

/* ────────────────────────────────────────────────────────────────
   21. ACTIVITY ITEM
   ──────────────────────────────────────────────────────────────── */
.activity-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.activity-item:last-child {
    border-bottom: none;
}
.activity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}
.activity-time {
    font-size: .7rem;
    color: var(--text-muted);
    white-space: nowrap;
    margin-top: 2px;
}

/* ────────────────────────────────────────────────────────────────
   22. SERVER ITEM
   ──────────────────────────────────────────────────────────────── */
.server-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.server-item:last-child {
    border-bottom: none;
}

/* ────────────────────────────────────────────────────────────────
   23. LOG ITEM
   ──────────────────────────────────────────────────────────────── */
.log-item {
    display: grid;
    grid-template-columns: 140px 80px 1fr 120px;
    gap: 12px;
    padding: 10px 16px;
    font-size: var(--font-size-sm);
    border-bottom: 1px solid var(--border);
    align-items: center;
}
.log-item:hover {
    background: var(--card-hover);
}
.log-level {
    font-weight: 600;
    text-transform: uppercase;
    font-size: .7rem;
}
.log-level.info {
    color: var(--info);
}
.log-level.warning {
    color: var(--warning);
}
.log-level.error {
    color: var(--danger);
}
.log-level.success {
    color: var(--success);
}

/* ────────────────────────────────────────────────────────────────
   24. TREE VIEW (WILAYAH)
   ──────────────────────────────────────────────────────────────── */
.tree-parent {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: var(--font-size-sm);
    cursor: pointer;
    padding: 6px 0;
    user-select: none;
}
.tree-parent i.fa-caret-right {
    font-size: .7rem;
    color: var(--text-muted);
    transition: transform var(--transition);
    width: 12px;
    flex-shrink: 0;
}
.tree-parent.open i.fa-caret-right {
    transform: rotate(90deg);
}
.tree-children {
    padding-left: 24px;
    display: none;
}
.tree-children.open {
    display: block;
}
.tree-child {
    padding: 6px 0;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ────────────────────────────────────────────────────────────────
   25. STEP ITEM (PANDUAN)
   ──────────────────────────────────────────────────────────────── */
.step-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}
.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: var(--font-size-sm);
    flex-shrink: 0;
}

/* ────────────────────────────────────────────────────────────────
   26. COLOR FIELD (THEME SETTING)
   ──────────────────────────────────────────────────────────────── */
.color-field {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.color-field input[type="color"] {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 2px;
    flex-shrink: 0;
}
.color-field code {
    font-size: .7rem;
    color: var(--text-muted);
    background: var(--bg-alt);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: auto;
}

/* ────────────────────────────────────────────────────────────────
   27. ANIMATIONS
   ──────────────────────────────────────────────────────────────── */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.animate-in {
    animation: slideUp .5s ease both;
}

/* ────────────────────────────────────────────────────────────────
   28. CANDIDATE RESULT CARD
   ──────────────────────────────────────────────────────────────── */
.candidate-result-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}
.candidate-result-card:last-child {
    border-bottom: none;
}
.candidate-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border);
    flex-shrink: 0;
}

/* ────────────────────────────────────────────────────────────────
   29. LIVE FEED
   ──────────────────────────────────────────────────────────────── */
.live-feed {
    max-height: 400px;
    overflow-y: auto;
}
.live-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: var(--font-size-sm);
    animation: slideUp .4s ease;
}
.live-item:last-child {
    border-bottom: none;
}
.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    flex-shrink: 0;
    animation: pulse 2s infinite;
}
.live-time {
    color: var(--text-muted);
    font-size: .75rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════
   30. PUBLIC — HEADER
   ════════════════════════════════════════════════════════════════ */
.pub-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--header);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255,255,255,.85);
}
[data-theme="dark"] .pub-header {
    background: rgba(30,41,59,.85);
}
.pub-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 16px;
}
.pub-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text);
    cursor: pointer;
    flex-shrink: 0;
}
.pub-logo:hover {
    color: var(--text);
}
.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .9rem;
    flex-shrink: 0;
}
.pub-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Event info di header */
.pub-event-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    justify-content: center;
}
.pub-event-name {
    font-weight: 700;
    font-size: var(--font-size-sm);
    color: var(--text);
    white-space: nowrap;
}
.pub-event-progress {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pub-event-pct {
    font-weight: 700;
    font-size: var(--font-size-sm);
    color: var(--primary);
    min-width: 40px;
}
.pub-event-status {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    white-space: nowrap;
}

/* ════════════════════════════════════════════════════════════════
   31. PUBLIC — QC HEADER
   ════════════════════════════════════════════════════════════════ */
.qc-header {
    background: var(--gradient-hero);
    padding: 40px 0 56px;
    position: relative;
    overflow: hidden;
}
.qc-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(var(--primary-rgb),.3), transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(217,119,6,.2), transparent 50%);
}
.qc-header .container {
    position: relative;
    z-index: 1;
}
.qc-header h1 {
    color: #fff;
    font-size: var(--font-size-2xl);
    font-weight: 800;
    margin-bottom: 8px;
}
.qc-header p {
    color: rgba(255,255,255,.6);
    font-size: var(--font-size-base);
}

/* ════════════════════════════════════════════════════════════════
   32. PUBLIC — QC PROGRESS ROW (4 kartu)
   ════════════════════════════════════════════════════════════════ */
.qc-progress-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

/* ════════════════════════════════════════════════════════════════
   33. PUBLIC — DASHBOARD GRID LAYOUTS
   ════════════════════════════════════════════════════════════════ */
.dash-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.dash-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}
.dash-grid-2-1 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

/* ════════════════════════════════════════════════════════════════
   34. PUBLIC — REKAP TABLE
   ════════════════════════════════════════════════════════════════ */
.rekap-table-wrap {
    max-height: 600px;
    overflow: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    -webkit-overflow-scrolling: touch;
}
.rekap-row-parent td {
    font-weight: 700;
    background: var(--bg);
}
.indent-1 td:first-child {
    padding-left: 40px;
}

/* ════════════════════════════════════════════════════════════════
   35. PUBLIC — FOOTER
   ════════════════════════════════════════════════════════════════ */
.pub-footer {
    background: var(--footer);
    color: var(--footer-text);
    padding: 32px 0 24px;
    margin-top: 40px;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer-col-main {
    flex: 1;
    min-width: 200px;
}
.footer-col-stats {
    flex-shrink: 0;
}
.footer-col-tech {
    flex-shrink: 0;
    text-align: right;
}
.footer-logo {
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
}
.footer-desc {
    font-size: var(--font-size-sm);
    line-height: 1.7;
    opacity: .7;
    margin-top: 4px;
}
.footer-stat-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--font-size-sm);
}
.footer-stat-label {
    color: var(--footer-text);
    opacity: .6;
    white-space: nowrap;
}
.footer-stat-value {
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}
.footer-tech-badges {
    display: flex;
    gap: 6px;
    margin-top: 4px;
    justify-content: flex-end;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-sm);
    opacity: .5;
}

/* ════════════════════════════════════════════════════════════════
   36. SAKSI — LOGIN PAGE
   ════════════════════════════════════════════════════════════════ */
.saksi-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    position: relative;
}
.saksi-login-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 70%, rgba(var(--primary-rgb),.3), transparent 50%);
}
.saksi-login-box {
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 90%;
    max-width: 420px;
    padding: 48px 40px;
    position: relative;
    z-index: 1;
}

/* ════════════════════════════════════════════════════════════════
   37. SAKSI — SIDEBAR
   ════════════════════════════════════════════════════════════════ */
.saksi-sidebar {
    width: var(--sidebar-width);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease;
    background: var(--card);
    border-right: 1px solid var(--border);
}

/* ════════════════════════════════════════════════════════════════
   38. ADMIN — SIDEBAR
   ════════════════════════════════════════════════════════════════ */
.admin-sidebar {
    width: var(--sidebar-width);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease;
    background: var(--sidebar);
}

/* ════════════════════════════════════════════════════════════════
   39. SIDEBAR — SHARED COMPONENTS
   ════════════════════════════════════════════════════════════════ */
.sidebar-logo {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.admin-sidebar .sidebar-logo {
    border-bottom-color: rgba(255,255,255,.08);
}
.admin-sidebar .sidebar-logo span {
    color: #fff;
}
.admin-sidebar .sidebar-logo small {
    font-size: .65rem;
    color: var(--sidebar-text);
    font-weight: 400;
}
.saksi-sidebar nav,
.admin-sidebar nav {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
}
.nav-section {
    font-size: .6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-muted);
    padding: 16px 12px 6px;
}
.admin-sidebar .nav-section {
    color: rgba(203,213,225,.4);
}
.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-muted);
    transition: all var(--transition);
    cursor: pointer;
    margin-bottom: 1px;
}
.nav-item:hover {
    background: var(--bg);
    color: var(--text);
}
.nav-item.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}
.admin-sidebar .nav-item {
    color: var(--sidebar-text);
}
.admin-sidebar .nav-item:hover {
    background: rgba(255,255,255,.06);
    color: #fff;
}
.admin-sidebar .nav-item.active {
    background: var(--primary);
    color: #fff;
}
.nav-item i {
    width: 20px;
    text-align: center;
    font-size: .85rem;
    flex-shrink: 0;
}
.sidebar-footer {
    padding: 12px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}
.admin-sidebar .sidebar-footer {
    border-top-color: rgba(255,255,255,.08);
}
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition);
}
.user-info:hover {
    background: var(--bg);
}
.admin-sidebar .user-info:hover {
    background: rgba(255,255,255,.06);
}
.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: .8rem;
    flex-shrink: 0;
}
.user-name {
    font-weight: 600;
    font-size: var(--font-size-sm);
}
.user-role {
    font-size: .7rem;
    color: var(--text-muted);
}
.admin-sidebar .user-name {
    color: #fff;
}
.admin-sidebar .user-role {
    color: var(--sidebar-text);
}

/* ════════════════════════════════════════════════════════════════
   40. SAKSI — MAIN LAYOUT
   ════════════════════════════════════════════════════════════════ */
.saksi-main {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-height: 100vh;
}
.saksi-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--header);
    border-bottom: 1px solid var(--border);
    padding: 0 32px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255,255,255,.85);
}
[data-theme="dark"] .saksi-topbar {
    background: rgba(30,41,59,.85);
}
.saksi-content {
    padding: 32px;
}

/* ════════════════════════════════════════════════════════════════
   41. ADMIN — MAIN LAYOUT
   ════════════════════════════════════════════════════════════════ */
.admin-main {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-height: 100vh;
}
.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--header);
    border-bottom: 1px solid var(--border);
    padding: 0 32px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255,255,255,.85);
}
[data-theme="dark"] .admin-topbar {
    background: rgba(30,41,59,.85);
}
.admin-content {
    padding: 32px;
}

/* ════════════════════════════════════════════════════════════════
   42. TOPBAR — SHARED
   ════════════════════════════════════════════════════════════════ */
.page-title {
    font-weight: 700;
    font-size: var(--font-size-lg);
}
.topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.mobile-toggle {
    display: none;
}

/* ════════════════════════════════════════════════════════════════
   43. SCROLLBAR
   ════════════════════════════════════════════════════════════════ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 100px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* ════════════════════════════════════════════════════════════════
   44. VALIDATION MESSAGE
   ════════════════════════════════════════════════════════════════ */
.val-msg {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.val-msg.success {
    background: var(--success-light);
    color: var(--success);
}
.val-msg.error {
    background: var(--danger-light);
    color: var(--danger);
}
.val-msg.info {
    background: var(--info-light);
    color: var(--info);
}
.val-msg.warning {
    background: var(--warning-light);
    color: var(--warning);
}

/* ════════════════════════════════════════════════════════════════
   45. ALERT BOX (UNTUK PEMBERITAHUAN SISTEM)
   ════════════════════════════════════════════════════════════════ */
.alert-box {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}
.alert-box.success {
    background: var(--success-light);
    color: var(--success);
    border: 1px solid var(--success);
}
.alert-box.error {
    background: var(--danger-light);
    color: var(--danger);
    border: 1px solid var(--danger);
}
.alert-box.info {
    background: var(--info-light);
    color: var(--info);
    border: 1px solid var(--info);
}
.alert-box.warning {
    background: var(--warning-light);
    color: var(--warning);
    border: 1px solid var(--warning);
}

/* ════════════════════════════════════════════════════════════════
   46. LOADING OVERLAY
   ════════════════════════════════════════════════════════════════ */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease;
}
.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}
.loading-box {
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 32px 48px;
    text-align: center;
}
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin .8s linear infinite;
    margin: 0 auto 16px;
}

/* ════════════════════════════════════════════════════════════════
   47. EMPTY STATE
   ════════════════════════════════════════════════════════════════ */
.empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--text-muted);
}
.empty-state i {
    font-size: 3rem;
    opacity: .3;
    margin-bottom: 16px;
    display: block;
}
.empty-state h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}
.empty-state p {
    font-size: var(--font-size-sm);
    max-width: 360px;
    margin: 0 auto;
}

/* ════════════════════════════════════════════════════════════════
   48. RESPONSIVE — TABLET (max-width: 1024px)
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .dash-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .dash-grid-2,
    .dash-grid-2-1 {
        grid-template-columns: 1fr;
    }
    .qc-progress-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .pub-event-info {
        display: none;
    }
    .log-item {
        grid-template-columns: 120px 70px 1fr;
    }
    .log-item > *:last-child {
        display: none;
    }
}

/* ════════════════════════════════════════════════════════════════
   49. RESPONSIVE — MOBILE (max-width: 768px)
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    .qc-header h1 {
        font-size: 1.5rem;
    }
    .qc-progress-row {
        grid-template-columns: 1fr 1fr;
    }
    .dash-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .saksi-sidebar,
    .admin-sidebar {
        transform: translateX(-100%);
    }
    .saksi-sidebar.open,
    .admin-sidebar.open {
        transform: translateX(0);
    }
    .saksi-main,
    .admin-main {
        margin-left: 0;
    }
    .saksi-topbar,
    .admin-topbar {
        padding: 0 16px;
    }
    .saksi-content,
    .admin-content {
        padding: 16px;
    }
    .mobile-toggle {
        display: flex;
    }
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .footer-col-tech {
        text-align: left;
    }
    .footer-tech-badges {
        justify-content: flex-start;
    }
    .bar-label {
        min-width: 80px;
        font-size: .75rem;
    }
    .log-item {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .log-item > *:nth-child(2),
    .log-item > *:last-child {
        display: none;
    }
    .modal {
        max-width: 100%;
        margin: 16px;
        max-height: 90vh;
    }
    .rekap-table-wrap {
        border-radius: var(--radius-sm);
    }
    .toast {
        min-width: 260px;
        max-width: calc(100vw - 40px);
    }
    .toast-container {
        right: 12px;
        left: 12px;
    }
}

/* ════════════════════════════════════════════════════════════════
   50. RESPONSIVE — SMALL MOBILE (max-width: 480px)
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .qc-progress-row {
        grid-template-columns: 1fr;
    }
    .dash-grid {
        grid-template-columns: 1fr;
    }
    .stat-number {
        font-size: 1.3rem;
    }
    .pub-logo span {
        display: none;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
}

/* ════════════════════════════════════════════════════════════════
   51. REDUCED MOTION
   ════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ════════════════════════════════════════════════════════════════
   52. PRINT
   ════════════════════════════════════════════════════════════════ */
@media print {
    .pub-header,
    .pub-footer,
    .toast-container,
    .modal-overlay,
    .loading-overlay,
    .dm-toggle {
        display: none !important;
    }
    body {
        background: #fff;
        color: #000;
        font-size: 12pt;
    }
    .card {
        box-shadow: none;
        border: 1px solid #ccc;
        break-inside: avoid;
    }
    .rekap-table-wrap {
        max-height: none;
        overflow: visible;
    }
}

/* ===================================================
   SPLASH SCREEN HITPAT (PREMIUM DESIGN)
   =================================================== */
body.hitpat-splash-body {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    /* Warna dasar gelap elegan (Slate/Navy) */
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%) !important; 
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-align: center;
    overflow: hidden !important;
    position: relative;
}

/* Bola Cahaya Bergerak di Latar Belakang */
.splash-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
    animation: float 8s infinite ease-in-out alternate;
}
.splash-orb-1 {
    width: 500px;
    height: 500px;
    background: #0D9488; /* Warna primary dari tema Anda */
    top: -150px;
    left: -150px;
}
.splash-orb-2 {
    width: 400px;
    height: 400px;
    background: #D97706; /* Warna secondary dari tema Anda */
    bottom: -100px;
    right: -100px;
    animation-delay: 2s;
}

/* Pola Grid Subtle di Latar Belakang */
.splash-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
}

/* Wadah Konten Utama */
.hitpat-splash-container {
    position: relative;
    z-index: 10;
    padding: 40px;
    max-width: 600px;
    color: #ffffff;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Logo Bulat dengan Ikon */
.hitpat-splash-logo {
    width: 90px;
    height: 90px;
    margin: 0 auto 30px;
    border-radius: 28px;
    background: linear-gradient(135deg, #0D9488, #0F766E);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    box-shadow: 0 15px 35px rgba(13, 148, 136, 0.4);
    animation: pulseGlow 3s infinite ease-in-out;
}

/* Judul HitPat */
.hitpat-splash-title {
    font-size: 6rem;
    margin: 0;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(180deg, #ffffff 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Garis Pemisah */
.hitpat-splash-divider {
    width: 60px;
    height: 4px;
    background: #0D9488;
    margin: 25px auto;
    border-radius: 10px;
}

/* Teks Keterangan */
.hitpat-splash-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 45px;
    opacity: 0.9;
    line-height: 1.7;
    color: #CBD5E1;
}
.hitpat-splash-subtitle span {
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* Tombol Glassmorphism */
.hitpat-splash-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Efek Hover Tombol */
.hitpat-splash-btn:hover {
    background: #ffffff;
    color: #0F172A !important;
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}
.hitpat-splash-btn i {
    transition: transform 0.3s ease;
}
.hitpat-splash-btn:hover i {
    transform: translateX(6px);
}

/* Animasi Keyframes */
@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 15px 35px rgba(13, 148, 136, 0.4); }
    50% { box-shadow: 0 15px 50px rgba(13, 148, 136, 0.7); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsif untuk HP */
@media (max-width: 600px) {
    .hitpat-splash-title { font-size: 4rem; }
    .hitpat-splash-subtitle { font-size: 1.1rem; }
    .splash-orb-1 { width: 300px; height: 300px; }
    .splash-orb-2 { width: 250px; height: 250px; }
}