/* Pocketcraft /links — mobile-first Linktree-style page. */

:root {
  --links-brand: #4aa3df;
  --links-brand-dark: #3a8fc7;
  --links-brand-light: #5cb4e8;
  --links-text: #0f172a;
  --links-muted: #64748b;
  --links-border: #e9ecef;
}

.links-page {
  background: linear-gradient(180deg, #f4f9fd 0%, #ffffff 55%);
  font-family: 'Roboto Slab', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--links-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.links-main {
  flex: 1 0 auto;
  padding: 7.5rem 1rem 3rem;
  display: flex;
  justify-content: center;
}

.links-container {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

/* Hero (page header) */
.links-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.links-logo-link {
  display: inline-block;
  line-height: 0;
  margin-bottom: 0.75rem;
}

.links-logo {
  height: 64px;
  width: auto;
  display: inline-block;
  filter: drop-shadow(0 6px 14px rgba(74, 163, 223, 0.25));
}

.links-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.65rem;
  margin: 0;
  color: var(--links-text);
  letter-spacing: -0.01em;
}

.links-tagline {
  margin: 0.35rem 0 0;
  color: var(--links-muted);
  font-size: 0.98rem;
  line-height: 1.4;
}

/* Stack */
.links-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 480px;
  margin: 0 auto;
}

/* Buttons — deep Pocketcraft-blue gradient with white text */
.links-button {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 1rem 1.15rem;
  background: linear-gradient(135deg, #2f7eb5 0%, #1a567f 100%);
  border: 1px solid rgba(26, 86, 127, 0.85);
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 6px 16px rgba(26, 86, 127, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.links-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 45%);
  pointer-events: none;
}

.links-button:hover {
  background: linear-gradient(135deg, #3a8fc7 0%, #1f6691 100%);
  box-shadow: 0 12px 26px rgba(26, 86, 127, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  color: #fff;
}

.links-button:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(26, 86, 127, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.links-button-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.15rem;
}

.links-button-text {
  flex: 1 1 auto;
  min-width: 0;
}

.links-button-title {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
  color: #fff;
}

.links-button-desc {
  display: block;
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.88rem;
  line-height: 1.4;
}

.links-button-arrow {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  transition: transform 0.18s ease;
}

.links-button:hover .links-button-arrow {
  transform: translateX(3px);
  color: #fff;
}

/* Pro highlight — refined indigo gradient, premium without shouting */
.links-button--primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 55%, #4338ca 100%);
  border-color: rgba(67, 56, 202, 0.75);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22) inset,
    0 10px 24px rgba(79, 70, 229, 0.4),
    0 0 0 4px rgba(99, 102, 241, 0.14);
}

.links-button--primary:hover {
  background: linear-gradient(135deg, #818cf8 0%, #5b54e8 55%, #4f46e5 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28) inset,
    0 14px 30px rgba(79, 70, 229, 0.5),
    0 0 0 4px rgba(99, 102, 241, 0.2);
}

.links-button--primary .links-button-icon {
  background: rgba(255, 255, 255, 0.22);
}

.links-pro-badge {
  display: inline-block;
  margin-left: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4338ca;
  background: #fff;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  vertical-align: middle;
  box-shadow: 0 2px 6px rgba(67, 56, 202, 0.28);
}

/* Disabled / Coming Soon */
.links-button--disabled {
  cursor: not-allowed;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: var(--links-muted);
  box-shadow: none;
  justify-content: flex-start;
}

.links-button--disabled::before {
  display: none;
}

.links-button--disabled:hover {
  transform: none;
  background: #f1f5f9;
  box-shadow: none;
  color: var(--links-muted);
}

.links-button--disabled .links-button-icon {
  background: #e2e8f0;
  color: #94a3b8;
}

.links-button--disabled .links-button-title {
  color: #475569;
}

.links-coming-badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--links-brand-dark);
  background: rgba(74, 163, 223, 0.12);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Mobile tweaks */
@media (max-width: 480px) {
  .links-main {
    padding: 6rem 0.85rem 2rem;
  }

  .links-logo {
    height: 56px;
  }

  .links-title {
    font-size: 1.45rem;
  }

  .links-button {
    padding: 0.9rem 1rem;
    gap: 0.75rem;
  }

  .links-button-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .links-button-title {
    font-size: 1rem;
  }

  .links-button-desc {
    font-size: 0.85rem;
  }
}
