:root {
  color-scheme: dark;
  --bg: #07070c;
  --panel: rgba(28, 27, 39, 0.82);
  --panel-strong: rgba(37, 35, 54, 0.94);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.17);
  --text: #f5f3f0;
  --muted: #a8a4b4;
  --soft: #d7d3df;
  --accent: #5d6cff;
  --accent-2: #7447ff;
  --radius: 24px;
  --max: 420px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(64, 48, 112, 0.3), transparent 34rem),
    radial-gradient(circle at 50% 100%, rgba(95, 76, 175, 0.34), transparent 32rem),
    linear-gradient(180deg, #08080d 0%, #0b0a12 52%, #151023 100%);
  color: var(--text);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }

.profile-shell {
  width: min(100%, var(--max));
  min-height: 100svh;
  margin: 0 auto;
  padding: 0 14px 42px;
}

.hero-card { margin: 0 -14px; }

.hero-photo {
  position: relative;
  height: 550px;
  overflow: hidden;
  background: #111116;
}

.hero-photo::before,
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-photo::before {
  background:
    linear-gradient(180deg, rgba(7, 7, 12, 0.12) 0%, rgba(7, 7, 12, 0.1) 40%, rgba(7, 7, 12, 0.92) 92%, var(--bg) 100%),
    radial-gradient(circle at 50% 58%, transparent 0, transparent 10rem, rgba(7, 7, 12, 0.2) 19rem, rgba(7, 7, 12, 0.74) 100%);
}

.hero-photo::after {
  inset: auto 0 0;
  height: 190px;
  background: linear-gradient(180deg, rgba(7, 7, 12, 0), var(--bg));
}

.hero-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 54% 6%;
  filter: grayscale(1) contrast(1.18) brightness(0.84);
  transform: scale(1.04);
}

.hero-top {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand,
.lang,
.kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.36);
}

.brand span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(93, 108, 255, 0.85);
}

.lang {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
}

.hero-identity {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 42px;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
}

.name-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

h1,
h2,
p { margin-top: 0; }

h1 {
  margin: 0;
  color: var(--text);
  font-size: 3rem;
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 6px 28px rgba(0,0,0,0.44);
}

.verified {
  width: 27px;
  height: 27px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 12px 34px rgba(93, 108, 255, 0.38);
}

.location {
  margin: 14px 0 0;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(18,18,28,0.58);
  color: var(--soft);
  font-size: 0.88rem;
  font-weight: 700;
  backdrop-filter: blur(18px);
}

.intro,
.work-section,
.info-section {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  text-align: center;
}

.intro { margin-top: -24px; }
.work-section,
.info-section { margin-top: 34px; }

.kicker {
  margin: 0 0 14px;
  color: var(--accent);
}

h2 {
  max-width: 360px;
  margin: 0 auto;
  color: var(--text);
  font-size: 1.22rem;
  line-height: 1.26;
  font-weight: 800;
  letter-spacing: 0;
}

.lead,
.section-subtitle {
  max-width: 366px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 600;
}

.action-list,
.service-stack {
  display: grid;
  gap: 12px;
  width: 100%;
  margin-top: 20px;
}

.action-card {
  min-height: 82px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.055), 0 18px 44px rgba(0,0,0,0.18);
  backdrop-filter: blur(20px);
  text-align: left;
}

.action-primary {
  border-color: rgba(255,255,255,0.18);
  background: linear-gradient(135deg, #2f69ff 0%, #7042ff 100%);
  box-shadow: 0 18px 60px rgba(83,78,255,0.34);
}

.action-icon {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(93,108,255,0.2);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
}

.action-primary .action-icon {
  background: rgba(255,255,255,0.16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}

.action-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.action-copy strong {
  color: #fff;
  font-size: 1rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
}

.action-copy small {
  color: rgba(226,223,236,0.72);
  font-size: 0.84rem;
  line-height: 1.35;
  font-weight: 600;
}

.action-primary .action-copy small { color: rgba(255,255,255,0.72); }

.action-arrow {
  color: rgba(255,255,255,0.48);
  font-size: 1.7rem;
  line-height: 1;
}

.social-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
  padding-bottom: 18px;
}

.social-strip a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.045);
  color: var(--soft);
  font-size: 0.86rem;
  font-weight: 800;
}

.toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 10;
  transform: translateY(140%);
  max-width: 420px;
  margin: 0 auto;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(20,19,28,0.96);
  color: var(--text);
  box-shadow: 0 18px 50px rgba(0,0,0,0.44);
  transition: transform 180ms ease;
}

.toast.is-visible { transform: translateY(0); }

@media (min-width: 720px) {
  .profile-shell { padding-bottom: 58px; }
  .hero-card { margin-left: 0; margin-right: 0; }
  .hero-photo {
    height: 590px;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
  }
}

@media (max-width: 390px) {
  .profile-shell { padding-left: 12px; padding-right: 12px; }
  .hero-card { margin-left: -12px; margin-right: -12px; }
  .hero-photo { height: 500px; }
  .brand,
  .lang,
  .kicker { font-size: 0.72rem; }
  h1 { font-size: 2.72rem; }
  h2 { font-size: 1.12rem; }
  .lead,
  .section-subtitle { font-size: 0.86rem; line-height: 1.46; }
  .action-card { grid-template-columns: 48px minmax(0, 1fr) auto; padding: 13px 14px; }
  .action-icon { width: 48px; height: 48px; }
}

@media (hover: hover) {
  .action-card,
  .social-strip a,
  .brand {
    transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, opacity 160ms ease;
  }
  .action-card:hover,
  .social-strip a:hover,
  .brand:hover {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,0.22);
  }
}
