* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at top, #3b0764, #020617);
  color: #e5e7eb;
}

.app {
  width: 100%;
  max-width: 960px;
  padding: 24px 20px 18px;
  background: rgba(15, 23, 42, 0.96);
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
}

.app-header {
  text-align: center;
  margin-bottom: 20px;
}

.app-header h1 {
  margin: 0;
  font-size: 26px;
}

.app-header p {
  margin: 6px 0 0;
  color: #9ca3af;
  font-size: 14px;
}

/* Grid 2 kartu */
.tool-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 720px) {
  .tool-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.tool-card {
  background: #020617;
  border-radius: 18px;
  padding: 18px 18px 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  border: 1px solid #111827;
}

.tool-card h2 {
  margin: 0;
  font-size: 20px;
}

.tool-subtitle {
  margin: 4px 0 14px;
  font-size: 13px;
  color: #9ca3af;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

label {
  font-size: 13px;
  color: #9ca3af;
}

input[type="url"] {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #4b5563;
  background: #020617;
  color: #e5e7eb;
  outline: none;
}

input[type="url"]:focus {
  border-color: #a855f7;
}

/* Tombol */
button {
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: linear-gradient(to right, #a855f7, #ec4899);
  color: white;
}

button:disabled {
  opacity: 0.6;
  cursor: default;
}

.status {
  min-height: 20px;
  font-size: 13px;
  color: #f97316;
  margin-bottom: 6px;
}

.result.hidden {
  display: none;
}

.result {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid #1f2937;
}

.result h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

video {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 8px;
}

/* Link download */
#tiktok-download,
#facebook-download {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  background: #22c55e;
  color: #022c22;
  font-weight: 600;
  font-size: 14px;
}

footer {
  margin-top: 16px;
  font-size: 11px;
  color: #6b7280;
  text-align: center;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.footer:hover {
  opacity: 0.8;

}


