*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --sun-yellow: #FFD95A;
  --sun-orange: #FF9E2C;
  --bg-dark: #0f1117;
  --bg-card: #1a1d27;
  --text-primary: #f0f0f0;
  --text-muted: #9aa0b4;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background gradient */
.bg-gradient {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 50% -10%, rgba(76, 201, 192, 0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

main {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header */
header {
  width: 100%;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: flex-start;
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--sun-yellow);
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 2rem 2rem;
  gap: 0.75rem;
  flex: 1;
}

/* Logo with ring animation */
.logo-container {
  position: relative;
  width: 110px;
  height: 110px;
}

.logo-ring {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: conic-gradient(
    rgba(76, 201, 192, 0.9) 0deg,
    rgba(76, 201, 192, 0.1) 90deg,
    rgba(76, 201, 192, 0.9) 180deg,
    rgba(76, 201, 192, 0.1) 270deg,
    rgba(76, 201, 192, 0.9) 360deg
  );
  -webkit-animation: spin 4s linear infinite;
  animation: spin 4s linear infinite;
}

.logo-ring::after {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--bg-dark);
}

.logo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  z-index: 1;
}

@-webkit-keyframes spin {
  to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
@keyframes spin {
  to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

/* Text */
h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 30%, var(--sun-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sun-orange);
}

.bio {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
}

/* Links section */
.links {
  text-align: center;
  margin-top: 1.25rem;
}

.links-heading {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.links-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.link-card {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: border-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.2s;
}

.link-card:hover {
  border-color: rgba(76, 201, 192, 0.6);
  color: #4CC9C0;
  box-shadow: 0 0 16px rgba(76, 201, 192, 0.2);
  transform: translateY(-2px);
}

.link-icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

/* Footer */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 480px) {
  header {
    padding: 1rem 1.5rem;
  }
  .hero {
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.6rem;
  }
}
