:root {
  /* S26 Ultra Cobalt Violet inspired palette:
     Satin matte deep slate-indigo base with cobalt-violet accents */
  --bg-deep: #0d0b14;
  --bg-surface: #161224;
  --bg-card: rgba(30, 24, 48, 0.65);
  --bg-card-hover: rgba(46, 36, 74, 0.85);

  --cobalt-violet: #7c5cbf;
  --cobalt-violet-bright: #9d7be8;
  --cobalt-indigo: #472980;
  --cobalt-glow: rgba(124, 92, 191, 0.22);

  --text-primary: #f3f0fa;
  --text-secondary: #a89ec2;
  --text-muted: #6e6488;

  --border-subtle: rgba(157, 123, 232, 0.16);
  --border-hover: rgba(157, 123, 232, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  /* Satin matte ambient light shift */
  background:
    radial-gradient(
      circle at 50% 25%,
      rgba(71, 41, 128, 0.32) 0%,
      rgba(124, 92, 191, 0.1) 38%,
      transparent 70%
    ),
    linear-gradient(160deg, #120e1d 0%, #0d0b14 60%, #151024 100%);
}

.container {
  width: 100%;
  max-width: 540px;
  text-align: center;
  z-index: 1;
  animation: fadeIn 0.6s ease-out;
}

.domain-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--cobalt-violet-bright);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(12px);
}

.domain-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cobalt-violet-bright);
  box-shadow: 0 0 8px var(--cobalt-violet-bright);
}

h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.text-accent {
  background: linear-gradient(
    135deg,
    #e2d8fa 0%,
    var(--cobalt-violet-bright) 55%,
    var(--cobalt-violet) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

/* Work links list */
.links-grid {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: 100%;
  margin-top: 0.5rem;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: 0 10px 28px -8px var(--cobalt-glow);
  outline: none;
}

.link-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.link-title {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text-primary);
}

.link-url {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.link-arrow {
  color: var(--cobalt-violet-bright);
  font-size: 1.1rem;
  transition: transform 0.18s ease;
}

.link-card:hover .link-arrow {
  transform: translate(2px, -2px);
}

footer {
  position: fixed;
  bottom: 1.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

footer a:hover {
  color: var(--cobalt-violet-bright);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
