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

:root {
  --bg-color: #fbfbfb;
  --text-title: #18181b;
  --text-subtitle: #3f3f46;
  --text-muted: #9ca3af;
  --card-bg: #ffffff;
  --card-border: #f0f0f2;
  --card-border-hover: #e2e8f0;
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  --card-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.04);
  --icon-bg: #f4f4f5;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-title);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 680px;
}

.header {
  margin-bottom: 2.75rem;
}

.title {
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.subtitle {
  font-size: 1.35rem;
  color: var(--text-subtitle);
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 1.15rem 1.5rem;
  box-shadow: var(--card-shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  cursor: pointer;
}

.card:hover {
  border-color: var(--card-border-hover);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-1px);
}

.card-left {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background-color: var(--icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-title);
}

.info {
  display: flex;
  flex-direction: column;
}

.platform-name {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.handle {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.action-btn {
  background: none;
  border: none;
  padding: 6px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.15s ease, transform 0.15s ease;
  position: relative;
}

.action-btn:hover {
  color: var(--text-title);
}

.action-btn:active {
  transform: scale(0.95);
}

.tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(2px);
  background: var(--text-title);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 10;
}

.action-btn:hover .tooltip,
.action-btn:focus-visible .tooltip,
.tooltip.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

.link-arrow .tooltip {
  left: auto;
  right: 0;
  transform: translateY(2px);
}

.link-arrow:hover .tooltip,
.link-arrow:focus-visible .tooltip {
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  body {
    padding: 2rem 1.25rem;
  }
  .title {
    font-size: 2.75rem;
  }
  .subtitle {
    font-size: 1.15rem;
  }
  .card {
    padding: 1rem 1.15rem;
  }
  .icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .platform-name {
    font-size: 1.15rem;
  }
  .handle {
    font-size: 0.8125rem;
  }
}
