:root {
  --bg: #06070d;
  --ink: #eef1ff;
  --muted: #8a90b0;
  --cyan: #4de8ff;
  --violet: #a46bff;
  --line: rgba(238, 241, 255, .16);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter Tight', system-ui, -apple-system, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
}

/* Vầng sáng mờ như đèn phố xa */
body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background: radial-gradient(560px 420px at 12% 18%, rgba(77, 232, 255, .10), transparent 70%);
}

body::after {
  background: radial-gradient(640px 480px at 88% 82%, rgba(164, 107, 255, .09), transparent 70%);
}

.home {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  padding: 32px 20px;
  text-align: center;
}

.home-title {
  margin: 0;
  font-weight: 200;
  font-size: clamp(40px, 7vw, 88px);
  letter-spacing: -0.02em;
  line-height: 1.04;
}

.home-nav {
  display: flex;
  gap: 20px;
}

.tile {
  width: 180px;
  height: 180px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 300;
  font-size: 17px;
  letter-spacing: .01em;
  transition:
    border-color 200ms ease-out,
    background 200ms ease-out,
    box-shadow 200ms ease-out;
}

.tile-soon {
  font-size: 11px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: .08em;
}

.tile:not(.tile-disabled):hover,
.tile:not(.tile-disabled):focus-visible {
  border-color: var(--cyan);
  background: rgba(77, 232, 255, .08);
  box-shadow: 0 0 0 1px var(--cyan), 0 0 28px rgba(77, 232, 255, .35);
  outline: none;
}

.tile-disabled {
  opacity: .45;
  cursor: default;
}

.tile-disabled:hover,
.tile-disabled:focus-visible {
  border-color: rgba(164, 107, 255, .45);
  box-shadow: none;
  outline: none;
}

@media (max-width: 639.98px) {
  .home-nav {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .tile {
    width: 100%;
    height: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
