:root{
  --bg: #05070c;
  --bg-2: #0b1222;
  --card-bg: rgba(255,255,255,0.03);
  --card-border: rgba(255,255,255,0.10);
  --text: #e8ecf4;
  --accent: #4d6fff;
}

*{ box-sizing: border-box; }

html, body{
  margin:0;
  padding:0;
  height:100%;
  width:100%;
}

body{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family: Georgia, 'Times New Roman', serif;
  background: radial-gradient(120% 90% at 50% 0%, var(--bg-2) 0%, var(--bg) 60%);
  color: var(--text);
}

.card{
  width:min(520px, 88vw);
  aspect-ratio: 1 / 1;
  background: var(--card-bg);
  border:1px solid var(--card-border);
  border-radius:14px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:3%;
  gap:3%;
  text-align:center;
}

.photo-wrap{
  width:100%;
  flex:1;
  border-radius:10px;
  overflow:hidden;
  border: 1px solid var(--card-border);
  background: rgba(255,255,255,0.02);
  flex-shrink:0;
}

.photo-wrap img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.name{
  margin:0;
  font-family: Georgia, serif;
  font-size: clamp(1.05rem, 4.2vw, 1.4rem);
  font-weight:500;
  letter-spacing:0.01em;
}

.home-btn{
  display:inline-block;
  margin-top:2%;
  padding:0.55em 1.3em;
  border:1px solid var(--card-border);
  border-radius:999px;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size:0.8rem;
  text-decoration:none;
  transition: border-color .2s ease, background-color .2s ease;
}
.home-btn:hover{
  border-color: var(--accent);
  background: rgba(77,111,255,0.08);
}