:root {
    /* Palette Warna High-End */
    --bg-deep: #030303;
    --surface: #0a0a0a;
    --surface-highlight: #171717;
    --border: #333333;
    --border-light: rgba(255, 255, 255, 0.1);
    
    --primary: #ffffff;
    --secondary: #888888;
    --accent: #0070f3; /* Vercel Blue */
    --accent-glow: rgba(0, 112, 243, 0.5);
    --success: #50e3c2;
    --error: #ff4d4f;
    
    --font-ui: 'Inter', sans-serif;
    --font-code: 'JetBrains Mono', monospace;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
}

* { box-sizing: border-box; outline: none; }

body {
    font-family: var(--font-ui);
    background-color: var(--bg-deep);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    /* Efek Grid Background Halus */
    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: 40px 40px;
    overflow-x: hidden;
}

/* Ambient Glow di Background */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle, rgba(0, 112, 243, 0.15) 0%, rgba(0,0,0,0) 60%);
    z-index: -1;
    pointer-events: none;
}

.container {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    width: 100%;
    max-width: 480px;
    box-shadow: 
        0 0 0 1px rgba(0,0,0,0.2),
        0 20px 40px -20px rgba(0,0,0,0.5),
        0 0 80px -20px rgba(0, 112, 243, 0.1);
    position: relative;
    animation: floatUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes floatUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Badge Kecil di atas */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    font-size: 0.7rem;
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

h1 {
    font-weight: 700;
    font-size: 2rem;
    margin: 0 0 5px 0;
    background: linear-gradient(180deg, #fff, #a5a5a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.04em;
}

.creator {
    font-size: 0.8rem;
    color: var(--secondary);
    margin-bottom: 2.5rem;
    display: block;
    font-weight: 400;
}

.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
    position: relative;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-deep);
    border: 1px solid var(--border);
    color: #fff;
    border-radius: var(--radius-sm);
    font-family: var(--font-code);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

input[type="text"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(0, 112, 243, 0.15);
}

input[type="file"] {
    width: 100%;
    padding: 12px;
    background: var(--bg-deep);
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    color: var(--secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

input[type="file"]:hover {
    border-color: #666;
    background: #0f0f0f;
}

input[type="file"]::-webkit-file-upload-button {
    background: #222;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.75rem;
    margin-right: 12px;
    transition: background 0.2s;
    cursor: pointer;
}

input[type="file"]::-webkit-file-upload-button:hover {
    background: #333;
}

button {
    background: #fff;
    color: #000;
    border: none;
    padding: 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-size: 0.95rem;
    font-family: var(--font-ui);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 10px;
    letter-spacing: -0.01em;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.15);
}

button:active {
    transform: scale(0.98);
}

button:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#status {
    margin-top: 2rem;
    font-size: 0.8rem;
    text-align: left;
    background: #000;
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    min-height: 100px;
    font-family: var(--font-code);
    line-height: 1.7;
    color: #a1a1a1;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

#status::before {
    content: '•••';
    position: absolute;
    top: 6px;
    left: 10px;
    color: #333;
    letter-spacing: 2px;
    font-size: 1.2rem;
    line-height: 0;
}

.success { color: var(--success) !important; }
.error { color: var(--error) !important; }

.link {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px dotted var(--accent);
    transition: all 0.2s;
}
.link:hover { background: rgba(0, 112, 243, 0.1); border-bottom-style: solid; }

.instructions {
    margin-top: 2rem;
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
}

.instructions summary {
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--secondary);
    font-weight: 500;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s;
}

.instructions summary:hover { color: #fff; }
.instructions summary::-webkit-details-marker { display: none; }
.instructions summary::after { content: '+'; font-weight: 300; }
.instructions[open] summary::after { content: '-'; }

.instructions ul {
    padding: 1rem 0 0 1rem;
    margin: 0;
    font-size: 0.8rem;
    color: var(--secondary);
    line-height: 1.6;
}

.instructions code {
    background: rgba(255,255,255,0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-code);
    font-size: 0.9em;
    color: #fff;
}