.upload-section {
  position: relative;
  z-index: 1;
  padding: 40px 24px 100px;
  max-width: 720px;
  margin: 0 auto;
}

.upload-card {
  background: var(--bg-card);
  border: 4px solid var(--accent);
  border-radius: 0;
  padding: 36px 30px;
  box-shadow: 8px 8px 0 0 #000;
}

.upload-head { text-align: center; margin-bottom: 26px; }

.upload-head .icon-badge {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border: 3px solid #000;
}

.upload-head .icon-badge svg { width: 26px; height: 26px; color: #1a1600; stroke: #1a1600; }
.upload-head h2 { font-size: 16px; font-weight: 400; margin-bottom: 14px; font-family: "Press Start 2P", monospace; color: var(--accent); text-shadow: 2px 2px 0 #000; }
.upload-head p { color: var(--text-secondary); font-size: 16px; font-family: "VT323", monospace; }

.dropzone {
  border: 3px dashed var(--accent);
  border-radius: 0;
  padding: 46px 24px;
  text-align: center;
  cursor: pointer;
  transition: none;
  position: relative;
  background: var(--bg-elevated);
}

.dropzone:hover, .dropzone.dragover {
  border-color: var(--text-primary);
  background: var(--accent-soft);
}

.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.dropzone svg {
  width: 34px;
  height: 34px;
  color: var(--accent);
  stroke: var(--accent);
  margin: 0 auto 14px;
}

.dropzone-title { font-size: 12px; font-weight: 400; margin-bottom: 10px; font-family: "Press Start 2P", monospace; color: var(--text-primary); }
.dropzone-hint { font-size: 15px; color: var(--text-muted); font-family: "VT323", monospace; }

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.preview-box {
  border-radius: 0;
  overflow: hidden;
  border: 3px solid var(--accent);
  background:
    linear-gradient(45deg, #362d00 25%, transparent 25%),
    linear-gradient(-45deg, #362d00 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #362d00 75%),
    linear-gradient(-45deg, transparent 75%, #362d00 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
  background-color: #1a1600;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preview-label {
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 10px;
  text-align: center;
  font-family: "Press Start 2P", monospace;
}

.upload-progress {
  margin-top: 22px;
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  justify-content: center;
  font-family: "VT323", monospace;
}

.upload-progress.show { display: flex; }

.upload-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.status-box {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 0;
  font-size: 15px;
  display: none;
  font-family: "VT323", monospace;
  border: 3px solid;
}

.status-box.show { display: block; }

.status-box.error {
  background: rgba(255, 90, 90, 0.15);
  border-color: #ff5a5a;
  color: #ffb3b3;
}

.status-box.success {
  background: rgba(255, 212, 0, 0.15);
  border-color: var(--accent);
  color: var(--text-primary);
}

@media (max-width: 560px) {
  .preview-grid { grid-template-columns: 1fr; }
}