/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0e1a;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 50%, #0f1419 100%);
    color: #ffffff;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    width: 100vw;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Prevent scrolling */
    position: relative;
    margin: 0;
    padding: 0;
}

/* Animated Background */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(30, 58, 138, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(17, 24, 39, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(31, 41, 55, 0.15) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

/* Main Container */
.container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

/* Content */
.content {
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Name Styling */
.name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 7rem);
    font-weight: 900;
    background: linear-gradient(135deg, #e0f2fe 0%, #67e8f9 50%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    animation: glow 4s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 25px rgba(34, 211, 238, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(103, 232, 249, 0.6));
    }
}

/* Subtitle Styling */
.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.8rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.9);
    margin-top: 0;
    animation: fadeIn 1.5s ease-out 0.3s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Footer */
.footer {
    padding: 2.5rem 2rem;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(100, 116, 139, 0.15);
    position: relative;
    z-index: 1;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.social-link {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: #94a3b8;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(71, 85, 105, 0.3);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.2) 0%, rgba(34, 211, 238, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    transform: translateY(-8px) scale(1.1);
    background: rgba(30, 58, 138, 0.6);
    box-shadow: 0 15px 35px rgba(34, 211, 238, 0.3);
    border-color: rgba(34, 211, 238, 0.5);
    color: #22d3ee;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:active {
  transform: translateY(-5px) scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .name {
    font-size: clamp(2rem, 10vw, 4rem);
    margin-bottom: 1rem;
  }

  .subtitle {
    font-size: clamp(0.8rem, 3vw, 1.2rem);
    letter-spacing: 0.2em;
  }

  .social-link {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .social-links {
    gap: 1.5rem;
  }

  .footer {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .social-links {
    gap: 1rem;
  }
}
