:root {
  --bg: #eef4fb;
  --card: #ffffff;
  --text: #1a2433;
  --muted: #5b6778;
  --primary: #0f6a73;
  --primary-dark: #0a4e55;
  --secondary: #f09c28;
  --border: #d7e4f3;
  --ring: rgba(15, 106, 115, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, #c8e2ff 0, transparent 33%),
    radial-gradient(circle at 88% 84%, #ffe8c7 0, transparent 34%),
    linear-gradient(135deg, #edf3fa 0%, #eaf7f4 100%);
}

.container {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  isolation: isolate;
}

.container::before,
.container::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  z-index: -1;
  filter: blur(10px);
}

.container::before {
  width: 240px;
  height: 240px;
  top: 8%;
  left: 3%;
  background: rgba(54, 133, 255, 0.15);
}

.container::after {
  width: 200px;
  height: 200px;
  right: 4%;
  bottom: 6%;
  background: rgba(240, 156, 40, 0.17);
}

.card {
  width: min(760px, 100%);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 24px 55px rgba(21, 47, 76, 0.16);
  animation: card-enter 700ms ease both;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(140deg, var(--primary) 0%, #2d8790 100%);
  color: #fff;
  font-weight: 700;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 24px rgba(15, 106, 115, 0.25);
}

.eyebrow {
  margin: 0;
  color: #16606f;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}

h1 {
  margin: 6px 0 4px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

.description {
  margin: 16px 0 20px;
  color: var(--muted);
  font-size: 16px;
}

.meta-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.meta-item {
  background: #f8fbff;
  border: 1px solid #e2ebf6;
  border-radius: 14px;
  padding: 12px 14px;
}

.meta-destino {
  background: #f7fbf8;
}

.meta-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.meta-value {
  display: block;
  font-size: 15px;
  font-weight: 600;
  word-break: break-word;
  margin-top: 3px;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.go-btn,
.copy-btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.go-btn {
  color: #fff;
  background: linear-gradient(140deg, var(--primary) 0%, #23828a 100%);
  box-shadow: 0 10px 20px rgba(15, 106, 115, 0.22);
}

.go-btn:hover {
  background: linear-gradient(140deg, var(--primary-dark) 0%, #17656d 100%);
  transform: translateY(-1px);
}

.copy-btn {
  color: #304055;
  background: #eef3f9;
  border: 1px solid #d8e3f0;
}

.copy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 15px rgba(34, 54, 86, 0.12);
}

.hint {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}

.footer-note {
  margin: 16px 0 0;
  font-size: 12px;
  color: #6d7c90;
  border-top: 1px dashed #d4dfec;
  padding-top: 12px;
}

.go-btn:focus-visible,
.copy-btn:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  .card {
    padding: 22px;
    border-radius: 18px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  h1 {
    font-size: clamp(24px, 8vw, 34px);
  }

  .description {
    font-size: 15px;
  }
}
