* { 
    font-family: 'Inter', system-ui, sans-serif; 
    max-width: 100%;
    box-sizing: border-box;
}
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    scroll-behavior: smooth;
}

/* Aksen cyan elektrik #00e0ff */
.bg-cyan-500 { background-color: #00e0ff; }
.text-cyan-500 { color: #00e0ff; }
.border-cyan-500 { border-color: #00e0ff; }
.ring-cyan-500 { ring-color: #00e0ff; }
.bg-cyan-500\/20 { background-color: rgba(0, 224, 255, 0.2); }

body { background-color: #0b0f1a; color: #e2e8f0; }
.card-nexus { background: rgba(18, 28, 48, 0.8); backdrop-filter: blur(4px); border: 1px solid #1e2d4a; }
.bg-deep-space { background-color: #0a0f1c; }
.bg-card-space { background-color: #111b30; }
.text-dim { color: #9babc5; }

.hover-glow:hover { box-shadow: 0 0 20px #00e0ff60; }

/* Logo container - penting untuk proporsi */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

/* Logo fallback yang kece - lingkaran gradient dengan huruf N */
.logo-fallback {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    background: linear-gradient(135deg, #00e0ff, #7c3aed);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(0,224,255,0.5);
    text-transform: uppercase;
    flex-shrink: 0;
}

/* Logo footer lebih kecil proporsional */
.logo-footer-fallback {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    background: linear-gradient(135deg, #00e0ff, #7c3aed);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(0,224,255,0.4);
    flex-shrink: 0;
}

/* Gambar logo - dijaga proporsinya */
.logo-image {
    width: auto;
    height: 40px;
    max-width: 40px;
    object-fit: contain;
    display: block;
}

.logo-footer-image {
    width: auto;
    height: 32px;
    max-width: 32px;
    object-fit: contain;
    display: block;
}

/* Progress bar ala Nusantara */
progress {
    width: 100%;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #1e2d4a;
    border: none;
}
progress::-webkit-progress-bar {
    background-color: #1e2d4a;
}
progress::-webkit-progress-value {
    background-color: #00e0ff;
    transition: width 0.2s ease;
}
progress::-moz-progress-bar {
    background-color: #00e0ff;
}

/* Button style */
.btn-nexus {
    background-color: #00e0ff;
    color: #0a0f1c;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 9999px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(0,224,255,0.3);
}
.btn-nexus:hover {
    background-color: #7c3aed;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 20px 30px -5px rgba(124,58,237,0.4);
}
.btn-nexus:disabled {
    opacity: 0.5;
    pointer-events: none;
    background-color: #4b5563;
    box-shadow: none;
}
.btn-danger-nexus {
    background-color: #dc2626;
    color: white;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 9999px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(220,38,38,0.3);
}
.btn-danger-nexus:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 20px 30px -5px rgba(220,38,38,0.4);
}

/* File input */
.file-input-nexus {
    width: 100%;
    padding: 12px;
    background: #111b30;
    border: 1px dashed #00e0ff;
    border-radius: 12px;
    color: #9babc5;
    cursor: pointer;
}
.file-input-nexus::-webkit-file-upload-button {
    background: #00e0ff;
    color: #0a0f1c;
    font-weight: 600;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    margin-right: 16px;
    cursor: pointer;
}

/* Format options */
.format-card {
    background: #111b30;
    border: 1px solid #1e2d4a;
    border-radius: 16px;
    padding: 16px;
}

/* Riwayat item */
.deleted-item {
    background: rgba(220,38,38,0.1);
    border-left: 4px solid #dc2626;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
}

/* Toast */
.toast-nexus {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #111b30;
    border-left: 4px solid #00e0ff;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,224,255,0.2);
    display: none;
    align-items: center;
    gap: 12px;
    z-index: 1000;
}

/* Floating Donasi Button - Sociabuzz Tribe */
.floating-donasi {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    animation: float 3s ease-in-out infinite;
}

.donasi-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #00e0ff, #7c3aed);
    color: white;
    padding: 12px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 10px 25px rgba(0,224,255,0.4);
    border: 2px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s;
}

.donasi-button:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 20px 35px rgba(124,58,237,0.5);
    border-color: white;
}

.donasi-button i {
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
}

.donasi-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.donasi-text-main {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.donasi-text-small {
    font-size: 0.65rem;
    opacity: 0.9;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* Animasi float */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* Responsive untuk mobile */
@media (max-width: 640px) {
    .floating-donasi {
        bottom: 20px;
        right: 15px;
    }
    .donasi-button {
        padding: 10px 18px;
        gap: 8px;
    }
    .donasi-button i {
        font-size: 1rem;
    }
    .donasi-text-main {
        font-size: 0.85rem;
    }
    .donasi-text-small {
        font-size: 0.6rem;
    }
}

.flex-shrink-0 {
    flex-shrink: 0;
}