:root {
  color-scheme: dark;
  --bg-primary: #070b13;
  --bg-card: rgba(14, 21, 37, 0.75);
  --bg-card-hover: rgba(20, 31, 54, 0.85);
  --bg-glass: rgba(12, 18, 32, 0.70);
  --bg-input: rgba(9, 14, 25, 0.85);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.14);
  --border-neon: rgba(0, 240, 255, 0.35);
  --border-active: #00f0ff;

  --neon-cyan: #00f0ff;
  --neon-cyan-glow: rgba(0, 240, 255, 0.35);
  --neon-mint: #00ff9d;
  --neon-mint-glow: rgba(0, 255, 157, 0.35);
  --neon-purple: #a855f7;
  --neon-pink: #ec4899;
  --neon-red: #ff3366;
  --neon-red-glow: rgba(255, 51, 102, 0.35);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-neo: 0 10px 30px -10px rgba(0, 0, 0, 0.7), 0 0 20px -5px rgba(0, 240, 255, 0.15);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.8), inset 0 1px 0 0 rgba(255, 255, 255, 0.12);
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}


.ambient-scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
}

.ambient-glow-1 {
  position: absolute;
  top: -10%;
  left: 20%;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, transparent 70%);
  filter: blur(60px);
  border-radius: 50%;
}

.ambient-glow-2 {
  position: absolute;
  bottom: -15%;
  right: 15%;
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
  filter: blur(80px);
  border-radius: 50%;
}

.ambient-glow-3 {
  position: absolute;
  top: 40%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  max-width: 500px;
  max-height: 500px;
  background: radial-gradient(circle, rgba(0, 255, 157, 0.08) 0%, transparent 70%);
  filter: blur(70px);
  border-radius: 50%;
}


.floating-elements {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.float-item {
  position: absolute;
  opacity: 0.18;
  filter: blur(2px);
  transition: transform 0.2s ease-out;
  color: var(--text-secondary);
}

.float-item svg {
  display: block;
  width: 100%;
  height: 100%;
}

.item-it-server {
  top: 12%;
  left: 8%;
  width: 84px;
  height: 84px;
  color: var(--neon-cyan);
  animation: floatSlow 14s ease-in-out infinite alternate;
}

.item-it-code {
  top: 70%;
  left: 6%;
  width: 90px;
  height: 90px;
  color: var(--neon-cyan);
  animation: floatSlow 18s ease-in-out 2s infinite alternate-reverse;
}

.item-it-mouse {
  top: 35%;
  right: 8%;
  width: 60px;
  height: 60px;
  color: #38bdf8;
  animation: floatSlow 12s ease-in-out 1s infinite alternate;
}

.item-prom-pcb {
  top: 18%;
  right: 12%;
  width: 100px;
  height: 100px;
  color: var(--neon-mint);
  animation: floatSlow 16s ease-in-out 3s infinite alternate;
}

.item-prom-mcu {
  bottom: 15%;
  right: 25%;
  width: 75px;
  height: 75px;
  color: var(--neon-mint);
  animation: floatSlow 20s ease-in-out 1.5s infinite alternate-reverse;
}

.item-creative-tablet {
  bottom: 22%;
  left: 22%;
  width: 95px;
  height: 95px;
  color: var(--neon-purple);
  animation: floatSlow 15s ease-in-out 4s infinite alternate;
}

.item-creative-stylus {
  top: 48%;
  left: 14%;
  width: 64px;
  height: 64px;
  color: var(--neon-pink);
  animation: floatSlow 13s ease-in-out infinite alternate-reverse;
}

@keyframes floatSlow {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(4deg); }
  100% { transform: translateY(12px) rotate(-3deg); }
}


.page-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-header {
  padding: 20px 24px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(168, 85, 247, 0.2));
  border: 1px solid var(--border-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.brand-info h1 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-info .date-tag {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.live-counter-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-mint);
  box-shadow: 0 0 8px var(--neon-mint);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.counter-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--neon-cyan);
}


.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 18px 48px;
}

.hero-container {
  max-width: 580px;
  width: 100%;
}

.hero-intro {
  text-align: center;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}


.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-purple), transparent);
  opacity: 0.6;
}

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

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

.form-label .req {
  color: var(--neon-cyan);
  margin-left: 2px;
}

.input-field {
  width: 100%;
  min-height: 46px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}

.input-field:focus {
  border-color: var(--border-active);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15), 0 0 15px rgba(0, 240, 255, 0.1);
}

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

.input-field.input-error {
  border-color: var(--neon-red);
  box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.15);
}

.error-text {
  font-size: 0.8rem;
  color: #ff6b8b;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}


.captcha-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.captcha-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: #0b111e;
  height: 46px;
  min-width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.captcha-image-wrapper img {
  display: block;
  width: 160px;
  height: 46px;
}

.btn-refresh-captcha {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-refresh-captcha:hover {
  color: var(--neon-cyan);
  border-color: var(--border-neon);
  background: rgba(0, 240, 255, 0.05);
}

.btn-refresh-captcha svg {
  transition: transform 0.4s ease;
}


.consent-section {
  margin: 22px 0 18px;
  padding: 16px;
  background: rgba(10, 16, 28, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.consent-section-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--neon-cyan);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.consent-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  user-select: none;
}

.consent-item:last-child {
  margin-bottom: 0;
}

.consent-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--border-glass);
  border-radius: 5px;
  background: rgba(6, 10, 18, 0.8);
  cursor: pointer;
  display: grid;
  place-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--transition);
}

.consent-checkbox::before {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--neon-mint);
  transform-origin: center;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.consent-checkbox:checked {
  border-color: var(--neon-mint);
  background: rgba(0, 255, 157, 0.12);
  box-shadow: 0 0 10px rgba(0, 255, 157, 0.25);
}

.consent-checkbox:checked::before {
  transform: scale(1);
}

.consent-checkbox:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 2px;
}

.consent-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.consent-text strong {
  color: #fff;
}


.btn-primary {
  width: 100%;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #00f0ff 0%, #00b4d8 100%);
  border: none;
  color: #070b13;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.35);
  margin-top: 14px;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 240, 255, 0.5);
  filter: brightness(1.05);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.6);
  box-shadow: none;
}


.set-progress-box {
  margin-top: 24px;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}

.progress-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.progress-fraction {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--neon-cyan);
}

.progress-fraction .target-num {
  color: var(--text-muted);
}

.progress-bar-container {
  height: 12px;
  background: rgba(9, 14, 25, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
  margin: 10px 0 8px;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #00f0ff, #00ff9d, #38bdf8);
  background-size: 200% 100%;
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.45);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.progress-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress-status-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.25);
}

.progress-status-badge.completed {
  background: rgba(0, 255, 157, 0.15);
  color: var(--neon-mint);
  border-color: rgba(0, 255, 157, 0.4);
}


.success-card {
  display: none;
  text-align: center;
  padding: 44px 30px;
}

.success-icon-wrap {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(0, 255, 157, 0.12);
  border: 1px solid var(--neon-mint);
  box-shadow: 0 0 30px rgba(0, 255, 157, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--neon-mint);
  animation: scaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.success-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.success-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  min-height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}


.main-footer {
  padding: 24px 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
}


.custom-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 14, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.custom-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.custom-modal-box {
  background: #0d1527;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 240, 255, 0.12);
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  transform: translateY(12px) scale(0.97);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-modal-backdrop.open .custom-modal-box {
  transform: translateY(0) scale(1);
}

.modal-header-cyber {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title-cyber {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-close-modal {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  padding: 4px;
  transition: color 0.15s;
}

.btn-close-modal:hover {
  color: #fff;
}

.modal-body-cyber {
  padding: 22px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
  max-height: 70vh;
  overflow-y: auto;
}

.modal-footer-cyber {
  padding: 16px 22px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: rgba(8, 12, 22, 0.5);
}

.btn-modal-cancel {
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.88rem;
}

.btn-modal-cancel:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-modal-confirm {
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  background: var(--neon-cyan);
  border: none;
  color: #070b13;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.88rem;
  box-shadow: 0 0 12px var(--neon-cyan-glow);
}

.btn-modal-confirm.danger {
  background: var(--neon-red);
  color: #fff;
  box-shadow: 0 0 12px var(--neon-red-glow);
}


.track-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.detail-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
}

.detail-value {
  font-size: 0.95rem;
  color: #fff;
  word-break: break-word;
}

.detail-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--border-neon);
  color: var(--neon-cyan);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 4px;
  width: fit-content;
  transition: var(--transition);
}

.detail-link-btn:hover {
  background: rgba(0, 240, 255, 0.2);
  box-shadow: 0 0 14px var(--neon-cyan-glow);
}


.admin-header {
  padding: 16px 24px;
  background: rgba(10, 16, 28, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-toolbar {
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(8, 13, 24, 0.7);
}

.admin-search-wrapper {
  position: relative;
  min-width: 240px;
  max-width: 360px;
  flex: 1;
}

.admin-search-wrapper input {
  padding-left: 36px;
  min-height: 40px;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.toolbar-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-filter-explicit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  min-height: 38px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  background: rgba(255, 51, 102, 0.08);
  border: 1px solid rgba(255, 51, 102, 0.25);
  color: #ff6b8b;
  cursor: pointer;
  transition: var(--transition);
}

.btn-filter-explicit.active {
  background: rgba(255, 51, 102, 0.25);
  border-color: var(--neon-red);
  color: #fff;
  box-shadow: 0 0 12px var(--neon-red-glow);
}

.live-poll-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}


.kanban-board-wrapper {
  flex: 1;
  padding: 18px 24px 30px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.kanban-board {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-height: calc(100vh - 190px);
  width: max-content;
}

.kanban-column {
  width: 290px;
  background: rgba(14, 21, 37, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 190px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.column-header {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.column-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.column-color-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.column-title {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.column-count-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.column-cards-container {
  padding: 10px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 120px;
}


.track-card {
  background: rgba(19, 29, 50, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  cursor: grab;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  user-select: none;
  position: relative;
}

.track-card:hover {
  border-color: var(--border-glass);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.track-card:active {
  cursor: grabbing;
}

.track-card.is-explicit {
  border-left: 3px solid var(--neon-red);
  background: rgba(28, 18, 32, 0.85);
}

.track-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
  gap: 8px;
}

.track-artist {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.track-card-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-card-icon {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 3px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, background-color 0.15s;
}

.btn-card-icon:hover {
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
}

.btn-card-icon.del:hover {
  color: var(--neon-red);
  background: rgba(255, 51, 102, 0.15);
}

.track-title {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.track-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
}

.badge-group {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 240, 255, 0.08);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.badge-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(168, 85, 247, 0.12);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.25);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.badge-link:hover {
  background: rgba(168, 85, 247, 0.25);
  color: #fff;
}

.badge-explicit {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 51, 102, 0.2);
  color: #ff6b8b;
  border: 1px solid var(--neon-red);
  cursor: help;
}

.track-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.track-handler-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #cbd5e1;
}


.sortable-ghost {
  opacity: 0.35;
  background: rgba(0, 240, 255, 0.15) !important;
  border: 1px dashed var(--neon-cyan) !important;
}

.sortable-chosen {
  background: rgba(28, 44, 76, 0.95) !important;
}

.sortable-drag {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8) !important;
  transform: rotate(2deg) scale(1.02);
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .float-item {
    animation: none !important;
  }
}


@media (max-width: 640px) {
  .main-header {
    padding: 16px 14px;
  }
  .brand-info h1 {
    font-size: 0.92rem;
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .glass-card {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }
  .captcha-row {
    flex-direction: column;
    align-items: stretch;
  }
  .captcha-image-wrapper {
    width: 100%;
  }
  .captcha-image-wrapper img {
    margin: 0 auto;
  }
  .admin-header {
    padding: 12px 14px;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .admin-nav-actions {
    justify-content: space-between;
  }
  .admin-toolbar {
    padding: 12px 14px;
  }
  .kanban-board-wrapper {
    padding: 14px 10px 24px;
  }
  .kanban-column {
    width: 260px;
  }
}
