:root {
  --bg-img: url('https://files.catbox.moe/sfh30w.jpg');
  --glass-bg: rgba(20, 20, 20, 0.45);
  --blur: 18px;
  --bar-color: rgba(50, 50, 50, 0.9);
  --fill-color: rgba(230, 230, 230, 0.8);
  --text: #f1f5f9;
}

* {
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  color: var(--text);
}

body, html {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: black;
}

.background {
  background-image: url('background.jpg');
  background-size: cover;
  background-position: center;
  position: fixed;
  inset: 0;
  filter: brightness(0.45) blur(6px);
  z-index: -1;
}

.card {
  width: 85%;
  max-width: 580px;
  margin: 2rem auto;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur));
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.avatar {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid rgba(255, 255, 255, 0.4);
}

h1 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

h2 {
  margin-top: 2rem;
  color: white;
}

p {
  color: rgba(240, 240, 240, 0.9);
}

.skill {
  margin: 1rem 0;
  text-align: left;
}

.bar {
  height: 12px;
  background: var(--bar-color);
  border-radius: 8px;
  overflow: hidden;
}

.fill {
  height: 100%;
  background: var(--fill-color);
  border-radius: 8px 0 0 8px;
}

a {
  color: #9cc9ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  margin: 2rem 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

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