/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Base ── */
body {
  font-family: "ABC Ginto Nord Unlicensed Trial", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background-color: #07070f;
  color: #e2e8f0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Subtle fixed tint so the page isn't pure black when blobs drift away */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 10%, rgba(99, 102, 241, 0.07) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 85% 85%, rgba(139, 92, 246, 0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 15, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.9em;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}

.logo:hover {
  color: #e2e8f0;
}

.logo-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* ── Hero section ── */
.notice-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* ── Blobs ── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  animation-fill-mode: forwards;
  pointer-events: none;
  z-index: 1;
}

/* Fade blobs in so the page doesn't flash on load */
@keyframes blob-fade-in {
  to { opacity: 1; }
}

.blob-1 {
  width: 520px;
  height: 520px;
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.38) 0%, transparent 70%);
  animation: blob-fade-in 1s ease forwards, drift1 38s ease-in-out infinite 1s;
}

.blob-2 {
  width: 440px;
  height: 440px;
  bottom: -18%;
  right: -6%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.32) 0%, transparent 70%);
  animation: blob-fade-in 1s ease forwards, drift2 44s ease-in-out infinite 1s;
}

.blob-3 {
  width: 320px;
  height: 320px;
  top: 8%;
  right: 12%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28) 0%, transparent 70%);
  animation: blob-fade-in 1s ease forwards, drift3 30s ease-in-out infinite 1s;
}

.blob-4 {
  width: 380px;
  height: 380px;
  bottom: 5%;
  left: 10%;
  background: radial-gradient(circle, rgba(232, 121, 249, 0.22) 0%, transparent 70%);
  animation: blob-fade-in 1s ease forwards, drift4 50s ease-in-out infinite 1s;
}

.blob-5 {
  width: 260px;
  height: 260px;
  top: 40%;
  left: 38%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.14) 0%, transparent 70%);
  animation: blob-fade-in 1s ease forwards, drift5 34s ease-in-out infinite 1s;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  30%       { transform: translate(55px, -40px) scale(1.06); }
  60%       { transform: translate(-35px, 60px) scale(0.94); }
  80%       { transform: translate(25px, 20px) scale(1.02); }
}

@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%       { transform: translate(-60px, 35px) scale(1.08); }
  55%       { transform: translate(45px, -55px) scale(0.93); }
  75%       { transform: translate(-20px, 15px) scale(1.04); }
}

@keyframes drift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(-50px, 55px) scale(1.1); }
  70%       { transform: translate(35px, -30px) scale(0.9); }
}

@keyframes drift4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  35%       { transform: translate(65px, -45px) scale(0.95); }
  65%       { transform: translate(-40px, 50px) scale(1.07); }
}

@keyframes drift5 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-45px, -60px) scale(1.15); }
}

/* ── Card ── */
.notice-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 48px 40px 44px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.notice-icon {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.5));
}

.notice-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.notice-title span {
  background: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 55%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  text-align: center;
  color: #64748b;
  font-size: 0.93em;
  margin-bottom: 32px;
}

/* ── Form ── */
.shorten-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shorten-form input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: #e2e8f0;
  font-size: 0.95em;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.shorten-form input::placeholder {
  color: #334155;
}

.shorten-form input:focus {
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.14);
}

.cta-button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.97em;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: opacity 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.cta-button:hover {
  opacity: 0.9;
  box-shadow: 0 6px 28px rgba(99, 102, 241, 0.45);
}

.cta-button:active {
  transform: translateY(1px);
  opacity: 1;
}

/* ── Result ── */
.result {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.35);
  display: none;
}

.result.show {
  display: block;
}

.result .row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 6px 0;
}

.result .label {
  color: #64748b;
  font-size: 0.8em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.result a {
  color: #a5b4fc;
  text-decoration: none;
  word-break: break-all;
  font-size: 0.95em;
}

.result a:hover {
  text-decoration: underline;
}

.error {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.05);
}

.error .label {
  color: #fca5a5;
}

/* ── Secondary button ── */
.secondary-button {
  padding: 7px 13px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  cursor: pointer;
  font-size: 0.84em;
  font-weight: 600;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s;
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ── Footer ── */
footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  text-align: center;
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85em;
}

.footer-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #334155;
  display: inline-block;
}

.footer-links a {
  color: #475569;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: #94a3b8;
}

.footer-copy {
  color: #334155;
  font-size: 0.78em;
}

/* ── Utilities ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  word-break: break-all;
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .notice-box {
    padding: 36px 24px 32px;
    border-radius: 20px;
  }

  .notice-title {
    font-size: 1.5rem;
  }

  .footer-copy {
    padding: 0 12px;
  }
}
