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

body {
    font-family: system-ui, sans-serif;
    background: #0a0a0a;
    overflow: hidden;
}

#scene { position: fixed; inset: 0; }

/* Header */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    color: white;
}

.logo span { color: #ff385c; }

.slogan {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    margin-top: 5px;
}

/* Panels */
.panel {
    position: fixed;
    background: rgba(20,20,25,0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px;
    color: white;
    z-index: 10;
}

.panel h3 {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.earnings-panel {
    top: 120px;
    left: 20px;
    width: 200px;
}

.big-number {
    font-size: 36px;
    font-weight: 700;
    color: #00d26a;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-top: 10px;
    opacity: 0.7;
}

.controls-panel {
    bottom: 20px;
    right: 20px;
    width: 200px;
}

.toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    cursor: pointer;
}

.toggle input { accent-color: #ff385c; }

.btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #ff385c, #ff6b6b);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.btn:hover { opacity: 0.9; }
.btn.active { background: linear-gradient(135deg, #00d26a, #4ade80); }

/* Alert */
.alert {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #ff385c;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    z-index: 20;
    transition: transform 0.4s;
}

.alert.show { transform: translateX(-50%) translateY(0); }

/* Payment Popup */
.payment-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    color: #00d26a;
    font-size: 28px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    z-index: 15;
}

.payment-popup.show {
    animation: popUp 0.8s ease-out;
}

@keyframes popUp {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(0.5); }
    50% { opacity: 1; transform: translate(-50%, -80%) scale(1.2); }
    100% { opacity: 0; transform: translate(-50%, -120%) scale(1); }
}

/* Walker Panel */
.walker-panel {
    bottom: 20px;
    left: 20px;
    width: 240px;
}

.info-text {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 10px;
}

.price-display {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    margin-bottom: 10px;
}

.price-display strong { color: #ff385c; }

.btn-gold {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #000;
}

.btn-danger {
    background: rgba(255,56,92,0.2);
    border: 1px solid #ff385c;
    color: #ff385c;
}

.btn-premium {
    background: linear-gradient(135deg, #6b5ce7, #a855f7);
}

.premium-perks {
    margin-top: 10px;
    text-align: center;
    opacity: 0.6;
}

/* Min Price Setting */
.min-price-setting {
    margin-bottom: 15px;
    text-align: center;
}

.min-price-setting label {
    font-size: 12px;
    opacity: 0.7;
    display: block;
    margin-bottom: 8px;
}

.min-price-display {
    font-size: 28px;
    font-weight: 700;
    color: #ff385c;
    margin: 10px 0;
}

.min-price-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.price-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.price-btn:hover {
    background: #ff385c;
}

.price-note {
    display: block;
    margin-top: 8px;
    opacity: 0.5;
    font-size: 10px;
}

/* BAD UX - Annoying stuff */
.alert.show {
    transform: translateX(-50%) translateY(0);
    animation: shake 0.5s infinite, flash 0.3s infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(-50%) rotate(0); }
    25% { transform: translateX(-45%) rotate(-5deg); }
    75% { transform: translateX(-55%) rotate(5deg); }
}

@keyframes flash {
    0%, 100% { background: #ff385c; }
    50% { background: #ff0000; }
}

/* Premium Modal */
.premium-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.premium-modal.show {
    opacity: 1;
    visibility: visible;
}

.pm-content {
    background: #1a1a2e;
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}

.pm-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.pm-step { text-align: center; }
.pm-step.hidden { display: none; }
.pm-step h2 { color: white; margin-bottom: 15px; }
.pm-step p { color: rgba(255,255,255,0.7); margin-bottom: 15px; }

.pm-pages {
    color: #ff385c;
    font-weight: 600;
    margin-bottom: 10px;
}

.pm-text {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    height: 120px;
    overflow-y: auto;
    margin-bottom: 15px;
    text-align: left;
}

.pm-check {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    margin-bottom: 12px;
    cursor: pointer;
}

.pm-check input { accent-color: #ff385c; }

.pm-price {
    font-size: 48px;
    font-weight: 700;
    color: #ff385c;
    margin: 20px 0;
}

.pm-price small {
    font-size: 18px;
    opacity: 0.7;
}

.pm-input {
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: white;
    margin-bottom: 10px;
}

.pm-row {
    display: flex;
    gap: 10px;
}

.pm-row .pm-input { flex: 1; }

.pm-note {
    display: block;
    margin-top: 15px;
    color: rgba(255,255,255,0.4);
    font-size: 11px;
}

.pm-success .pm-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

/* Button transition */
.btn-gold {
    transition: transform 0.2s;
}

/* Queue Panel */
.queue-panel {
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    max-height: calc(100vh - 150px);
}

.walker-queue {
    max-height: calc(100vh - 220px);
    overflow-y: auto;
}

.empty-queue {
    text-align: center;
    opacity: 0.5;
    font-size: 13px;
}

.queue-subtitle {
    font-size: 11px;
    opacity: 0.5;
    margin-bottom: 10px;
    text-align: center;
}

.queue-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    margin-bottom: 8px;
    animation: slideIn 0.3s;
}

.queue-item.slow {
    border-left: 3px solid #ff385c;
}

.queue-item.premium {
    border-left: 3px solid #ffd700;
}

.queue-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #6b5ce7, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.queue-info {
    flex: 1;
}

.queue-name {
    font-size: 13px;
    font-weight: 600;
}

.queue-tag {
    font-size: 10px;
    opacity: 0.6;
}

.queue-actions {
    display: flex;
    gap: 5px;
}

.queue-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
}

.queue-btn.approve {
    background: #00d26a;
    color: white;
}

.queue-btn.reject {
    background: #ff385c;
    color: white;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.queue-btn.verify {
    background: #ffc107;
    color: #000;
}

.queue-item.fake-detected {
    background: rgba(255,56,92,0.2);
    border-left-color: #ff0000;
}

/* Fake Premium Popup */
.fake-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: #1a1a2e;
    border: 3px solid #ff385c;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    z-index: 200;
    opacity: 0;
    transition: all 0.3s;
}

.fake-popup.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.fake-icon {
    font-size: 50px;
    animation: shake 0.5s infinite;
}

.fake-title {
    color: #ff385c;
    font-size: 18px;
    font-weight: 700;
    margin: 15px 0 10px;
}

.fake-name {
    color: white;
    font-size: 14px;
    opacity: 0.8;
}

.fake-fine {
    color: #00d26a;
    font-size: 24px;
    font-weight: 700;
    margin: 15px 0;
}

/* Queue extras */
.queue-weight {
    font-size: 10px;
    opacity: 0.5;
    font-weight: 400;
}

.queue-excuse {
    font-size: 10px;
    color: #ffc107;
    font-style: italic;
    margin-top: 2px;
}

.queue-price {
    color: #ff385c;
    font-weight: 700;
    font-size: 14px;
    margin-right: 8px;
}

.queue-item.bargain {
    border-left: 3px solid #ffc107;
}

.queue-btn.bargain {
    background: #ffc107;
    color: #000;
}

/* Bargain Popup */
.bargain-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: #1a1a2e;
    border: 2px solid #ffc107;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    z-index: 200;
    opacity: 0;
    transition: all 0.3s;
    min-width: 300px;
}

.bargain-popup.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.bargain-icon { font-size: 40px; }
.bargain-title { color: #ffc107; font-size: 18px; font-weight: 700; margin: 10px 0; }
.bargain-name { color: white; font-size: 14px; }
.bargain-original { color: rgba(255,255,255,0.5); font-size: 12px; margin: 5px 0; }
.bargain-original s { color: #ff385c; }
.bargain-excuse { color: rgba(255,255,255,0.6); font-size: 12px; margin: 10px 0; font-style: italic; }
.bargain-offer { color: #ffc107; font-size: 14px; margin: 10px 0; padding: 10px; background: rgba(255,193,7,0.1); border-radius: 8px; }
.bargain-final { color: #00d26a; font-size: 20px; font-weight: 700; margin: 10px 0; }
.bargain-actions { display: flex; gap: 10px; margin-top: 15px; }
.bargain-actions .btn { flex: 1; }

/* Toast notification */
.toast-notif {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(50px);
    background: #1a1a2e;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s;
    z-index: 150;
    border: 1px solid rgba(255,255,255,0.1);
}

.toast-notif.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
