html,
body {
  background: #050505;
}
body {
  background-image: repeating-linear-gradient(
    132deg,
    rgba(255, 255, 255, 0.025) 0,
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px,
    transparent 11px
  );
  background-attachment: fixed;
}
.nav-inner {
  max-width: 1080px;
  border: 0;
  border-bottom: 1px solid #ffffff14;
  background: #050505e8;
  border-radius: 0;
  padding: 14px 0;
}
.brand-name {
  letter-spacing: 0;
  font-family: Manrope, sans-serif;
}
.brand-logo {
  border-radius: 50%;
}
.nav-link {
  font-size: 12px;
}
.hero {
  padding: 130px 64px 80px;
  min-height: 900px;
}
.profile-layout {
  width: 100%;
  max-width: 980px;
  margin: auto;
  display: grid;
  grid-template-columns: 400px 1fr;
  align-items: center;
  gap: 110px;
}
.discord-profile {
  position: relative;
  width: 400px;
  overflow: hidden;
  background: linear-gradient(155deg, #080b11, #020305 70%);
  border: 1px solid #ffffff18;
  border-radius: 18px;
  box-shadow: 0 25px 70px #0008;
  text-align: left;
}
.profile-banner {
  height: 140px;
  overflow: hidden;
}
.profile-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
}
.discord-avatar {
  position: relative;
  margin: -65px 0 0 28px;
  border: 8px solid #080b11;
  border-radius: 50%;
  width: 128px;
  height: 128px;
  z-index: 2;
  background: #000;
}
.discord-avatar > img {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
}
.discord-avatar > span {
  position: absolute;
  right: 0;
  bottom: 0;
  border: 6px solid #080b11;
  background: #45a482;
  width: 34px;
  height: 34px;
  border-radius: 50%;
}
.discord-details {
  position: relative;
  padding: 12px 30px 34px;
  z-index: 2;
}
.discord-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 400;
  margin: 0 0 12px;
  color: #ddd;
}
.discord-handle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #d0d6de;
}
.server-tag {
  background: #ffffff10;
  border: 1px solid #ffffff0a;
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 7px;
  font-weight: 600;
}
.discord-badges {
  display: flex;
  gap: 3px;
  margin: 10px 0 22px;
}
.discord-badges > span {
  position: relative;
  width: 22px;
  height: 22px;
  outline-offset: 3px;
}
.discord-badges img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.discord-badges > span::after {
  content: attr(data-tip);
  position: absolute;
  left: -15px;
  bottom: calc(100% + 10px);
  width: max-content;
  max-width: 245px;
  text-align: center;
  padding: 10px 12px;
  border-radius: 7px;
  background: #242428;
  color: #eee;
  font:
    600 12px/1.5 Manrope,
    sans-serif;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: 0.15s;
  z-index: 8;
  box-shadow: 0 4px 16px #0009;
}
.discord-badges > span:hover::after,
.discord-badges > span:focus-visible::after {
  opacity: 1;
  transform: none;
}
.profile-message {
  display: block;
  background: #ffffff12;
  border: 1px solid #ffffff10;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  font-size: 13px;
  margin-bottom: 25px;
}
.profile-message:hover {
  background: #ffffff20;
}
.discord-bio {
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}
.discord-bio strong {
  display: flex;
  align-items: center;
  font-weight: 700;
  gap: 5px;
}
.discord-bio strong img {
  width: 18px;
  height: 18px;
  object-fit: cover;
}
.discord-bio a {
  display: block;
  color: #7cb8ed;
  overflow-wrap: anywhere;
}
.discord-bio a:hover {
  text-decoration: underline;
}
.discord-bio br {
  display: block;
  content: "";
  margin-top: 20px;
}
.discord-bio code {
  background: #232635;
  padding: 2px 4px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
}
.discord-member {
  margin-top: 30px;
  font-size: 14px;
}
.discord-member h3 {
  font:
    600 12px Arial,
    sans-serif;
  color: #b5bac1;
  margin-bottom: 12px;
}
.discord-member p {
  margin: 0;
}
.profile-intro {
  text-align: left;
}
.intro-handle {
  font-size: 13px;
  color: #777;
  letter-spacing: 0.02em;
}
.profile-intro h1 {
  font:
    600 clamp(65px, 8vw, 100px) / 1 Manrope,
    sans-serif;
  letter-spacing: -0.07em;
  margin: 18px 0 32px;
}
.profile-intro .hero-actions {
  justify-content: flex-start;
  margin-top: 0;
  gap: 12px;
}
.profile-intro .btn-primary,
.profile-intro .btn-ghost {
  font-size: 12px;
  border-radius: 5px;
  padding: 12px 16px;
}
.languages-block {
  margin-top: 55px;
}
.languages-block[hidden] {
  display: none;
}
.languages-block h2 {
  font-size: 12px;
  font-weight: 500;
  color: #888;
  margin: 0 0 16px;
}
#programming-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 370px;
}
#programming-languages button {
  color: #bbb;
  background: #0b0b0b;
  border: 1px solid #ffffff14;
  border-radius: 5px;
  padding: 8px 10px;
  font-size: 12px;
  cursor: pointer;
  transition:
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
#programming-languages button:hover,
#programming-languages button:focus-visible {
  color: #fff;
  border-color: #ffffff60;
  transform: translateY(-3px);
}
.language-experience {
  min-height: 22px;
  font-size: 12px;
  color: #777;
  margin: 14px 0 0;
}
.container {
  max-width: 1080px;
}
.section {
  padding: 80px 64px;
}
.section-title {
  font-size: 34px;
  letter-spacing: -0.04em;
}
.section-lead:empty {
  display: none;
}
.projects-grid {
  gap: 22px;
}
.project-card {
  background: #090909;
  border-radius: 8px;
}
.project-media {
  aspect-ratio: 16/10;
}
.project-media img {
  transition: transform 0.6s;
}
.project-card:hover .project-media img {
  transform: scale(1.035);
}
.project-title {
  font-size: 22px;
}
.project-tag {
  letter-spacing: 0.04em;
  font-size: 10px;
}
.project-body {
  padding: 22px;
}
.glass {
  background: #090909;
  border-radius: 8px;
  box-shadow: none;
}
.contact-form {
  gap: 16px;
}
.section-head {
  margin-bottom: 30px;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.profile-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
}
.profile-stars b {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #83b9ff;
  box-shadow: 0 0 6px 1px #7dabff;
  border-radius: 50%;
  animation: star-twinkle 5s infinite alternate;
}
.profile-stars b:nth-of-type(1) {
  left: 17%;
  top: 28%;
  animation-delay: -1s;
}
.profile-stars b:nth-of-type(2) {
  left: 72%;
  top: 36%;
  animation-delay: -2s;
}
.profile-stars b:nth-of-type(3) {
  left: 55%;
  top: 73%;
}
.profile-stars b:nth-of-type(4) {
  left: 20%;
  top: 83%;
  animation-delay: -3s;
}
.profile-stars b:nth-of-type(5) {
  left: 83%;
  top: 87%;
  animation-delay: -4s;
}
.profile-stars b:nth-of-type(6) {
  left: 44%;
  top: 53%;
  animation-delay: -2.5s;
}
.profile-stars b:nth-of-type(7) {
  left: 9%;
  top: 62%;
  animation-delay: -1.5s;
}
.profile-stars b:nth-of-type(8) {
  left: 89%;
  top: 58%;
  animation-delay: -3.5s;
}
.profile-stars i {
  position: absolute;
  left: -45%;
  top: 14%;
  width: 165px;
  height: 2px;
  transform: rotate(35deg);
  transform-origin: right;
  background: linear-gradient(90deg, transparent, #26d9c9 85%, #d3ffda);
  box-shadow:
    0 0 9px #36ecbb,
    0 0 22px #14c8c080;
  border-radius: 100%;
  animation: shooting-star 12s linear infinite;
  opacity: 0;
}
.profile-stars i::after {
  content: "";
  position: absolute;
  right: 0;
  top: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4ffe1;
  box-shadow: 0 0 12px 4px #38e6b6;
}
.profile-stars i:nth-child(2) {
  animation-delay: 4s;
  top: 43%;
  width: 120px;
}
.profile-stars i:nth-child(3) {
  animation-delay: 8s;
  top: 65%;
  width: 90px;
}
@keyframes shooting-star {
  0%,
  5% {
    opacity: 0;
    translate: 0 0;
  }
  7% {
    opacity: 1;
  }
  20% {
    opacity: 1;
    translate: 610px 410px;
  }
  22%,
  100% {
    opacity: 0;
    translate: 650px 437px;
  }
}
@keyframes star-twinkle {
  0%,
  30% {
    opacity: 0.12;
  }
  70%,
  100% {
    opacity: 0.65;
  }
}
@media (max-width: 900px) {
  .hero {
    padding: 120px 32px 70px;
  }
  .profile-layout {
    gap: 50px;
    grid-template-columns: 360px 1fr;
  }
  .discord-profile {
    width: 360px;
  }
  .profile-intro h1 {
    font-size: 65px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .section {
    padding: 65px 32px;
  }
}
@media (max-width: 720px) {
  .nav-pill {
    display: flex;
    gap: 0;
  }
  .nav-link {
    padding: 8px;
    font-size: 11px;
  }
  .brand-name {
    display: none;
  }
  .top-nav {
    top: 0;
  }
  .nav-inner {
    padding: 10px 0;
  }
  .hero {
    min-height: unset;
    padding: 95px 20px 50px;
  }
  .profile-layout {
    display: flex;
    flex-direction: column;
    gap: 35px;
    align-items: center;
  }
  .profile-intro {
    width: 100%;
    max-width: 400px;
  }
  .profile-intro h1 {
    font-size: 55px;
    margin: 10px 0 20px;
  }
  .profile-intro .hero-actions {
    flex-direction: row;
  }
  .languages-block {
    margin-top: 28px;
  }
  .discord-profile {
    width: 100%;
    max-width: 400px;
  }
  .section {
    padding: 55px 20px;
  }
  .section-title {
    font-size: 28px;
  }
  .discord-details {
    padding: 12px 26px 30px;
  }
  .discord-avatar {
    margin-left: 24px;
  }
  .profile-banner {
    height: 135px;
  }
  .discord-badges > span::after {
    max-width: 205px;
  }
  .footer {
    padding: 30px 20px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html,
  body {
    scroll-behavior: auto;
  }
  .profile-stars i,
  .profile-stars b {
    animation: none;
  }
  .profile-stars i {
    display: none;
  }
  .profile-stars b {
    opacity: 0.25;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .project-media img,
  #programming-languages button {
    transition: none;
  }
}
.server-tag {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.discord-bio strong {
  min-height: 20px;
}
.project-card {
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.project-card:hover {
  border-color: #ffffff38;
  transform: translateY(-3px);
}
@media (prefers-reduced-motion: reduce) {
  .project-card:hover {
    transform: none;
  }
}

section {
  scroll-margin-top: 100px;
}
.top-nav {
  top: 0;
  padding: 0 24px;
}
.nav-inner {
  position: relative;
  min-height: 76px;
  padding: 17px 0;
  border: 0;
  border-bottom: 1px solid #ffffff12;
  border-radius: 0;
  background: #050505ee;
  max-width: 1080px;
}
.menu-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0 8px 12px;
  border: 0;
  background: none;
  color: #ccc;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.nav-pill {
  display: none;
  position: absolute;
  right: 0;
  top: 65px;
  width: 220px;
  flex-direction: column;
  align-items: stretch;
  padding: 10px;
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  background: #0a0a0a;
  box-shadow: 0 15px 50px #0009;
}
.nav-pill.menu-open {
  display: flex;
}
.nav-link {
  text-align: left;
  padding: 12px 14px;
  font-size: 14px;
}
.hero {
  display: block;
  min-height: 0;
  padding: 125px 64px 70px;
}
.profile-home {
  width: 100%;
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 90px;
  align-items: center;
}
.language-section {
  min-width: 0;
}
.language-section .languages-block {
  margin: 0;
}
.language-section h2 {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  color: #ddd;
}
.language-section #programming-languages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 24px;
  width: 100%;
  max-width: none;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}
.language-item {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 78px;
  border-bottom: 1px solid #ffffff12;
  padding: 16px 0;
}
.language-item img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.65;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.language-item:hover img {
  opacity: 1;
  transform: translateY(-2px);
}
.language-item > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.language-name {
  font-size: 14px;
  color: #ccc;
  font-weight: 550;
}
.language-duration {
  font-size: 11px;
  color: #777;
}
.language-symbol {
  display: grid;
  place-items: center;
  width: 26px;
  flex-shrink: 0;
  font:
    26px Georgia,
    serif;
  color: #999;
}
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.project-wrap {
  padding: 30px 0;
  border-bottom: 1px solid #ffffff12;
}
.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 55px;
  background: none;
  border: 0;
  border-radius: 0;
}
.project-card:hover {
  border: 0;
  transform: none;
}
.project-media {
  border: 1px solid #ffffff12;
  border-radius: 5px;
  aspect-ratio: 16/10;
}
.project-body {
  padding: 10px 0;
}
.project-title {
  font-size: 28px;
  letter-spacing: -0.04em;
}
.project-desc {
  font-size: 14px;
  line-height: 1.8;
}
.project-foot {
  margin-top: 24px;
}
.role-pill {
  border: 0;
  padding: 0;
  background: none;
}
.section-title {
  font-size: 36px;
}
.section + .section .container {
  padding-top: 45px;
}
.contact-grid > .glass {
  background: none;
  border: 0;
  padding: 0 !important;
}
.contact-grid .info-card {
  background: none;
  border: 0;
  border-bottom: 1px solid #ffffff12;
  border-radius: 0;
}
.hero .discord-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: normal;
}
.hero .container {
  padding: 0;
}
@media (max-width: 980px) {
  .hero {
    padding: 115px 32px 55px;
  }
  .profile-home {
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 45px;
  }
  .language-section #programming-languages {
    grid-template-columns: 1fr;
  }
  .language-item {
    min-height: 58px;
    padding: 10px 0;
  }
  .language-item > div {
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
  }
  .language-section h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .project-card {
    gap: 30px;
  }
}
@media (max-width: 720px) {
  .top-nav {
    padding: 0 20px;
  }
  .nav-inner {
    min-height: 64px;
    padding: 12px 0;
  }
  .brand-name {
    display: inline;
    font-size: 11px;
  }
  .nav-pill {
    display: none;
    top: 58px;
  }
  .nav-pill.menu-open {
    display: flex;
  }
  .hero {
    padding: 95px 20px 45px;
  }
  .profile-home {
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: center;
  }
  .language-section {
    width: 100%;
    max-width: 400px;
  }
  .language-section #programming-languages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 18px;
  }
  .language-item {
    min-height: 75px;
    gap: 12px;
    padding: 14px 0;
  }
  .language-item > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .language-name {
    font-size: 13px;
  }
  .language-duration {
    font-size: 10px;
  }
  .language-section h2 {
    font-size: 23px;
    margin-bottom: 20px;
  }
  .project-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .project-title {
    font-size: 25px;
  }
  .projects-grid {
    grid-template-columns: 1fr !important;
  }
  .project-body {
    padding: 0;
  }
  .section {
    padding: 50px 20px;
  }
  .section-title {
    font-size: 28px;
  }
  .section + .section .container {
    padding-top: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .language-item img {
    transition: none;
  }
  .language-item:hover img {
    transform: none;
  }
}
