@font-face {
  font-family: "MomsTypewriter";
  src: url("Mom´sTypewriter 400.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
:root{
  --card-bg: rgba(15, 15, 15, 0.55);
  --card-border: rgba(255,255,255,0.08);
  --text-main: #f2f2f2;
  --text-dim: rgba(242,242,242,0.55);
  --accent: #ffffff;
  --blur: 18px;
  --radius: 22px;
}

*{ box-sizing: border-box; }
html,body{
  margin:0; padding:0; height:100%;
  font-family: "MomsTypewriter", 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body{
  min-height:100vh;
  display:flex; align-items:center; justify-content:center;
  background-color: #060606;
  background-image: url('https://files.catbox.moe/8dhpkj.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
body::before{
  content:"";
  position:fixed; inset:0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(1px);
  z-index:0;
  pointer-events:none;
}
body::after{
  content:"";
  position:fixed;
  inset:-30px;
  background-image: url('https://files.catbox.moe/8dhpkj.jpg');
  background-size: cover;
  background-position: center;
  transform: translate3d(var(--bg-shift-x, 0px), var(--bg-shift-y, 0px), 0);
  filter: blur(1px) saturate(1.06) contrast(1.05);
  opacity: 0.95;
  z-index:-1;
  pointer-events:none;
  transition: transform 0.25s ease-out;
  will-change: transform;
}

.content-shell{
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  display:flex; align-items:center; justify-content:center;
}

.unlock-overlay{
  position: fixed;
  inset: 0;
  z-index: 20;
  display:flex; align-items:center; justify-content:center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.unlock-overlay.is-hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.unlock-overlay__content{
  text-align: center;
  color: #fff;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.unlock-overlay__content h2{
  margin: 0 0 8px;
  font-size: 2rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.unlock-overlay__content p{
  margin: 0;
  color: rgba(255,255,255,0.8);
}

.sound-btn{
  position:fixed; top:24px; left:24px;
  width:46px; height:46px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(30,30,30,0.55);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  color:#fff; cursor:pointer;
  backdrop-filter: blur(8px);
  z-index: 10;
  transition: background 0.2s ease, transform 0.15s ease;
}
.sound-btn:hover{ background: rgba(50,50,50,0.7); transform: scale(1.04); }
.sound-btn svg{ width:20px; height:20px; }

/* KARTA */
.card{
  position:relative; z-index:1;
  width: 340px;
  padding: 40px 32px 30px;
  text-align:center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  animation: fadeUp 0.6s ease both;
}
@keyframes fadeUp{
  from{ opacity:0; transform: translateY(16px); }
  to{ opacity:1; transform: translateY(0); }
}

.avatar{
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.15);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.04);
  margin-bottom: 18px;
}

.username{
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-main);
  margin: 0 0 4px;
}

.welcome{
  font-size: 14px;
  color: var(--text-dim);
  margin: 0 0 24px;
  letter-spacing: 0.3px;
}

.socials{
  display:flex; align-items:center; justify-content:center;
  gap: 16px;
  flex-wrap: wrap;
}
.social-link{
  width: 40px; height: 40px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  transition: background 0.2s ease, transform 0.15s ease;
}
.social-link:hover{
  background: rgba(255,255,255,0.16);
  transform: translateY(-2px);
}
.social-link svg{ width:18px; height:18px; }

@media (max-width:420px){
  .card{ width: 88vw; padding: 32px 20px 24px; }
}
