/* ============================================================
   CSS Custom Properties — color scheme inspired by the logo
   ============================================================ */
:root {
  --bg:       #0d1117;
  --surface:  #161b22;
  --border:   #21262d;
  --blue:     #4f9ef8;
  --blue-dim: #1f4c8a;
  --purple:   #8b5cf6;
  --text:     #e6edf3;
  --muted:    #8b949e;
  --radius:   12px;
  --transition: 0.2s ease;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

/* ============================================================
   Layout Container
   ============================================================ */
.container {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

/* ============================================================
   Header
   ============================================================ */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--blue);
  box-shadow:
    0 0 12px rgba(79, 158, 248, 0.4),
    0 0 28px rgba(139, 92, 246, 0.2);
}

.name {
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.tagline {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 400;
  max-width: 380px;
  line-height: 1.5;
}

/* ============================================================
   Links Grid
   ============================================================ */
.links-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ============================================================
   Card
   ============================================================ */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.5rem 1rem;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.card:hover,
.card:focus-visible {
  border-color: var(--blue);
  box-shadow:
    0 0 0 1px var(--blue-dim),
    0 4px 20px rgba(79, 158, 248, 0.2),
    0 4px 32px rgba(139, 92, 246, 0.15);
  transform: translateY(-2px);
  outline: none;
}

.card__icon {
  font-size: 2rem;
  color: var(--blue);
  transition: color var(--transition);
}

.card:hover .card__icon,
.card:focus-visible .card__icon {
  color: var(--purple);
}

.card__name {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

/* ============================================================
   Footer
   ============================================================ */
footer {
  color: var(--muted);
  font-size: 0.8rem;
}

/* ============================================================
   Responsive — single column on small screens
   ============================================================ */
@media (max-width: 480px) {
  .links-grid {
    grid-template-columns: 1fr;
  }

  .logo {
    width: 96px;
    height: 96px;
  }

  .name {
    font-size: 1.4rem;
  }
}
