/* VS Modal */
.modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.8); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.modal-content { background: #1a1a2e; border-radius: 16px; padding: 24px; width: 90%; max-width: 400px; max-height: 90vh; overflow-y: auto; border: 1px solid #ff4444; }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.modal-header h3 { color: #ff4444; font-size: 18px; }
.modal-close { background: none; border: none; color: #888; font-size: 20px; cursor: pointer; }
.modal-close:hover { color: #ff4444; }

/* VS Amount Display */
.vs-amount-display { text-align: center; margin-bottom: 16px; }
.vs-amount-display span { font-size: 32px; font-weight: 700; color: #ff4444; }

/* VS Name Input */
.vs-name-input { margin-bottom: 16px; }
.vs-name-input input { width: 100%; background: #0d0d1a; border: 1px solid #2a2a3e; border-radius: 8px; padding: 12px; color: #fff; font-size: 14px; }
.vs-name-input input:focus { outline: none; border-color: #ff4444; }
.vs-name-input input::placeholder { color: #555; }

/* VS Characters */
.vs-characters-title { font-size: 14px; color: #888; margin-bottom: 8px; }
.vs-characters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.vs-character { padding: 8px; border-radius: 12px; border: 2px solid #2a2a3e; text-align: center; cursor: pointer; transition: all 0.2s; }
.vs-character:hover { border-color: #ff4444; }
.vs-character.selected { border-color: #ff4444; background: rgba(255,68,68,0.1); }
.vs-character svg { width: 40px; height: 40px; }
.vs-character-name { font-size: 10px; color: #888; margin-top: 4px; }

/* VS Hidden Toggle */
.vs-hidden-toggle { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.toggle-switch { width: 40px; height: 20px; background: #2a2a3e; border-radius: 10px; cursor: pointer; position: relative; transition: 0.2s; }
.toggle-switch.active { background: #ff4444; }
.toggle-switch::after { content: ''; position: absolute; width: 16px; height: 16px; background: #fff; border-radius: 50%; top: 2px; left: 2px; transition: 0.2s; }
.toggle-switch.active::after { left: 22px; }
.toggle-label { font-size: 12px; color: #888; }

/* VS Modal Buttons */
.vs-modal-buttons { display: flex; gap: 8px; }
.vs-modal-buttons .btn { flex: 1; }

/* VS Slot Card */
.vs-slot-card { background: linear-gradient(135deg, #1a1a2e, #2a1a2e); border-radius: 16px; padding: 20px; margin-top: 16px; border: 1px solid #ff4444; }
.vs-slot-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.vs-slot-title { font-size: 14px; color: #888; }
.vs-slot-amount { font-size: 24px; font-weight: 700; color: #ff4444; }
.vs-slot-status { padding: 4px 12px; border-radius: 20px; font-size: 12px; background: rgba(255,170,0,0.2); color: #ffaa00; }
.vs-slot-status.active { background: rgba(0,255,136,0.2); color: #00ff88; }

/* VS Players */
.vs-players { margin-bottom: 16px; }
.vs-player { display: flex; align-items: center; gap: 12px; padding: 12px; background: #0d0d1a; border-radius: 8px; margin-bottom: 8px; }
.vs-player-avatar { width: 48px; height: 48px; border-radius: 50%; background: #2a2a3e; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.vs-player-avatar svg { width: 100%; height: 100%; }
.vs-player-avatar span { color: #666; font-size: 20px; }
.vs-player-info { flex: 1; }
.vs-player-label { font-size: 12px; color: #888; }
.vs-player-name { font-size: 14px; font-weight: 600; color: #fff; }
.vs-player-addr { font-family: monospace; font-size: 11px; color: #666; }
.vs-player-amount { color: #ff4444; font-weight: 600; }
.vs-vs-icon { text-align: center; font-size: 24px; margin: 8px 0; }

/* VS Share */
.vs-share-section { margin-bottom: 16px; }
.vs-share-title { font-size: 14px; color: #888; margin-bottom: 8px; }
.vs-share-link { display: flex; gap: 8px; }
.vs-share-input { flex: 1; background: #0d0d1a; border: 1px solid #2a2a3e; border-radius: 8px; padding: 12px; color: #fff; font-family: monospace; font-size: 11px; }
.vs-share-input:focus { outline: none; border-color: #ff4444; }
.vs-share-buttons { display: flex; gap: 8px; margin-top: 8px; }
.vs-share-buttons .btn { flex: 1; }

/* VS Actions */
.vs-actions { margin-top: 16px; }
.vs-actions .btn { width: 100%; margin-top: 8px; }

/* VS Status */
.vs-status-msg { text-align: center; padding: 12px; border-radius: 8px; margin-top: 12px; font-size: 14px; }
.vs-status-msg.success { background: rgba(0,255,136,0.1); color: #00ff88; border: 1px solid #00ff88; }
.vs-status-msg.error { background: rgba(255,0,0,0.1); color: #ff4444; border: 1px solid #ff4444; }
.vs-status-msg.info { background: rgba(0,136,255,0.1); color: #0088ff; border: 1px solid #0088ff; }

/* VS Winner */
.vs-winner-card { background: linear-gradient(135deg, #1a1a2e, #2a2a1e); border-radius: 16px; padding: 24px; margin-top: 16px; border: 1px solid #ffaa00; text-align: center; }
.vs-winner-title { color: #ffaa00; font-size: 18px; margin-bottom: 16px; }
.vs-winner-avatar { width: 80px; height: 80px; margin: 0 auto 12px; }
.vs-winner-avatar svg { width: 100%; height: 100%; }
.vs-winner-name { font-size: 20px; font-weight: 700; color: #ffaa00; }
.vs-winner-addr { font-family: monospace; font-size: 12px; color: #888; margin-top: 4px; }
.vs-winner-prize { font-size: 28px; font-weight: 700; margin-top: 12px; color: #00ff88; }

/* Buttons */
.btn { padding: 12px 24px; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.btn-primary { background: linear-gradient(135deg, #ff4444, #ff8800); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255,68,68,0.3); }
.btn-primary:disabled { background: #333; color: #666; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-secondary { background: #2a2a3e; color: #fff; }
.btn-secondary:hover { background: #3a3a4e; }
.btn-danger { background: linear-gradient(135deg, #ff0000, #cc0000); color: #fff; }
.btn-danger:hover { transform: translateY(-2px); }
.btn-share { background: #2a2a3e; color: #fff; padding: 12px; }
.btn-telegram { background: linear-gradient(135deg, #0088ff, #00ccff); color: #fff; }
.btn-whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); color: #fff; }
.hidden { display: none; }
