* {
  box-sizing: border-box;
}

:root {
  --bg: #0b111c;
  --panel: rgba(16, 24, 39, 0.82);
  --panel-soft: rgba(255, 255, 255, 0.045);

  --text: #f8fafc;
  --muted: rgba(248, 250, 252, 0.66);

  --primary: #2dd4bf;
  --primary-soft: rgba(45, 212, 191, 0.18);

  --accent: #f4b860;
  --accent-soft: rgba(244, 184, 96, 0.16);

  --border: rgba(255, 255, 255, 0.105);
  --border-strong: rgba(45, 212, 191, 0.32);
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(45, 212, 191, 0.13), transparent 34%),
    radial-gradient(circle at 80% 100%, rgba(244, 184, 96, 0.10), transparent 36%),
    linear-gradient(180deg, #0b111c 0%, #0f1724 55%, #09101a 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.42;
    transform: scale(1);
  }

  50% {
    opacity: 0.68;
    transform: scale(1.045);
  }
}

@keyframes shimmer {
  to {
    transform: translateX(120%);
  }
}

.background-glow {
  position: absolute;
  inset: 0;
  z-index: -10;
  background:
    radial-gradient(circle at top, rgba(45, 212, 191, 0.12), transparent 42%),
    radial-gradient(circle at bottom, rgba(244, 184, 96, 0.09), transparent 44%);
}

.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 2.5rem;
}

.profile-image-wrap {
  position: relative;
}

.profile-image-glow {
  position: absolute;
  inset: -14px;
  border-radius: 9999px;
  background: linear-gradient(
    135deg,
    rgba(45, 212, 191, 0.2),
    rgba(244, 184, 96, 0.13)
  );
  filter: blur(30px);
}

.profile-image {
  position: relative;
  width: 9rem;
  height: 9rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 28px 65px rgba(0, 0, 0, 0.46),
    0 0 0 10px rgba(255, 255, 255, 0.026),
    0 0 0 1px rgba(45, 212, 191, 0.16);
}

.profile-name {
  margin-top: 1.6rem;
  font-size: 1.95rem;
  line-height: 2.35rem;
  font-weight: 900;
  letter-spacing: -0.025em;

  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #d9fff9 28%,
    #2dd4bf 58%,
    #f4b860 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  text-shadow: 0 0 32px rgba(45, 212, 191, 0.13);
}

.profile-title {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(204, 251, 241, 0.86);
}

.founder-badge {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border-radius: 9999px;
  border: 1px solid rgba(244, 184, 96, 0.35);
  background: rgba(244, 184, 96, 0.08);
  padding: 0.45rem 1rem 0.45rem 0.5rem;
  color: #f4b860;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 30px rgba(244, 184, 96, 0.12);
}

.founder-badge img {
  width: 3.6rem;
  height: 1.8rem;
  object-fit: contain;

  background: transparent;
  padding: 0;
  border-radius: 0;

  filter:
    drop-shadow(0 0 6px rgba(45, 212, 191, 0.35))
    drop-shadow(0 0 10px rgba(244, 184, 96, 0.25));

  transition: 0.3s ease;
}

.founder-badge:hover img {
  transform: scale(1.05);
}

.profile-bio {
  margin-top: 1rem;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.8rem;
  color: var(--muted);
}

.social-links {
  margin-top: 2.5rem;
  padding-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-card {
  position: relative;
  display: block;
  border-radius: 1.6rem;
  padding: 1px;
  overflow: hidden;
  text-decoration: none;
  color: white;
  background: linear-gradient(
    135deg,
    rgba(45, 212, 191, 0.32),
    rgba(255, 255, 255, 0.07),
    rgba(244, 184, 96, 0.24)
  );
  transition: all 0.35s ease;
}

.social-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255, 255, 255, 0.085),
    transparent 80%
  );
  transform: translateX(-120%);
  z-index: 2;
}

.social-card-inner {
  position: relative;
  z-index: 1;
  border-radius: 1.55rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    var(--panel);
  padding: 1rem;
  backdrop-filter: blur(22px);
  transition: all 0.35s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22);
}

.social-card:hover {
  transform: translateY(-6px) scale(1.008);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.46),
    0 12px 34px rgba(45, 212, 191, 0.1);
}

.social-card:hover::before {
  animation: shimmer 1s ease;
}

.social-card:hover .social-card-inner {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(18, 28, 43, 0.82);
}

.social-card-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-icon,
.social-image-icon {
  display: flex;
  width: 3.25rem;
  height: 3.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 1.05rem;
  background: rgba(255, 255, 255, 0.075);
  font-size: 1.45rem;
  transition: 0.35s ease;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.social-image-icon {
  padding: 0.55rem;
}

.social-image-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-card:hover .social-icon,
.social-card:hover .social-image-icon {
  transform: scale(1.08) rotate(3deg);
  background: rgba(255, 255, 255, 0.12);
}

.social-text {
  flex: 1;
  text-align: left;
  min-width: 0;
}

.social-text h2 {
  font-weight: 800;
  color: var(--text);
}

.social-text p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: rgba(248, 250, 252, 0.58);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-arrow {
  display: flex;
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.75);
  transition: 0.35s ease;
}

.social-card:hover .social-arrow {
  transform: translateX(6px) scale(1.08);
  border-color: transparent;
  background: linear-gradient(135deg, #2dd4bf, #f4b860);
  color: #08111c;
  box-shadow: 0 12px 28px rgba(45, 212, 191, 0.16);
}

.icon-whatsapp {
  color: #25d366;
}

.icon-contact {
  color: #2dd4bf;
}

.icon-telegram {
  color: #2aabee;
}

.icon-github {
  color: #f8fafc;
}

.icon-email {
  color: #f4b860;
}

.icon-cv {
  color: #f4b860;
}

.icon-website {
  color: #2dd4bf;
}

.cv-card {
  margin-top: 0.35rem;
  background: linear-gradient(
    135deg,
    rgba(244, 184, 96, 0.55),
    rgba(45, 212, 191, 0.25),
    rgba(255, 255, 255, 0.12)
  );
}

.cv-card .social-card-inner {
  background:
    linear-gradient(135deg, rgba(244, 184, 96, 0.13), rgba(45, 212, 191, 0.05)),
    rgba(16, 24, 39, 0.88);
}

.cv-card .social-icon {
  background: rgba(244, 184, 96, 0.12);
}

.cv-card:hover .social-arrow {
  background: linear-gradient(135deg, #f4b860, #2dd4bf);
  color: #08111c;
}

.cv-card {
  width: fit-content;
  min-width: 13rem;
  margin: 0.65rem auto 0;
  border-radius: 9999px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(244, 184, 96, 0.85),
    rgba(45, 212, 191, 0.45)
  );
}

.cv-card .social-card-inner {
  border-radius: 9999px;
  padding: 0.75rem 1.05rem;
  background:
    linear-gradient(135deg, rgba(244, 184, 96, 0.16), rgba(45, 212, 191, 0.06)),
    rgba(16, 24, 39, 0.92);
}

.cv-card .social-card-content {
  gap: 0.75rem;
}

.cv-card .social-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 9999px;
  font-size: 1rem;
  background: rgba(244, 184, 96, 0.14);
}

.cv-card .social-text {
  flex: unset;
}

.cv-card .social-text h2 {
  font-size: 0.9rem;
}

.cv-card .social-text p {
  display: none;
}

.cv-card .social-arrow {
  width: 2rem;
  height: 2rem;
  font-size: 0.85rem;
  background: rgba(244, 184, 96, 0.1);
}

.cv-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.36),
    0 10px 28px rgba(244, 184, 96, 0.14);
}

.cv-card:hover .social-arrow {
  background: linear-gradient(135deg, #f4b860, #2dd4bf);
  color: #08111c;
}

.footer {
  padding-bottom: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(248, 250, 252, 0.42);
}

.animate-float {
  animation: float 5.8s ease-in-out infinite;
}

.pulse-glow {
  animation: pulseGlow 5.5s ease-in-out infinite;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.75s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .profile-image {
    width: 10rem;
    height: 10rem;
  }

  .profile-name {
    font-size: 2.35rem;
    line-height: 2.65rem;
  }

  .profile-title,
  .profile-bio {
    font-size: 1rem;
  }

  .social-card-inner {
    padding: 1.15rem;
  }
}