/* ===================================
   RULETA DIPEZ — STYLESHEET
   =================================== */

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

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f5;
  --bg-card: #1a1a35;
  --bg-input: #0f0f22;
  --accent: #7c5cfc;
  --accent-glow: rgba(124, 92, 252, 0.4);
  --accent-2: #fc5c9c;
  --accent-3: #5cf4fc;
  --text-primary: #f0f0ff;
  --text-secondary: #9090c0;
  --text-muted: #5a5a8a;
  --border: rgba(124, 92, 252, 0.2);
  --border-hover: rgba(124, 92, 252, 0.5);
  --success: #5cf4a0;
  --warning: #fcdb5c;
  --danger: #fc5c5c;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 60px rgba(124, 92, 252, 0.3);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Outfit', sans-serif;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: #00ff00;
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== SIN PARTÍCULAS — FONDO BLANCO PARA CHROMA ===== */



/* ===== BOTONES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: none;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #5a3fc0);
  color: white;
  box-shadow: 0 4px 20px rgba(124, 92, 252, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(124, 92, 252, 0.6);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: rgba(124, 92, 252, 0.1);
  color: var(--accent);
  border-color: var(--border-hover);
}

.btn-lg {
  padding: 14px 36px;
  font-size: 1.05rem;
}

.btn-danger {
  background: rgba(252, 92, 92, 0.12);
  color: var(--danger);
  border: 1px solid rgba(252, 92, 92, 0.25);
}

.btn-danger:hover {
  background: rgba(252, 92, 92, 0.22);
}

/* ===== MAIN CONTENT ===== */
.main-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 32px;
  background: #00ff00;
}

/* ===== CONTENEDOR RULETA ===== */
.wheel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel-glow {
  display: none;
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.7; }
}

.wheel-pointer {
  position: absolute;
  top: 50%;
  right: -18px;
  transform: translateY(-50%);
  z-index: 20;
  filter: drop-shadow(0 0 8px rgba(252, 219, 92, 0.8));
}

.pointer-arrow {
  width: 0;
  height: 0;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-right: 44px solid #ff2020;
  filter: drop-shadow(0 0 6px rgba(255, 32, 32, 0.9));
  animation: pointerPulse 1.5s ease-in-out infinite;
}

@keyframes pointerPulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(255, 32, 32, 0.6)); }
  50% { filter: drop-shadow(0 0 14px rgba(255, 32, 32, 1)); }
}

.wheel-wrapper {
  position: relative;
  width: 540px;
  height: 540px;
}

#wheelCanvas {
  border-radius: 50%;
}

#wheelCanvas.spinning {
}

.wheel-center-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1a35, #0d0d1a);
  border: 4px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 0 2px rgba(124,92,252,0.3),
              inset 0 2px 4px rgba(255,255,255,0.05),
              0 8px 24px rgba(0,0,0,0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}

.wheel-center-btn:hover {
  transform: translate(-50%, -50%) scale(1.07);
  box-shadow: 0 0 0 2px rgba(124,92,252,0.6),
              inset 0 2px 4px rgba(255,255,255,0.08),
              0 12px 32px rgba(0,0,0,0.6),
              0 0 30px rgba(124,92,252,0.3);
}

.wheel-center-btn:active {
  transform: translate(-50%, -50%) scale(0.95);
}

.spin-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.spin-text {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255,255,255,0.4);
}

/* ===== PANEL DE RESULTADO ===== */
.result-panel {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  border: 2px solid rgba(124,92,252,0.25);
  border-radius: var(--radius-lg);
  padding: 18px 32px;
  min-width: 340px;
  opacity: 0.4;
  transition: all 0.5s ease;
  box-shadow: 0 4px 24px rgba(124,92,252,0.1);
}

.result-panel.active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(124,92,252,0.25);
}

.result-icon {
  font-size: 2.2rem;
  animation: none;
}

.result-icon.bounce {
  animation: bounceIcon 0.5s ease;
}

@keyframes bounceIcon {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.result-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9090c0;
}

.result-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a35;
}

/* ===== FAB BUTTON (EDITAR) ===== */
.fab-edit {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #5a3fc0);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(124, 92, 252, 0.5),
              0 0 0 0 rgba(124, 92, 252, 0.4);
  transition: var(--transition);
  z-index: 50;
  animation: fabPulse 3s ease-in-out infinite;
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(124, 92, 252, 0.5), 0 0 0 0 rgba(124, 92, 252, 0.4); }
  50% { box-shadow: 0 8px 40px rgba(124, 92, 252, 0.7), 0 0 0 10px rgba(124, 92, 252, 0); }
}

.fab-edit:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 40px rgba(124, 92, 252, 0.7);
  animation: none;
}

.fab-edit:active {
  transform: scale(0.95);
}

/* ===== MODAL OVERLAY ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  width: 460px;
  max-width: 100%;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
}

.modal-overlay.open .modal {
  transform: translateX(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(252,92,92,0.15);
  color: var(--danger);
  border-color: rgba(252,92,92,0.3);
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.modal-body::-webkit-scrollbar {
  width: 5px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
}

/* ===== SECCIONES DEL FORMULARIO ===== */
.form-section {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.section-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 7px;
  letter-spacing: 0.03em;
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 92, 252, 0.15);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* ===== SUBIDA DE IMAGEN ===== */
.image-upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-upload-area:hover {
  border-color: var(--accent);
  background: rgba(124, 92, 252, 0.05);
}

.image-upload-area.drag-over {
  border-color: var(--accent);
  background: rgba(124, 92, 252, 0.1);
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px;
  color: var(--text-muted);
  text-align: center;
  pointer-events: none;
}

.upload-placeholder span {
  font-size: 0.85rem;
}

.upload-hint {
  font-size: 0.72rem !important;
  color: var(--text-muted);
  opacity: 0.7;
}

.image-preview-container {
  position: relative;
  width: 100%;
  height: 120px;
}

.image-preview-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.remove-image-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  cursor: pointer;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.remove-image-btn:hover {
  background: var(--danger);
}

/* ===== SELECTOR DE COLOR ===== */
.color-picker-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-input {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  cursor: pointer;
  padding: 2px;
  background: var(--bg-input);
  flex-shrink: 0;
}

.color-input:hover {
  border-color: var(--accent);
}

.color-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.color-preset {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  flex-shrink: 0;
}

.color-preset:hover {
  transform: scale(1.15);
  border-color: rgba(255,255,255,0.4);
}

.color-preset.selected {
  border-color: white;
  box-shadow: 0 0 0 2px var(--accent);
}

/* ===== RADIO / CHECKBOX PERSONALIZADO ===== */
.radio-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.radio-option:hover {
  background: rgba(124,92,252,0.06);
  border-color: var(--border-hover);
}

.radio-option input[type="checkbox"] {
  display: none;
}

.radio-custom {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--border);
  background: var(--bg-input);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--transition);
}

.radio-option input:checked + .radio-custom {
  background: var(--accent);
  border-color: var(--accent);
}

.radio-option input:checked + .radio-custom::after {
  content: '✓';
  color: white;
  font-size: 0.7rem;
  font-weight: 900;
}

.radio-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.radio-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.radio-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== BOTONES DE ACCIÓN DEL FORM ===== */
.form-actions-add {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  justify-content: flex-end;
}

/* ===== LISTA DE PREMIOS ===== */
.prizes-section .section-title {
  margin-bottom: 0;
}

.prizes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.prizes-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.prizes-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 320px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.prizes-list::-webkit-scrollbar {
  width: 4px;
}

.prizes-list::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
}

.empty-prizes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 16px;
  color: var(--text-muted);
  text-align: center;
}

.empty-prizes p {
  font-size: 0.85rem;
}

/* ===== ITEM DE PREMIO ===== */
.prize-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  animation: slideIn 0.25s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.prize-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--border-hover);
}

.prize-item.forced {
  border-color: rgba(252, 219, 92, 0.5);
  background: rgba(252, 219, 92, 0.05);
}

.prize-color-dot {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

.prize-thumb {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.prize-info {
  flex: 1;
  min-width: 0;
}

.prize-item-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prize-badges {
  display: flex;
  gap: 4px;
  margin-top: 3px;
}

.badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 20px;
}

.badge-forced {
  background: rgba(252, 219, 92, 0.15);
  color: var(--warning);
  border: 1px solid rgba(252, 219, 92, 0.3);
}

.badge-image {
  background: rgba(92, 244, 252, 0.1);
  color: var(--accent-3);
  border: 1px solid rgba(92, 244, 252, 0.25);
}

.prize-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.prize-action-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.prize-action-btn:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
}

.prize-action-btn.delete:hover {
  background: rgba(252,92,92,0.15);
  color: var(--danger);
  border-color: rgba(252,92,92,0.3);
}

/* ===== MODAL GANADOR ===== */
.winner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.winner-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.winner-modal {
  position: relative;
  background: linear-gradient(145deg, var(--bg-card), var(--bg-secondary));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(124,92,252,0.2);
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.winner-overlay.open .winner-modal {
  transform: scale(1);
}

.winner-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  animation: confettiFall linear forwards;
  top: -10px;
}

@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(500px) rotate(720deg); opacity: 0; }
}

.winner-badge {
  font-size: 4rem;
  margin-bottom: 16px;
  display: block;
  animation: trophyBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes trophyBounce {
  from { transform: scale(0) rotate(-10deg); opacity: 0; }
  to { transform: scale(1) rotate(0deg); opacity: 1; }
}

.winner-title {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.winner-prize-image {
  margin: 16px auto;
  width: 160px;
  height: 120px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border);
}

.winner-prize-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.winner-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.winner-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 28px;
  word-break: break-word;
}

/* ===== TOAST ===== */
.toast-container {
  position: fixed;
  bottom: 110px;
  right: 28px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  animation: toastIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 300px;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(30px) scale(0.9); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

.toast-out {
  animation: toastOut 0.25s ease forwards;
}

@keyframes toastOut {
  to { opacity: 0; transform: translateX(30px) scale(0.9); }
}

.toast-success { border-left: 3px solid var(--success); }
.toast-error { border-left: 3px solid var(--danger); }
.toast-info { border-left: 3px solid var(--accent); }
.toast-warning { border-left: 3px solid var(--warning); }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .header {
    padding: 14px 18px;
  }

  .logo-text {
    display: none;
  }

  .main-content {
    padding: 24px 16px;
  }

  .wheel-wrapper {
    width: 320px;
    height: 320px;
  }

  #wheelCanvas {
    width: 320px;
    height: 320px;
  }

  .wheel-center-btn {
    width: 70px;
    height: 70px;
  }

  .modal {
    width: 100%;
  }

  .result-panel {
    min-width: auto;
    width: 100%;
  }

  .fab-edit {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 480px) {
  .wheel-glow {
    width: 360px;
    height: 360px;
  }
}

/* ===== SECCIÓN IMPORTAR / EXPORTAR ===== */
.io-section {
  border-color: rgba(124, 92, 252, 0.15);
}

.io-description {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.io-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-io {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-io:hover {
  background: rgba(124, 92, 252, 0.12);
  color: var(--accent);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.btn-io-export:hover {
  background: rgba(92, 244, 160, 0.1);
  color: var(--success);
  border-color: rgba(92, 244, 160, 0.3);
}

.btn-io:active {
  transform: scale(0.97);
}

/* ===== DRAG AND DROP ===== */
.prize-item.drag-over {
  border-color: var(--accent);
  background: rgba(124,92,252,0.08);
}

/* ===== SCROLLBAR GLOBAL ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-hover);
}
