:root {
    --bg-deep: #030408;
    --bg-panel: #080a10;
    --bg-surface: #0e111a;
    --neon-cyan: #00f0ff;
    --neon-pink: #ff0055;
    --neon-yellow: #f3e600;
    --neon-green: #00ff66;
    --text-main: #f1f5f9;
    --text-muted: #64748b;
    --border-tech: #1a1e30;
    --border-glow: rgba(0, 240, 255, 0.25);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family:
        "Segoe UI",
        system-ui,
        -apple-system,
        sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(8px, 3vw, 20px);
    padding-bottom: clamp(90px, 15vh, 120px);
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, #080a12 0%, #030408 100%);
    background-size:
        20px 20px,
        20px 20px,
        100% 100%;
}

.container {
    width: 100%;
    max-width: 800px;
    background: var(--bg-panel);
    padding: clamp(12px, 3vw, 24px);
    padding-bottom: clamp(16px, 4vw, 28px);
    border-radius: 12px;
    border: 1px solid var(--border-tech);
    box-shadow:
        0 0 35px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(0, 240, 255, 0.08);
    position: relative;
    margin-top: clamp(4px, 2vh, 16px);
}

.container::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    width: 14px;
    height: 14px;
    border-top: 2px solid var(--neon-cyan);
    border-left: 2px solid var(--neon-cyan);
}
.container::after {
    content: "";
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    border-bottom: 2px solid var(--neon-pink);
    border-right: 2px solid var(--neon-pink);
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: clamp(14px, 3vw, 20px);
    border-bottom: 1px solid var(--border-tech);
    padding-bottom: 14px;
    gap: 12px;
    flex-wrap: wrap;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.app-header i {
    font-size: clamp(20px, 5vw, 24px);
    color: var(--neon-cyan);
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
    flex-shrink: 0;
}

h2 {
    font-size: clamp(11px, 2.5vw, 14px);
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--text-main);
    text-transform: uppercase;
    word-break: break-all;
}

p.subtitle {
    font-size: 8px;
    color: var(--text-muted);
    letter-spacing: 0.8px;
    font-family: monospace;
}

.system-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 8px;
    font-family: monospace;
    color: var(--neon-green);
    background: rgba(0, 255, 102, 0.08);
    border: 1px solid rgba(0, 255, 102, 0.2);
    padding: 4px 8px;
    border-radius: 3px;
    white-space: nowrap;
}

.status-dot {
    width: 5px;
    height: 5px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon-green);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.4;
    }
}

/* Navigasi Tab */
.tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 24px;
    background: var(--bg-deep);
    padding: 5px;
    border: 1px solid var(--border-tech);
    border-radius: 6px;
}

.tab-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-tech);
    padding: clamp(8px, 2vw, 10px) 4px;
    font-size: clamp(9px, 2vw, 10px);
    font-weight: 700;
    cursor: pointer;
    color: var(--text-muted);
    border-radius: 4px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    min-height: 48px;
}

.tab-btn i {
    font-size: clamp(12px, 3vw, 13px);
}

.tab-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: transparent;
    transition: 0.25s;
}

.tab-btn:hover {
    color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.04);
    border-color: rgba(0, 240, 255, 0.3);
}

.tab-btn.active {
    background: rgba(0, 240, 255, 0.08);
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow:
        inset 0 0 10px rgba(0, 240, 255, 0.15),
        0 0 12px rgba(0, 240, 255, 0.15);
}

.tab-btn.active::before {
    background: var(--neon-cyan);
    box-shadow: 0 0 6px var(--neon-cyan);
}

/* Konten Tab */
.tab-content {
    display: none;
    animation: glitchFade 0.25s ease-out;
}

.tab-content.active {
    display: block;
}

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

.tab-content h3 {
    font-size: clamp(11px, 2.5vw, 13px);
    margin-bottom: 4px;
    color: var(--neon-yellow);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: monospace;
}

.tab-content > p {
    font-size: clamp(10px, 2vw, 11px);
    color: var(--text-muted);
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 14px;
}

label.form-label {
    display: block;
    font-size: 9px;
    color: var(--neon-cyan);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: monospace;
    font-weight: 600;
}

/* ✅ Gabungkan text DAN number */
input[type="text"],
input[type="number"] {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-tech);
    padding: clamp(9px, 2vw, 11px) clamp(10px, 2vw, 14px);
    color: var(--text-main);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    border-radius: 4px;
    outline: none;
    transition: all 0.3s;
}

/* ✅ Focus untuk text DAN number */
input[type="text"]:focus,
input[type="number"]:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
    background: #05070d;
}

.section-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-tech);
    padding: clamp(10px, 2.5vw, 14px);
    margin-bottom: 14px;
    border-radius: 6px;
}

.cyber-btn {
    background: var(--bg-deep);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: clamp(9px, 2vw, 10px) 14px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: 0.25s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
}

.cyber-btn:hover {
    background: var(--neon-cyan);
    color: var(--bg-deep);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

.cyber-btn-pink {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    width: 100%;
    text-align: center;
}

.cyber-btn-pink:hover {
    background: var(--neon-pink);
    color: var(--bg-deep);
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.5);
}

.cyber-btn-red {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    background: rgba(255, 0, 85, 0.05);
    width: 100%;
    text-align: center;
}

.cyber-btn-red:hover {
    background: var(--neon-pink);
    color: var(--bg-deep);
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.5);
}

/* Foto Utama Preview - Responsif Full Cover */
.photo-preview-wrapper {
    display: none;
    margin-top: 10px;
    background: var(--bg-deep);
    padding: 6px;
    border: 1px solid var(--border-tech);
    border-radius: 4px;
}

.photo-preview-img {
    width: 100%;
    height: clamp(120px, 30vw, 160px);
    object-fit: cover;
    border: 1px solid var(--neon-cyan);
    border-radius: 3px;
    background: var(--bg-surface);
}

/* Background Preview - Responsif Full Cover */
.bg-preview-wrapper {
    display: none;
    margin-top: 10px;
    background: var(--bg-deep);
    padding: 8px;
    border: 1px solid var(--border-tech);
    border-radius: 4px;
}

.bg-preview-box {
    width: 100%;
    height: clamp(130px, 35vw, 180px);
    object-fit: cover;
    border: 1px solid var(--neon-cyan);
    border-radius: 3px;
    background: var(--bg-surface);
}

/* --- 5 GRID GAMBAR KONTEN (LAYOUT 2-1-2 RESPONSIVE) --- */
.content-grid-5 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 8px;
}

.content-slot-card {
    background: var(--bg-deep);
    border: 1px solid var(--border-tech);
    border-radius: 4px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: 0.25s;
}

.content-slot-card.middle-slot {
    grid-column: span 2;
    max-width: 60%;
    justify-self: center;
    width: 100%;
}

@media (max-width: 500px) {
    .content-slot-card.middle-slot {
        max-width: 100%;
    }
}

.content-slot-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
}

.content-slot-img-box {
    position: relative;
    width: 100%;
    height: clamp(70px, 20vw, 90px);
    background: var(--bg-surface);
    border: 1px dashed var(--border-tech);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.content-slot-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
}

.content-slot-img-box .placeholder-icon {
    font-size: 18px;
    color: var(--text-muted);
}

.content-actions-row {
    display: flex;
    gap: 6px;
    width: 100%;
    margin-top: 6px;
}

.content-action-btn {
    flex: 1;
    background: var(--bg-surface);
    border: 1px solid var(--border-tech);
    color: var(--neon-cyan);
    font-size: 8px;
    font-family: monospace;
    padding: 5px 4px;
    border-radius: 3px;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.content-action-btn:hover {
    border-color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.1);
}

.content-action-btn.del-btn {
    color: var(--neon-pink);
    border-color: rgba(255, 0, 85, 0.3);
    flex: 0 0 28px;
}

.content-action-btn.del-btn:hover {
    background: rgba(255, 0, 85, 0.15);
    border-color: var(--neon-pink);
}

.content-slot-label {
    font-size: 8px;
    color: var(--text-muted);
    font-family: monospace;
    margin-top: 4px;
    text-transform: uppercase;
}

.unified-sticker-container {
    background: var(--bg-deep);
    border: 1px solid var(--border-tech);
    padding: 10px;
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
    min-height: 80px;
    align-items: flex-start;
}

.sticker-inline-add {
    width: 46px;
    height: 46px;
    background: var(--bg-surface);
    border: 1px dashed var(--neon-cyan);
    color: var(--neon-cyan);
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.25s;
    flex-shrink: 0;
}

.sticker-inline-add:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.selected-sticker-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-tech);
    border-radius: 4px;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 56px;
    flex-shrink: 0;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    animation: popIn 0.2s ease;
    cursor: pointer;
    transition: 0.2s;
}

.selected-sticker-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.selected-sticker-img-box {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.selected-sticker-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sticker-overlay-pencil {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 4, 8, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    transition: 0.2s;
}

.sticker-overlay-pencil i {
    font-size: 11px;
    color: var(--neon-cyan);
    opacity: 0.75;
    text-shadow: 0 0 6px rgba(0, 240, 255, 0.6);
}

.selected-sticker-card:hover .sticker-overlay-pencil {
    background: rgba(3, 4, 8, 0.65);
}

.selected-sticker-card:hover .sticker-overlay-pencil i {
    opacity: 1;
}

.selected-sticker-text {
    font-size: 7px;
    color: var(--neon-cyan);
    font-family: monospace;
    margin-top: 4px;
    text-align: center;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@keyframes popIn {
    from {
        transform: scale(0.6);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Pemutar Musik Aktif */
.active-player-box {
    background: linear-gradient(
        135deg,
        rgba(0, 240, 255, 0.06) 0%,
        rgba(8, 10, 16, 0.98) 100%
    );
    border: 1px solid var(--neon-cyan);
    border-radius: 8px;
    padding: clamp(10px, 3vw, 14px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.15);
}

.active-player-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--neon-cyan);
    box-shadow: 0 0 12px var(--neon-cyan);
}

.active-player-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.active-player-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.vinyl-disc {
    width: 40px;
    height: 40px;
    background: var(--bg-deep);
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-cyan);
    font-size: 16px;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
    flex-shrink: 0;
    transition: 0.3s;
}

.vinyl-disc.spinning {
    animation: spinDisc 3s linear infinite;
    box-shadow: 0 0 18px var(--neon-cyan);
}

@keyframes spinDisc {
    100% {
        transform: rotate(360deg);
    }
}

.active-audio-info {
    flex: 1;
    min-width: 0;
}

.active-audio-title {
    font-size: clamp(10px, 2.5vw, 12px);
    font-weight: 700;
    color: var(--neon-cyan);
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
    margin-bottom: 3px;
}

.active-audio-meta {
    font-size: 8px;
    color: var(--text-muted);
    font-family: monospace;
    display: flex;
    align-items: center;
    gap: 6px;
}

.active-player-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.equalizer-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 16px;
    width: 18px;
}

.equalizer-bars span {
    width: 3px;
    background: var(--text-muted);
    height: 4px;
    border-radius: 1px;
    transition:
        height 0.2s ease,
        background 0.2s ease;
}

.equalizer-bars.active span {
    background: var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan);
}

.equalizer-bars.active span:nth-child(1) {
    animation: eqAnim 0.6s ease-in-out infinite alternate;
}
.equalizer-bars.active span:nth-child(2) {
    animation: eqAnim 0.35s ease-in-out infinite alternate;
}
.equalizer-bars.active span:nth-child(3) {
    animation: eqAnim 0.7s ease-in-out infinite alternate;
}
.equalizer-bars.active span:nth-child(4) {
    animation: eqAnim 0.45s ease-in-out infinite alternate;
}

@keyframes eqAnim {
    0% {
        height: 4px;
    }
    100% {
        height: 16px;
    }
}

.play-btn-large {
    background: var(--bg-deep);
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.25s;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
    font-size: 13px;
    flex-shrink: 0;
}

.play-btn-large:hover:not(:disabled) {
    background: var(--neon-cyan);
    color: var(--bg-deep);
    box-shadow: 0 0 22px var(--neon-cyan);
    transform: scale(1.05);
}

.audio-progress-bar-full {
    width: 100%;
    height: 5px;
    background: var(--bg-deep);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid var(--border-tech);
    margin-top: 10px;
    cursor: pointer;
}

.audio-progress-fill-cool {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-green));
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--neon-cyan);
}

.audio-scroll-container {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 2px;
}

.audio-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-surface);
    border: 1px solid var(--border-tech);
    padding: 9px 12px;
    margin-bottom: 8px;
    border-radius: 6px;
    gap: 10px;
    transition: 0.25s;
    cursor: pointer;
}

.audio-item:hover {
    border-color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.05);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.audio-item.selected {
    border-color: var(--neon-cyan) !important;
    background: rgba(0, 240, 255, 0.1) !important;
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.3) !important;
}

.audio-item.selected i.fa-circle-check {
    opacity: 1 !important;
    color: var(--neon-cyan) !important;
    text-shadow: 0 0 8px var(--neon-cyan);
}

.audio-info {
    flex: 1;
    min-width: 0;
}

.audio-title {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 3px;
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- MOBILE-FRIENDLY FLOATING ACTION BAR --- */
.mobile-bottom-bar {
    position: fixed;
    bottom: 10px;
    left: 10px;
    right: 10px;
    max-width: 768px;
    margin: 0 auto;
    background: rgba(8, 10, 16, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 240, 255, 0.35);
    padding: 8px 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    z-index: 99;
    border-radius: 12px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.85),
        0 0 20px rgba(0, 240, 255, 0.12);
}

.mobile-bottom-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan);
}

.bottom-action-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-tech);
    color: var(--text-main);
    padding: 10px 12px;
    font-size: 10px;
    font-weight: 700;
    font-family: monospace;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 44px;
}

.bottom-action-btn i {
    font-size: 14px;
    transition: transform 0.25s;
}

.bottom-action-btn.preview-btn {
    border-color: rgba(0, 240, 255, 0.4);
    color: var(--neon-cyan);
}

.bottom-action-btn.preview-btn:hover,
.bottom-action-btn.preview-btn:active {
    background: rgba(0, 240, 255, 0.12);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.bottom-action-btn.upload-btn {
    background: linear-gradient(
        135deg,
        rgba(255, 0, 85, 0.15) 0%,
        rgba(8, 10, 16, 0.95) 100%
    );
    border-color: rgba(255, 0, 85, 0.5);
    color: var(--neon-pink);
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.15);
}

.bottom-action-btn.upload-btn:hover,
.bottom-action-btn.upload-btn:active {
    background: var(--neon-pink);
    color: var(--bg-deep);
    border-color: var(--neon-pink);
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.6);
}

/* Modal / Popup Styling Responsif */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 4, 8, 0.85);
    backdrop-filter: blur(5px);
    z-index: 100;
    justify-content: center;
    align-items: center;
    padding: 12px;
}

.modal-content {
    background: var(--bg-panel);
    border: 1px solid var(--neon-cyan);
    width: 100%;
    max-width: 400px;
    padding: clamp(14px, 4vw, 20px);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    border-bottom: 1px dashed var(--border-tech);
    padding-bottom: 8px;
}

.modal-header h4 {
    font-size: 11px;
    color: var(--neon-cyan);
    text-transform: uppercase;
    font-family: monospace;
    letter-spacing: 0.8px;
}

.close-modal {
    background: none;
    border: none;
    color: var(--neon-pink);
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    transition: 0.2s;
}
.close-modal:hover {
    text-shadow: 0 0 8px var(--neon-pink);
}

.bg-scroll-container,
.content-scroll-container,
.sticker-scroll-container {
    max-height: 240px;
    overflow-y: auto;
    padding-right: 4px;
}

.bg-grid-popup,
.content-grid-popup,
.sticker-grid-popup {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

@media (max-width: 380px) {
    .bg-grid-popup,
    .content-grid-popup,
    .sticker-grid-popup {
        grid-template-columns: repeat(2, 1fr);
    }
}

.popup-choice-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-tech);
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.25s;
}

.popup-choice-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    border-radius: 3px;
}

.popup-choice-item:hover {
    border-color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.05);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
}

/* Modal Preview & Loading khusus */
.preview-modal-content {
    width: 100%;
    max-width: 900px;
    height: 85vh;
    padding: 16px;
}

.preview-iframe {
    width: 100%;
    height: calc(100% - 40px);
    border: 1px solid var(--border-tech);
    border-radius: 4px;
    background: #fff;
    margin-top: 10px;
}