* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  background: #0f172a;
  color: #e0e0e0;
  margin: 0;
  padding: 20px;
  line-height: 1.6;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.header {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
}

.header h1 {
  margin: 0;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
}

.subtitle {
  color: #94a3b8;
  font-size: 1.1rem;
  margin-top: 8px;
}

.card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 24px;
  border-radius: 12px;
  margin: 20px 0;
  border: 1px solid #334155;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card h2 {
  color: #fff;
  margin-top: 0;
  font-size: 1.3rem;
}

.upload-area {
  border: 2px dashed #334155;
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.upload-area:hover {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
}

.upload-area.dragover {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

.upload-icon {
  font-size: 3rem;
  margin-bottom: 10px;
}

.upload-area p {
  margin: 8px 0;
  color: #cbd5e1;
}

.btn-upload {
  display: inline-block;
  padding: 12px 24px;
  background: #3b82f6;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-upload:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.btn-primary,
.btn-secondary {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  margin-right: 10px;
  margin-top: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: #334155;
  color: #cbd5e1;
}

.btn-secondary:hover {
  background: #475569;
}

.files-list {
  margin-top: 15px;
}

.file-item {
  background: #1a2332;
  padding: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid #334155;
  cursor: grab;
  transition: all 0.3s;
  margin-bottom: 10px;
}

.file-item:hover {
  border-color: #3b82f6;
  background: #0f1a2a;
}

.file-item.dragging {
  opacity: 0.5;
  transform: scale(0.98);
}

.file-info {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 10px;
}

.file-number {
  background: #3b82f6;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.file-details {
  flex: 1;
}

.file-name {
  color: #fff;
  font-weight: 600;
  margin-bottom: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 300px;
}

.file-size {
  color: #94a3b8;
  font-size: 0.85rem;
}

.file-actions {
  display: flex;
  gap: 8px;
}

.file-actions button {
  padding: 6px 12px;
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s;
}

.file-actions button:hover {
  background: #dc2626;
}

.success-box {
  background: #1a2a3a;
  border-left: 4px solid #22c55e;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #334155;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-item span:first-child {
  color: #94a3b8;
}

.detail-item span:last-child {
  color: #22c55e;
  font-weight: 600;
}

.features-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.features-list li {
  padding: 10px;
  margin: 5px 0;
  background: #1a2332;
  border-radius: 6px;
  color: #cbd5e1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.step {
  background: #1a2332;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  gap: 15px;
}

.step-number {
  background: #3b82f6;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step strong {
  display: block;
  color: #fff;
  margin-bottom: 5px;
}

.step p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0;
}

.ad-space {
  margin: 30px 0;
  padding: 20px;
  background: #1a2332;
  border-radius: 12px;
  border: 1px dashed #334155;
  text-align: center;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  color: #64748b;
  border-top: 1px solid #334155;
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 1.8rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    margin-right: 0;
  }

  .file-name {
    max-width: 150px;
  }
}
