:root {
  --bg-color: #0f172a; /* Slate 900 */
  --text-primary: #f8fafc; /* Slate 50 */
  --text-secondary: #94a3b8; /* Slate 400 */
  --accent-color: #38bdf8; /* Sky 400 */
  --glass-bg: rgba(30, 41, 59, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --spacing-unit: 1.5rem;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Dynamic Background */
.background-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.4;
  animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  max-width: 500px;
  max-height: 500px;
  background: #3b82f6; /* Blue */
  animation-delay: 0s;
}

.blob-2 {
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 600px;
  max-height: 600px;
  background: #8b5cf6; /* Purple */
  animation-delay: -5s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10%, 5%) scale(1.1); }
  100% { transform: translate(-5%, 10%) scale(0.9); }
}

/* Layout */
.container {
  max-width: 600px;
  width: 90%;
  padding: var(--spacing-unit) 0;
  z-index: 1;
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  text-align: center;
}

/* Profile Image */
.profile-image-container {
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.profile-image-container::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8, #8b5cf6, #ec4899);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-panel:hover .profile-image-container::before {
  opacity: 1;
  animation: spin 4s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.profile-image {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-color);
  display: block;
  transition: transform 0.3s ease;
}

.glass-panel:hover .profile-image {
  transform: scale(0.98);
}

/* Typography */
header {
  margin-bottom: 2.5rem;
}

h1 {
  font-weight: 700;
  font-size: 2.5rem;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.role {
  color: var(--accent-color);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

section {
  margin-bottom: 2.5rem;
}

h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin: 0 auto;
  max-width: 90%;
  line-height: 1.7;
}

/* Social Buttons */
.contact {
  margin-bottom: 0;
}

.socials {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 0;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 99px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-color);
  z-index: -1;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-btn:hover {
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(56, 189, 248, 0.2);
}

.social-btn:hover::before {
  transform: translateY(0);
}

/* Entry Animation */
.animate-in {
  animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes slideUpFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  .glass-panel { padding: 2rem 1.5rem; }
  .profile-image { width: 120px; height: 120px; }
  p { max-width: 100%; }
}
