:root { --primary: #1e90ff; --success: #28a745; --danger: #dc3545; --warning: #ffc107; --text: #f1f1f1; --bg: #121212; --card-bg: #1e1e1e; --muted: #cccccc; --font: 'Segoe UI', sans-serif; } * { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font); } body { background: var(--bg); color: var(--text); line-height: 1.6; padding: 1rem; } .container { max-width: 1000px; margin: auto; padding: 1rem; } .comic-banner { text-align: center; margin-bottom: 1.5rem; } .comic-banner img { max-width: 100%; height: auto; border-radius: 8px; margin-bottom: 1rem; } #api-name { font-size: 1.5rem; font-weight: bold; } .api-status { display: inline-block; padding: 0.3rem 0.7rem; font-size: 0.8rem; border-radius: 4px; margin-top: 0.5rem; } .status-ready { background: var(--success); color: white; } .status-offline { background: var(--danger); color: white; } .status-maintenance { background: var(--warning); color: black; } .search-container { margin: 1.2rem 0; } .search-input { width: 100%; padding: 0.7rem; border-radius: 6px; border: none; background: #2a2a2a; color: white; } .category { margin-bottom: 2rem; } .category h2 { font-size: 1.2rem; margin-bottom: 1rem; text-align: center; color: var(--primary); } .api-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; } .api-card { background: var(--card-bg); padding: 1rem; border-radius: 6px; border: 1px solid #333; } .api-name { font-size: 1rem; font-weight: bold; color: var(--primary); } .api-desc { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.8rem; } .api-path-container { background: #2a2a2a; padding: 0.5rem; border-radius: 4px; font-size: 0.85rem; overflow-x: auto; margin-bottom: 0.5rem; } .copy-path-btn { background: var(--primary); color: white; border: none; border-radius: 4px; padding: 0.3rem 0.6rem; cursor: pointer; float: right; } .param-title { margin-top: 0.8rem; font-weight: bold; color: #ffa07a; } .param-item { font-size: 0.9rem; margin: 0.3rem 0; } .param-name { color: #ffa07a; font-weight: bold; } .try-btn { margin-top: 1rem; padding: 0.6rem; width: 100%; background: var(--success); border: none; color: white; border-radius: 4px; font-weight: bold; text-transform: uppercase; font-size: 0.9rem; cursor: pointer; } .try-btn.disabled { background: var(--danger); cursor: not-allowed; } .input-group { margin-bottom: 1rem; } .input-group label { display: block; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--text); } .input-group input { width: 100%; padding: 0.6rem 0.8rem; border: 1px solid #444; border-radius: 6px; background-color: #1e1e1e; color: var(--text); font-size: 0.95rem; } .input-group input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 2px rgba(30, 144, 255, 0.2); } .try-container { margin-top: 1rem; padding: 1rem; background-color: #1a1a1a; border-radius: 8px; border: 1px solid #333; } footer { text-align: center; font-size: 0.9rem; color: var(--muted); margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #333; } @media (max-width: 600px) { .api-name { font-size: 1rem; } .api-desc { font-size: 0.85rem; } .param-item { font-size: 0.85rem; } } footer { font-size: 25%; background-color: #131324; color: #f4f4f4; padding: 2px; text-align: center; margin-top: 10px; } .content-footer h3{ font-size: 2rem; margin-bottom: 10px; margin-top: 5px; color: #ffc300; } .contact-text { max-width: 650px; font-size: 2.5em; margin: 10 auto 25px auto; opacity: 0.9; } .social-link { margin-bottom: 20px; } .social-link a{ display: inline-block; width: 50px; height: 10px; line-height: 50px; margin: 0 1px; font-size: 5.7em; border-radius: 50%; color: #f4f4f4; transition: color 0.3s ease, transform 0.3s ease; } .social-links a:hover { color: #ffc300; transform: scale(1.1); } .email-link { font-size: 2.5em; margin-bottom: 10px; } .email-link a{ color: #ffc300; } .copyright { font-size: 4em; color: #aaa; margin-top: 20px; padding-top: 12px; border-top: 1px solid #3a3a4e; } .execute-btn { background: #4CAF50; color: #fff; border: var(--border); padding: 8px; width: 100%; cursor: pointer; box-shadow: var(--shadow); text-transform: uppercase; } result-content { font-family: 'Courier New', monospace; white-space: pre-wrap; font-size: 0.85rem; } .popup { position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: none; /* default: sembunyikan */ justify-content: center; align-items: center; background: rgba(0, 0, 0, 0.7); z-index: 9999; } .popup-content { background: var(--card-bg); color: var(--text); padding: 1.5rem; border-radius: 8px; max-width: 90%; max-height: 80%; overflow-y: auto; box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); } .popup-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; } .close-popup { background: transparent; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; } .copy-btn { margin-top: 1rem; padding: 0.5rem 1rem; background: var(--primary); color: white; border: none; border-radius: 4px; cursor: pointer; }