:root {
  --bg1: #020617;
  --bg2: #050816;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.18);
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --card-bg: rgba(15, 23, 42, 0.7);
  --border-soft: rgba(148, 163, 184, 0.35);
  --radius-xl: 1.5rem;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.75);
  --transition: 180ms ease-out;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
}

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

body {
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(circle at top, var(--bg2), var(--bg1));
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

/* barevné „blob“ pozadí */
.background::before,
.background::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.7;
  z-index: -1;
}
.background::before {
  width: 260px;
  height: 260px;
  background: #22c55e;
  top: -60px;
  right: -40px;
}
.background::after {
  width: 220px;
  height: 220px;
  background: #3b82f6;
  bottom: -40px;
  left: -40px;
}

.profile-wrapper {
  width: 100%;
  max-width: 480px;
}

.profile-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  padding: 2.25rem 2rem 2rem;
  text-align: center;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  border: 2px solid rgba(248, 250, 252, 0.9);
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.9);
  object-fit: cover;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

h1 {
  font-size: 1.9rem;
  margin: 0 0 0.25rem;
  letter-spacing: 0.03em;
  color: #f8fafcec!important;
  text-shadow: 0 2px 18px rgba(248, 250, 252, 0.2);
}

.subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.chips {
  margin-top: 1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.5);
  transition: transform var(--transition), box-shadow var(--transition),
    background-color var(--transition), border-color var(--transition);
}
.social-btn:hover {
  transform: translateY(-2px);
  background: rgba(15, 23, 42, 0.95);
  border-color: var(--accent);
  box-shadow: 0 10px 25px rgba(8, 47, 73, 0.8);
}

.contact-block {
  margin-top: 2rem;
  display: grid;
  gap: 0.7rem;
}

.email-link,
.vcard-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
}

.email-link {
  background: var(--accent);
  color: #020617;
  font-weight: 500;
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.4);
  transition: transform var(--transition), box-shadow var(--transition),
    background-color var(--transition);
}
.email-link:hover {
  transform: translateY(-1px);
  background: #0ea5e9;
  box-shadow: 0 14px 40px rgba(56, 189, 248, 0.6);
}

.vcard-link {
  color: var(--text-muted);
  border: 1px dashed rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.6);
  transition: border-color var(--transition), color var(--transition),
    background-color var(--transition);
}
.vcard-link:hover {
  border-style: solid;
  border-color: var(--accent);
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.9);
}

@media (max-width: 480px) {
  .profile-card {
    padding: 1.9rem 1.4rem 1.6rem;
  }
  h1 {
    font-size: 1.6rem;
  }
  .profile-avatar {
    width: 100px;
    height: 100px;
  }
}
