body {
  margin: 0;
  padding: 0;
  color: #f5f5f5;
  background-image:
    radial-gradient(circle at 8% 28%, rgba(255, 190, 120, 0.055), transparent 50%),
    radial-gradient(circle at 80% 0%, rgba(0, 173, 205, 0.18), transparent 45%),
    linear-gradient(180deg, #060606 0%, #0f0f0f 60%, #050505 100%);
  font-family: 'Barlow Condensed', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle film grain overlay */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg width='140' height='140' viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='3' stitchTiles='noStitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.8'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

/* Main container */

.main-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  padding: 25px 24px 32px;
  text-align: center;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  overflow: hidden;
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.15s both;
}

/* Card */

.card {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 48px 32px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  max-width: 700px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  padding-bottom: 32px;
}

/* Gradient overlay from top-right corner */

.card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 85% 10%,
    rgba(0, 173, 205, 0.07) 0%,
    rgba(0, 173, 205, 0.04) 35%,
    transparent 75%
  );
  pointer-events: none;
}

/* Optional grain over card */

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg width='140' height='140' viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='3' stitchTiles='noStitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.8'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

/* Typography */

h1 {
  font-size: 42px;
  margin: 10px 0 4px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

p {
  font-weight: 400;
  letter-spacing: 0.3px;
  margin: 12px 0;
  font-size: 16px;
  line-height: 1.6;
}

em {
  color: #00ADCD;
  font-style: normal;
  font-weight: 600;
}

.title {
  margin: 8px 0;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  opacity: 0.9;
  font-weight: 400;
}

.fubo-link {
  color: #00ADCD;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.fubo-link:hover {
  color: #00d4ff;
  opacity: 1;
}

.fubo-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #00ADCD;
  transition: width 0.3s ease;
}

.fubo-link:hover::after {
  width: 100%;
}

/* Links / icons */

.links-container {
  position: absolute;
  top: 20px;
  right: 20px;
  margin: 0;
}

li {
  display: inline-block;
  margin: 0 8px;
  padding-bottom: 5px;
}

li a {
  color: #f5f5f5;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.fab {
  font-size: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.85;
}

.fab:hover {
  transform: scale(1.4) translateY(-2px);
  cursor: pointer;
  opacity: 1;
  text-shadow: 0 0 12px rgba(0, 173, 205, 0.55);
}

/* Accessible label helper */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Avatar */

.avatar {
  display: inline-block;
  margin: 0 auto 10px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(0, 173, 205, 0.3);
  transition: all 0.3s ease;
  object-fit: cover;
  filter: grayscale(20%) brightness(1.05);
}

.avatar:hover {
  border-color: rgba(0, 173, 205, 0.6);
  filter: grayscale(0%) brightness(1.1);
  transform: scale(1.03);
}

/* Info blocks */

.info {
  margin: 20px auto 0;
  text-align: left;
  max-width: 600px;
}

.info p {
  font-size: 17px;
  line-height: 1.7;
  color: #e0e0e0;
  letter-spacing: 0.2px;
}

/* Tech stack */

.tech-stack {
  margin: 20px 0 0;
  padding: 16px 0 0;
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.85;
  font-weight: 400;
  color: #d0d0d0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);

  /* mobile: two centered rows of equal width */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stack-row {
  display: inline-block;
  width: 100%;
  max-width: 260px;
}

.desktop-separator {
  display: none;
}
/* Responsive (desktop and up) */

@media only screen and (min-width: 600px) {

  .desktop-separator {
    display: inline;
  }

  .main-container {
    padding: 60px 24px 32px;
  }

  .main-container {
    padding-top: 35px;
  }

  .card {
    padding: 56px 48px;
  }

  h1 {
    font-size: 64px;
    margin: 12px 0 6px;
    letter-spacing: -1px;
  }

  .title {
    font-size: 14px;
    margin: 10px 0;
    letter-spacing: 2.5px;
  }

  .avatar {
    width: 220px;
    height: 220px;
    margin-bottom: 14px;
  }

  .links-container {
    top: 24px;
    right: 24px;
  }

  .fab {
    font-size: 22px;
  }

  .tech-stack {
    font-size: 14px;
    letter-spacing: 2px;
    margin: 40px 0 0;
    padding: 28px 0 0;

    /* desktop: single line */
    display: block;
    text-align: center;
    white-space: nowrap;
  }

  .stack-row {
    display: inline;
    width: auto;
    max-width: none;
  }
}

/* Animations */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
