* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans SC', sans-serif;
  background: #0f0f13;
  color: #e8e8ed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 520px;
  background: #1a1a22;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.header {
  text-align: center;
  margin-bottom: 28px;
}

.header h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.3px;
  background: linear-gradient(135deg, #6dd5fa, #7b68ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 14px;
  color: #888;
  margin-top: 6px;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.badge {
  padding: 4px 12px;
  background: rgba(123, 104, 238, 0.15);
  border: 1px solid rgba(123, 104, 238, 0.3);
  border-radius: 20px;
  font-size: 12px;
  color: #b8a8ff;
}

.input-area {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.input-area input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #333;
  background: #25252e;
  color: #e8e8ed;
  font-size: 14px;
  outline: none;
  transition: border 0.2s;
}

.input-area input:focus {
  border-color: #7b68ee;
}

.input-area input::placeholder {
  color: #666;
}

.input-area button {
  padding: 12px 22px;
  border: none;
  border-radius: 10px;
  background: #7b68ee;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}

.input-area button:hover {
  background: #6a5bd8;
}

.input-area button:active {
  transform: scale(0.97);
}

.input-area button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.status {
  text-align: center;
  font-size: 13px;
  min-height: 36px;
  padding: 8px;
  border-radius: 8px;
  margin-bottom: 4px;
}

.status.error {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.08);
}

.status.loading {
  color: #6dd5fa;
}

.result {
  background: #25252e;
  border-radius: 12px;
  padding: 20px;
  margin-top: 8px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.info-row {
  display: flex;
  padding: 6px 0;
  font-size: 14px;
}

.label {
  color: #888;
  min-width: 52px;
}

.value {
  color: #e8e8ed;
  word-break: break-all;
}

.platform-tag {
  display: inline-block;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 12px;
  background: rgba(123, 104, 238, 0.15);
  color: #b8a8ff;
}

.download-btn {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 16px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #6dd5fa, #7b68ee);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}

.download-btn:hover {
  opacity: 0.9;
}

.download-btn:active {
  transform: scale(0.98);
}

.download-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.icon {
  margin-right: 6px;
}

.footer {
  text-align: center;
  margin-top: 28px;
  font-size: 12px;
  color: #555;
}
