@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&display=swap");

.uc-page {
  --uc-text:         #111418;
  --uc-muted:        #4b5563;
  --uc-bg:           #ffffff;
  --uc-surface:      rgba(255, 255, 255, 0.96);
  --uc-border:       #e5e7eb;
  --uc-accent:       #e71d36;
  --uc-accent-alt:   #0f626e;
  --uc-shadow:       0 12px 28px rgba(15, 23, 42, 0.18);

  --uc-card-w:       420px;
  --uc-radius:       14px;
  --uc-pad:          22px;

  --uc-font:         "Montserrat", 
                     system-ui, 
                     -apple-system, 
                     Segoe UI, 
                     Roboto, 
                     Arial, 
                     sans-serif;
}

.uc-page .uc-page * {
  box-sizing: border-box;
}

.uc-page *:where(h1, h2, h3, h4, p, a) {
  margin: 0;
}

.uc-page {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 20px 16px 28px;
  font-family: var(--uc-font);
}

.uc-page .uc-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.uc-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.uc-page .uc-card {
  position: absolute;
  z-index: 2;
  width: 100%;
  max-width: var(--uc-card-w);
  background: var(--uc-surface);
  border: 1px solid var(--uc-border);
  border-radius: var(--uc-radius);
  box-shadow: var(--uc-shadow);
  padding: calc(var(--uc-pad) + 4px);
  backdrop-filter: blur(4px);

  display: grid;
  row-gap: 18px;
}

.uc-page .uc-header {
  text-align: center;
}

.uc-page .uc-icon {
  font-size: clamp(2rem, 2.5vw, 3rem);
  color: var(--uc-accent);
  display: inline-block;
  margin-bottom: 8px;
}

.uc-page .uc-title {
  font-size:  clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  color: var(--uc-text);
}

.uc-page .uc-subtitle {
  margin-top: 8px;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: var(--uc-muted);
  line-height: 1.5;
}

.uc-page .uc-actions {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

.uc-page .uc-btn {
  display: inline-block;
  text-align: center;
  width: 100%;
  height: 48px;
  line-height: 48px;
  border-radius: 10px;
  background: var(--uc-accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: filter .18s ease, transform .02s ease-in-out;
}

.uc-page .uc-btn:hover {
  filter: brightness(1.06);
}

.uc-page .uc-btn:active {
  transform: translateY(1px);
}

.uc-page .uc-link {
  display: inline-block;
  text-align: center;
  color: var(--uc-accent-alt);
  text-decoration: none;
  font-weight: 600;
}

.uc-page .uc-link:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .uc-page {
    padding: 16px 12px 22px;
  }

  .uc-page .uc-card {
    padding: calc(var(--uc-pad) + 2px);
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .uc-page {
    padding: 22px 20px 26px;
  }

  .uc-page .uc-card {
    max-width: 560px;
  }
}

@media (min-width: 1025px) {
  .uc-page .uc-card {
    max-width: 640px;
  }

  .uc-page .uc-actions {
    flex-direction: row;
    justify-content: center;
    gap: 14px;
    /* grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 14px; */
  }

  .uc-page .uc-btn {
    width: 100%;
  }
}
