@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700&display=swap");

:root {
  --c-pink: #ff13e4;
  --c-magenta: #e02cff;
  --c-purple: #9725d5;
  --c-blue: #291cff;
  --accent: #e02cff;
  --accent-rgb: 224 44 255;
  --accent-soft: #ff7af0;
  --accent-ink: #1a0520;
  --bg: #0a0a0c;
  --surface: #101013;
  --surface-2: #16161a;
  --text-strong: #f4f4f5;
  --text: #d4d4d8;
  --text-muted: #8a8a93;
  --border: #ffffff14;
  --border-strong: #ffffff24;
  --focus: var(--c-magenta);
  --c-grad: linear-gradient(135deg, #ff13e4 0%, #e02cff 28%, #9725d5 62%, #291cff 100%);
  font-synthesis: none;
  text-rendering: optimizelegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*,
:before,
:after {
  box-sizing: border-box;
}

body {
  -webkit-user-select: none;
  user-select: none;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  height: 100%;
  color: var(--text);
  background:
    radial-gradient(110% 90% at 38% -10%, rgb(255 19 228 / 0.16), transparent 52%),
    radial-gradient(90% 80% at 72% -8%, rgb(41 28 255 / 0.14), transparent 55%),
    var(--bg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  margin: 0;
}

#root {
  flex-direction: column;
  min-height: 100dvh;
  display: flex;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.site {
  min-height: 100dvh;
  padding: clamp(20px, 5vw, 48px);
  display: flex;
  justify-content: center;
}

@keyframes rise-in {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tile-in {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pop-in {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo,
  .hero-title,
  .action-btn,
  .showcase-label,
  .tile {
    animation: none;
  }
}

.hero-panel {
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: min(560px, 100%);
  display: flex;
}

.hero-header {
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  display: flex;
}

.hero-brand {
  flex-direction: column;
  align-items: center;
  gap: 14px;
  display: flex;
}

.hero-logo {
  object-fit: contain;
  width: clamp(56px, 14vw, 72px);
  height: clamp(56px, 14vw, 72px);
  filter: drop-shadow(0 6px 18px rgb(255 19 228 / 0.45)) drop-shadow(0 10px 24px rgb(41 28 255 / 0.28));
  flex-shrink: 0;
  animation: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both pop-in;
}

.hero-title {
  color: var(--text-strong);
  letter-spacing: -0.03em;
  margin: 0;
  font-size: clamp(30px, 8vw, 42px);
  font-weight: 600;
  line-height: 1;
  animation: 0.6s both rise-in;
}

.hero-actions {
  flex-direction: column;
  gap: 10px;
  width: 100%;
  display: flex;
}

.action-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  display: grid;
}

@media (width <= 380px) {
  .action-grid {
    grid-template-columns: 1fr;
  }
}

.action-btn {
  border: 1px solid var(--border);
  min-height: 46px;
  color: var(--text);
  background: var(--surface);
  letter-spacing: -0.01em;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s, border-color 0.15s, color 0.15s, filter 0.15s;
  animation: 0.5s both rise-in;
  display: inline-flex;
  position: relative;
  cursor: pointer;
  font-family: inherit;
}

.action-btn svg {
  flex-shrink: 0;
}

.action-btn .btn-arrow {
  opacity: 0.4;
  margin-left: auto;
  transition: opacity 0.15s, transform 0.15s;
}

.action-btn:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text-strong);
  transform: translateY(-1px);
}

.action-btn:hover .btn-arrow {
  opacity: 0.8;
  transform: translate(1px, -1px);
}

.action-btn--primary {
  background: rgb(224 44 255 / 0.12);
  border-color: rgb(224 44 255 / 0.38);
  color: #e9a8ff;
  font-weight: 600;
}

.action-btn--primary:hover {
  background: rgb(224 44 255 / 0.2);
  border-color: rgb(224 44 255 / 0.55);
  color: #f3c8ff;
  filter: none;
}

.action-btn--primary .btn-arrow {
  opacity: 0.7;
}

.action-btn--real {
  color: #d7d4ff;
  background: rgb(41 28 255 / 0.22);
  border-color: rgb(41 28 255 / 0.55);
  font-weight: 600;
}

.action-btn--real:hover {
  color: #fff;
  background: rgb(41 28 255 / 0.34);
  border-color: #291cff;
}

.action-btn--real .btn-arrow {
  opacity: 0.7;
}

.showcases {
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 6px;
  display: flex;
}

.showcase {
  flex-direction: column;
  gap: 12px;
  display: flex;
}

.showcase-label {
  text-align: center;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  animation: 0.5s both rise-in;
}

.tile-grid {
  gap: 10px;
  display: grid;
}

.tile-grid--4 {
  flex-wrap: wrap;
  display: flex;
}

.tile-grid--4 > .tile {
  flex: calc(25% - 8px);
  min-width: calc(25% - 8px);
}

@media (width <= 480px) {
  .tile-grid--4 > .tile {
    flex-basis: calc(50% - 5px);
    min-width: calc(50% - 5px);
  }
}

.tile {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 16px 12px;
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
  animation: 0.5s both tile-in;
  display: flex;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

.tile:hover {
  border-color: rgb(224 44 255 / 0.5);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.tile-art {
  border: 1px solid var(--border);
  background: #ffffff0a;
  border-radius: 12px;
  place-items: center;
  width: 48px;
  height: 48px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.tile-art img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.tile-art--pad img {
  object-fit: contain;
  padding: 7px;
}

.tile-mono {
  color: var(--c-magenta);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.tile-name {
  text-align: center;
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

a.tile {
  text-decoration: none;
}

.toast {
  pointer-events: none;
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(8px);
  background: var(--surface-2);
  border: 1px solid rgb(224 44 255 / 0.45);
  color: #ff7af0;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 50;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
