/* --- VARIABLES & PALETTE --- */
:root {
    --bg-color: #e0e0e0;
    --main-black: #0a0a0a;
    --card-bg: #ffffff;
    
    /* PALET WARNA BARU (NO MORE PINK) */
    --accent-primary: #6a0dad;  /* Deep Electric Violet */
    --accent-secondary: #ccff00; /* Toxic Lime */
    --accent-tertiary: #ff5f00;  /* Industrial Orange */
    
    --border-width: 3px;
    --font-head: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-head);
    background-color: var(--bg-color);
    color: var(--main-black);
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 100px;
    background-image: 
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* --- DECORATION & NOISE --- */
.bg-noise {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.04;
    pointer-events: none;
    z-index: -1;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjZmZmIi8+CjxyZWN0IHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9IiMwMDAiLz4KPC9zdmc+');
}

.floating-shape {
    position: fixed;
    z-index: -2;
    border: 2px solid var(--main-black);
    background: var(--accent-secondary);
    opacity: 0.6;
}
.shape-1 { width: 100px; height: 100px; top: 10%; left: -20px; border-radius: 50%; }
.shape-2 { width: 150px; height: 150px; bottom: 20%; right: -40px; transform: rotate(45deg); background: var(--accent-primary); }

/* --- MARQUEE --- */
.marquee-top {
    background: var(--main-black);
    color: var(--card-bg);
    padding: 10px 0;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: bold;
    border-bottom: var(--border-width) solid var(--accent-secondary);
    overflow: hidden;
    white-space: nowrap;
}
.marquee-content { display: inline-block; animation: scrollLeft 15s linear infinite; }
@keyframes scrollLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- NAVBAR --- */
/* --- UPDATE BRAND LOGO (SIDEBAR TEXT) --- */
.brand-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--main-black);
    padding: 8px 15px;
    transform: skewX(-10deg); /* Miring biar futuristik */
    border: 2px solid var(--accent-secondary);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.2);
}

.brand-icon {
    color: var(--accent-secondary);
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: -2px;
    transform: skewX(10deg); /* Balikin miringnya teks */
}

.brand-text {
    color: #fff;
    font-weight: 900;
    font-size: 1.2rem;
    font-family: var(--font-head);
    transform: skewX(10deg);
}

.version-tag {
    background: var(--accent-primary);
    padding: 2px 5px;
    font-size: 0.6rem;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 5px;
    border: 1px solid #fff;
}

/* --- UPDATE HALAMAN DOKUMENTASI --- */
.docs-container {
    max-width: 700px; /* Lebih lebar sedikit dari home */
}

.cyber-header {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 4px solid var(--main-black);
    padding-bottom: 20px;
    position: relative;
}

.cyber-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--main-black);
    text-shadow: 3px 3px 0 var(--accent-secondary);
    margin-bottom: 5px;
}

.cyber-header p {
    font-family: var(--font-mono);
    font-weight: bold;
    color: var(--accent-primary);
    letter-spacing: 1px;
}

/* Timeline Steps */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    display: flex;
    gap: 15px;
    border-left: 4px solid var(--main-black);
    padding-left: 15px;
    position: relative;
}

.step-number {
    font-size: 2rem;
    font-weight: 900;
    color: rgba(0,0,0,0.1);
    font-family: var(--font-head);
    min-width: 50px;
}

.step-content h3 {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 5px;
    background: var(--accent-secondary);
    display: inline-block;
    padding: 2px 5px;
    border: 1px solid var(--main-black);
}

.step-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    font-family: var(--font-mono);
}

/* Platform Grid */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.p-item {
    background: #000;
    color: #fff;
    padding: 10px;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
    border: 1px solid var(--accent-secondary);
    font-family: var(--font-mono);
}
.p-item:hover {
    background: var(--accent-secondary);
    color: #000;
}

/* FAQ Styling */
.faq-box {
    border: 2px solid var(--main-black);
    margin-bottom: 10px;
    background: #fff;
}

.faq-box summary {
    padding: 15px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
    background: #f0f0f0;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.faq-box summary::after {
    content: "+"; 
    float: right; 
    font-weight: 900;
}

.faq-box[open] summary {
    background: var(--accent-tertiary);
    color: #fff;
}

.faq-box p {
    padding: 15px;
    border-top: 2px solid var(--main-black);
    font-size: 0.9rem;
}

/* Dev Zone Footer Docs */
.dev-zone {
    text-align: center;
    background: var(--main-black);
    color: #fff;
    padding: 30px;
    border: 3px solid var(--accent-secondary);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.dev-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-secondary);
    margin-bottom: 10px;
}

.shape-doc-1 {
    width: 200px;
    height: 200px;
    background: var(--accent-primary);
    border-radius: 0;
    transform: rotate(15deg);
    top: -50px;
    right: -50px;
    opacity: 0.2;
}

.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(5px);
    border-bottom: var(--border-width) solid var(--main-black);
    position: sticky; top: 0; z-index: 100;
}

.brand-glitch {
    font-weight: 900; font-size: 1.5rem; letter-spacing: -1px;
    position: relative;
    color: var(--main-black);
}
.brand-glitch::before {
    content: attr(data-text); position: absolute; left: 2px; text-shadow: -1px 0 var(--accent-primary);
    top: 0; color: var(--main-black); background: var(--bg-color); overflow: hidden; clip: rect(0, 900px, 0, 0); animation: glitch 2s infinite linear alternate-reverse;
}

.status-badge {
    display: flex; align-items: center; gap: 5px;
    font-family: var(--font-mono); font-size: 0.7rem; font-weight: bold;
    border: 1px solid var(--main-black); padding: 4px 8px; border-radius: 20px; background: #fff;
}
.dot { width: 8px; height: 8px; background: #00ff00; border-radius: 50%; box-shadow: 0 0 5px #00ff00; }

.nav-btn {
    text-decoration: none; color: var(--main-black); font-weight: 800;
    background: var(--accent-secondary); border: 2px solid var(--main-black);
    padding: 8px 15px; box-shadow: 3px 3px 0 var(--main-black);
    font-size: 0.9rem;
}

/* --- CONTAINER & CARD --- */
.container { max-width: 550px; margin: 30px auto; padding: 0 20px; display: flex; flex-direction: column; gap: 30px; }

.cyber-card {
    background: var(--card-bg);
    border: var(--border-width) solid var(--main-black);
    box-shadow: 8px 8px 0 var(--main-black); /* Shadow lebih tebal */
    position: relative;
    overflow: hidden;
}

/* Dekorasi Sekrup */
.screw { position: absolute; font-family: monospace; font-weight: bold; font-size: 1.2rem; pointer-events: none; }
.top-left { top: 5px; left: 10px; } .top-right { top: 5px; right: 10px; }
.bottom-left { bottom: 5px; left: 10px; } .bottom-right { bottom: 5px; right: 10px; }

/* HEADER VISUAL BARU */
.card-header-visual {
    background: var(--accent-primary);
    padding: 30px 20px 20px 20px;
    border-bottom: var(--border-width) solid var(--main-black);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-section { display: flex; align-items: center; gap: 15px; }

/* AVATAR STYLING */
.avatar-img {
    width: 60px; height: 60px;
    border: 3px solid var(--main-black);
    background: #fff;
    border-radius: 12px; /* Kotak rounded */
    box-shadow: 4px 4px 0 var(--accent-secondary);
}

.profile-info { display: flex; flex-direction: column; }
.user-role { font-family: var(--font-mono); font-size: 0.7rem; color: var(--accent-secondary); font-weight: bold; letter-spacing: 1px; }
.user-action { font-weight: 900; color: #fff; font-size: 1.1rem; text-transform: uppercase; line-height: 1.1; }

.decor-lines { font-family: var(--font-mono); color: rgba(255,255,255,0.3); font-weight: 900; font-size: 1.5rem; letter-spacing: -2px; }

/* --- INPUT SECTION --- */
.card-body { padding: 25px; }
.input-wrapper { position: relative; margin-bottom: 20px; }
.input-label { font-family: var(--font-mono); font-weight: bold; font-size: 0.8rem; margin-bottom: 8px; display: block; }

.cyber-input {
    width: 100%; padding: 18px;
    border: 3px solid var(--main-black);
    background: #f4f4f4;
    font-family: var(--font-mono); font-size: 1rem; font-weight: bold;
    outline: none; transition: 0.2s;
}
.cyber-input:focus { background: #fff; border-color: var(--accent-tertiary); }

.platform-tags { display: flex; gap: 10px; margin-bottom: 25px; flex-wrap: wrap; }
.platform-tags span {
    font-size: 0.75rem; font-weight: bold; background: #eee;
    padding: 4px 8px; border: 1px solid var(--main-black);
    font-family: var(--font-mono);
}

/* --- BUTTON UTAMA --- */
.cyber-button {
    width: 100%; padding: 18px;
    border: 3px solid var(--main-black);
    background: var(--accent-secondary); /* WARNA LIME */
    color: var(--main-black);
    font-family: var(--font-head); font-weight: 900; font-size: 1.2rem;
    text-transform: uppercase; cursor: pointer;
    position: relative; overflow: hidden;
    box-shadow: 5px 5px 0 var(--main-black);
    transition: all 0.1s;
}
.cyber-button:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--main-black); }
.cyber-button:hover { background: #bfff00; }

/* --- RESULT CARD STYLING --- */
.result-card {
    background: #fff; border: 3px solid var(--main-black);
    margin-bottom: 20px; padding: 0; box-shadow: 8px 8px 0 rgba(0,0,0,0.2);
}
.result-header {
    background: var(--main-black); color: #fff;
    padding: 10px 15px; display: flex; justify-content: space-between; align-items: center;
}
.result-badge { background: var(--accent-tertiary); color: #000; font-weight: bold; padding: 2px 6px; font-size: 0.7rem; border: 1px solid #fff; }
.result-body { padding: 15px; }

/* MEDIA CONTENT */
video, img, audio { width: 100%; border: 2px solid var(--main-black); display: block; margin-bottom: 15px; }

/* --- FOOTER SANN404 --- */
.sann-footer {
    text-align: center; margin-top: 40px; padding-bottom: 20px;
    font-family: var(--font-mono);
}
.footer-line { width: 50px; height: 4px; background: var(--main-black); margin: 0 auto 15px auto; }
.sann-highlight { background: var(--main-black); color: #fff; padding: 2px 6px; font-weight: bold; }

/* --- UTILITIES --- */
.hidden { display: none !important; }

/* LOADING ANIMATION */
.scanner { width: 100%; height: 4px; background: var(--accent-primary); animation: scan 2s infinite ease-in-out; margin-bottom: 15px; }
@keyframes scan { 0% { width: 0; } 50% { width: 100%; } 100% { width: 0; margin-left: auto; } }
.blink-text { font-family: var(--font-mono); font-weight: bold; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0.5; } }

/* ERROR CARD */
.error-state { border-color: red; box-shadow: 8px 8px 0 red; }
.error-header { background: red; color: white; padding: 10px; font-weight: bold; }
.error-body { padding: 20px; color: red; font-family: var(--font-mono); font-weight: bold; }

@keyframes glitch { 0% { clip: rect(20px, 9999px, 10px, 0); } 100% { clip: rect(50px, 9999px, 80px, 0); } }
