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

:root {
  --navy: #0a1628;
  --navy-mid: #0d2040;
  --navy-light: #1a3a5c;
  --accent: #2a6496;
  --grey-dark: #2c2f36;
  --grey-mid: #6c757d;
  --grey-light: #c8cdd5;
  --white: #f0f4f8;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background-color: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
}

/* Subtle animated background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(42, 100, 150, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(26, 58, 92, 0.2) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

.container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  max-width: 680px;
  width: 100%;
}

.avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-light), var(--accent));
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.8rem;
  color: var(--white);
  box-shadow: 0 0 30px rgba(42, 100, 150, 0.4);
}

h1 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.tagline {
  font-size: 1rem;
  color: var(--grey-light);
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
}

.divider {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 2.5rem;
  border-radius: 2px;
  opacity: 0.7;
}

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

.link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-decoration: none;
  color: var(--white);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(4px);
}

.link-card:hover {
  background: rgba(42, 100, 150, 0.2);
  border-color: rgba(42, 100, 150, 0.5);
  transform: translateY(-2px);
}

.link-card:active {
  transform: translateY(0);
}

.link-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}

.link-icon.linkedin {
  background: rgba(10, 102, 194, 0.25);
  border: 1px solid rgba(10, 102, 194, 0.4);
}

.link-icon.golf {
  background: rgba(42, 150, 80, 0.2);
  border: 1px solid rgba(42, 150, 80, 0.35);
}

.golf-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
}

.link-text {
  text-align: left;
}

.link-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

.link-text span {
  font-size: 0.8rem;
  color: var(--grey-light);
}

.footer {
  position: fixed;
  bottom: 1.5rem;
  font-size: 0.75rem;
  color: var(--grey-mid);
  letter-spacing: 0.03em;
}

/* Fade-in animation */
.container {
  animation: fadeUp 0.6s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 480px) {
  .links {
    flex-direction: column;
  }
}
