:root {
    --bg-dark: #0a0a0a;
    --accent: #00f2ff;
    --text: #eee;
    --text-muted: #666;
}

body {
    width: 320px;
    background: var(--bg-dark);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    overflow: hidden;
}

.popup-container {
    padding: 1.5rem;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.logo {
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--text-muted);
}

.logo-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

.status-indicator {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: rgba(0, 242, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.stats-panel {
    text-align: center;
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-main {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.control-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.control-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
}

.control-desc {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Switch UI */
.switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent);
}

input:checked + .slider:before {
    transform: translateX(16px);
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.settings-btn {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #eee;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.2s;
}

.settings-btn:hover {
    background: #222;
    border-color: #444;
}

.credits {
    font-size: 0.6rem;
    color: var(--text-muted);
}
