:root {
    --primary: #4a90e2;
    --primary-hover: #357abd;
    --glass: rgba(255, 255, 255, 0.85);
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --text-main: #333;
    --error: #e74c3c;
    --success: #2ecc71;
    --gold: #f1c40f;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg-gradient);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.container {
    width: 380px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.9);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    padding: 30px;
}

h2 { text-align: center; margin-bottom: 20px; color: #2c3e50; font-weight: 600; }

/* Tabs */
.tabs { display: flex; background: rgba(0,0,0,0.04); border-radius: 10px; padding: 4px; margin-bottom: 20px; }
.tab {
    flex: 1; text-align: center; padding: 10px; border-radius: 8px; cursor: pointer;
    color: #666; font-size: 14px; transition: all 0.3s;
}
.tab.active { background: #fff; color: var(--primary); font-weight: 600; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }

/* Inputs & Buttons */
.input-group { margin-bottom: 15px; }
input {
    width: 100%; padding: 12px 15px; border-radius: 10px; border: 2px solid transparent;
    background: #fff; font-size: 14px; transition: 0.3s;
}
input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1); }

.btn {
    width: 100%; padding: 12px; border-radius: 10px; border: none;
    background: var(--primary); color: white; font-weight: 600; cursor: pointer; transition: 0.2s;
}
.btn:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn:disabled { background: #ccc; cursor: not-allowed; }

/* Panels */
.panel { display: none; animation: fadeIn 0.4s ease; }
.panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Result Card */
.result-card {
    background: #fff; padding: 12px; border-radius: 8px; margin-top: 10px;
    border-left: 4px solid #ccc; font-size: 13px; position: relative;
}
.status-ok { border-color: var(--success); }
.status-ban { border-color: var(--error); }
.vip-border { border-left-color: var(--gold) !important; background: #fffdf5; }

.row-top { display: flex; justify-content: space-between; align-items: center; }
.tag { padding: 2px 6px; border-radius: 4px; font-size: 11px; color: white; }
.tag-ok { background: var(--success); }
.tag-ban { background: var(--error); }
.tag-vip { background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%); margin-left: 5px; }

.meta-info { margin-top: 5px; color: #999; font-size: 12px; }
.vip-time { color: #f39c12; font-weight: bold; }

/* Toast */
#toast {
    visibility: hidden; min-width: 200px; background-color: #333; color: #fff;
    text-align: center; border-radius: 50px; padding: 12px 20px; position: fixed;
    z-index: 999; left: 50%; bottom: 30px; transform: translateX(-50%); font-size: 14px;
}
#toast.show { visibility: visible; animation: fadein 0.5s, fadeout 0.5s 2.5s; }
@keyframes fadein { from {bottom: 0; opacity: 0;} to {bottom: 30px; opacity: 1;} }
@keyframes fadeout { from {bottom: 30px; opacity: 1;} to {bottom: 0; opacity: 0;} }
