body {
    font-family: 'Oxanium', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #d0d0d0;
    margin: 0;
    padding: 1rem;
    overflow-x: hidden;
    background: linear-gradient(-45deg, #121212, #1e2a2a, #003366, #121212);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}
@keyframes gradientBG { 50% { background-position: 100% 50%; } }

/* --- Main App Container --- */
.card-container {
    background: rgba(25, 25, 25, 0.9);
    width: 100%;
    max-width: 1200px; /* Lebar Ditingkatkan */
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}
.card-title { color: #00e5ff; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: 1.8rem; }
.header-controls { display: flex; align-items: center; gap: 1rem; }
#theme-toggle, #logout-btn {
    background: transparent; width: 44px; height: 44px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #00e5ff; font-size: 1.3rem; border: 1px solid #00e5ff;
    transition: all 0.3s ease; cursor: pointer;
}
#theme-toggle:hover, #logout-btn:hover { background: #00e5ff; color: #121212; transform: scale(1.1); }

/* --- Form Elements --- */
textarea {
    background: rgba(35, 35, 35, 0.8); border: 1px solid rgba(0, 229, 255, 0.2);
    color: #d0d0d0; border-radius: 8px; padding: 1.5rem; transition: all 0.3s ease;
    resize: vertical; margin-bottom: 1rem; width: 100%; box-sizing: border-box;
    min-height: 180px; font-size: 1.1rem;
}
textarea:focus { border-color: #00e5ff; box-shadow: 0 0 12px rgba(0, 229, 255, 0.3); outline: none; }
#validation-info { color: #00e5ff; font-size: 0.9rem; text-align: right; margin-bottom: 1.5rem; min-height: 1rem; }
.btn-group { display: flex; justify-content: center; gap: 2rem; margin-bottom: 2.5rem; }
.btn {
    background: #00e5ff; padding: 14px 0; width: 200px; border-radius: 8px;
    color: #121212; font-weight: 700; font-size: 1rem; text-transform: uppercase;
    transition: all 0.3s ease; border: none; text-align: center; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 229, 255, 0.5); }

/* --- Stats Grid --- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.5rem; margin-bottom: 2.5rem; }
.stat-box {
    background: rgba(35, 35, 35, 0.8); padding: 1.2rem; border-radius: 8px; text-align: center;
    transition: all 0.3s ease; cursor: pointer; border: 1px solid rgba(0, 229, 255, 0.2);
}
.stat-box:hover, .stat-box.active { background: #00e5ff; color: #121212; transform: translateY(-5px); }
.stat-box h3 { text-transform: uppercase; font-size: 0.8rem; opacity: 0.8; margin: 0; }
.stat-box p { font-size: 1.5rem; font-weight: 700; margin: 0.25rem 0 0 0; }
.stat-box i { font-size: 1.5rem; margin-bottom: 0.75rem; }

/* --- Results Table --- */
table { width: 100%; border-collapse: separate; border-spacing: 0 10px; }
th {
    background: rgba(35, 35, 35, 0.8); color: #d0d0d0; padding: 14px 18px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.8px; text-align: left; font-size: 0.9rem;
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}
th:first-child { border-radius: 4px 0 0 4px; }
th:last-child { border-radius: 0 4px 4px 0; }
tr.result-row { background: rgba(35, 35, 35, 0.8); border-radius: 4px; }
td { padding: 14px 18px; vertical-align: top; line-height: 1.5; }
.entry-block { position: relative; padding-right: 30px; min-height: 3em; display: flex; align-items: center; }
.entry-block span { word-break: break-all; }
.entry-block-placeholder { height: 1.5em; }
.redirect-text { font-style: italic; font-size: 0.9em; color: #888; padding-left: 10px; height: 1.5em; }
.domain-cell { color: #00e5ff; }
.copy-icon { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); cursor: pointer; opacity: 0.6; transition: all 0.2s ease; }
.entry-block:hover .copy-icon { opacity: 1; transform: translateY(-50%) scale(1.1); }
.status-indicator { padding: 6px 12px; border-radius: 4px; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border: 1px solid transparent; }
.evidence-text { font-size: 0.85em; opacity: 0.7; }

/* --- Modals --- */
#copy-modal {
    position: fixed; bottom: 20px; right: 20px; background: rgba(0, 229, 255, 0.9);
    color: #121212; padding: 10px 20px; border-radius: 6px; opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease; transform: translateY(20px); z-index: 2000;
}
#copy-modal.show { opacity: 1; transform: translateY(0); }
#progress-modal {
    background: rgba(0, 0, 0, 0.85); position: fixed; inset: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; z-index: 1000; transition: opacity 0.3s ease;
}
#progress-modal.show { opacity: 1; pointer-events: auto; }
.progress-content {
    background: rgba(35, 35, 35, 0.9); border-radius: 8px;
    padding: 2rem 2.5rem; text-align: center; width: 90%; max-width: 500px;
}
#progress-text { font-size: 1.2rem; margin-bottom: 1.5rem; }
.progress-bar-container { background: rgba(10, 10, 10, 0.5); border-radius: 30px; padding: 4px; }
#progress-bar { height: 16px; width: 0%; border-radius: 30px; background: linear-gradient(90deg, #00e5ff, #33eeff); transition: width 0.4s ease-out; }
#progress-percentage { margin-top: 1rem; font-size: 1rem; color: #00e5ff; }

/* --- LOGIN PAGE STYLES --- */
.login-container { max-width: 450px; padding: 2rem; }
.login-header {
    display: flex; justify-content: center; align-items: center; text-align: center;
    border-bottom: 1px solid rgba(0, 229, 255, 0.2); padding-bottom: 1.5rem; margin-bottom: 2.5rem;
}
.login-header .card-title { font-size: 1.5rem; display: flex; align-items: center; gap: 0.75rem; }
.login-form .form-group { margin-bottom: 1.5rem; }
.login-form .form-group:last-child { margin-bottom: 0; }
.login-form input[type="password"] {
    background: rgba(35, 35, 35, 0.8); border: 1px solid rgba(0, 229, 255, 0.2);
    color: #d0d0d0; border-radius: 8px; padding: 1rem; width: 100%; box-sizing: border-box;
    text-align: center; font-size: 1.2rem;
}
.login-form input[type="password"]:focus { border-color: #00e5ff; box-shadow: 0 0 12px rgba(0, 229, 255, 0.3); outline: none; }
.error-message { color: #e63946; text-align: center; margin-top: -1rem; margin-bottom: 1.5rem; font-size: 0.9rem; }
.login-btn { width: 100%; padding: 1rem 0; font-size: 1.1rem; }

/* --- LIGHT THEME --- */
.light-theme body { color: #212121; }
.light-theme .card-container { background: #fff; border-color: #ddd; }
.light-theme .card-header, .light-theme .login-header { border-bottom-color: #ddd; }
.light-theme .card-title, .light-theme #validation-info, .light-theme .domain-cell, .light-theme #theme-toggle, .light-theme #logout-btn, .light-theme .copy-icon { color: #212121; }
.light-theme #theme-toggle, .light-theme #logout-btn { border-color: #212121; }
.light-theme textarea { background: #f5f5f5; border-color: #ccc; color: #212121; }
.light-theme .btn { background: #212121; color: #f5f5f5; }
.light-theme .stat-box { background: #f5f5f5; border-color: #ccc; }
.light-theme .stat-box:hover, .light-theme .stat-box.active { background: #212121; color: #f5f5f5; }
.light-theme th { background: #f0f0f0; color: #333; border-color: #ddd; }
.light-theme tr.result-row { background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,0.08); }
.light-theme .redirect-text { color: #555; }
.light-theme .login-form input[type="password"] { background: #f5f5f5; border-color: #ccc; color: #212121; }