:root {
  --bg: #090b10;
  --surface: #10141c;
  --surface-hover: #151b26;
  --border: rgba(255, 255, 255, .08);
  --text: #f2f5fa;
  --muted: #919baa;
  --accent: #91f2b3;
  --accent-dark: #5ad58b;
  --radius: 20px;
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px
}

body {
  font-family: Inter, sans-serif;
  background: radial-gradient(ellipse at 50% -20%, rgba(91, 213, 139, .12), transparent 55%), var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .16;
  background-image: radial-gradient(rgba(255, 255, 255, .13) .7px, transparent .7px);
  background-size: 25px 25px;
  mask-image: linear-gradient(to bottom, black, transparent 75%)
}

a {
  color: inherit;
  text-decoration: none
}

a:focus-visible,
button:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px
}

.container {
  width: min(var(--max-width), 90%);
  margin-inline: auto
}

.accent {
  color: var(--accent)
}

.muted {
  color: var(--muted)
}

.section {
  padding: 100px 0 20px
}

.section-heading {
  margin-bottom: 32px
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px
}

.eyebrow:before {
  content: "";
  height: 1px;
  width: 23px;
  background: var(--accent)
}

.section-title {
  font-size: clamp(27px, 4vw, 38px);
  letter-spacing: -1.3px;
  line-height: 1.25;
  margin-bottom: 12px
}

.section-description {
  max-width: 590px;
  color: var(--muted);
  font-size: 15px
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 11, 16, .8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border)
}

.nav {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.6px;
  flex-shrink: 0
}

.brand-logo {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  color: var(--accent);
  background: conic-gradient(var(--accent) 0deg var(--progress, 0deg), rgba(145, 242, 179, .13) var(--progress, 0deg) 360deg);
  box-shadow: 0 0 18px rgba(145, 242, 179, .12)
}

.brand-logo::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #10141c;
  border: 1px solid rgba(145, 242, 179, .12)
}

.brand-progress {
  position: relative;
  z-index: 1;
  font-size: 9px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.3px
}

.brand-text small {
  display: block;
  color: var(--muted);
  font: 10px Inter, sans-serif;
  letter-spacing: 1.1px;
  margin-top: -2px
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px
}

.nav-links a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  transition: color .2s;
  white-space: nowrap
}

.nav-links a:hover {
  color: var(--accent)
}

.nav-links .contact-link {
  padding: 10px 16px;
  border: 1px solid rgba(145, 242, 179, .3);
  border-radius: 11px;
  color: var(--accent)
}

.nav-links .contact-link:hover {
  background: rgba(145, 242, 179, .1)
}

.hero {
  min-height: 610px;
  display: flex;
  align-items: center;
  padding: 85px 0 75px
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 55px
}

.hero h1 {
  font-size: clamp(39px, 5.2vw, 66px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -3px;
  margin-bottom: 23px
}

.hero h1 .highlight {
  color: var(--accent)
}

.hero-description {
  max-width: 680px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 19px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .25s, background .25s, border-color .25s
}

.button:hover {
  transform: translateY(-3px)
}

.button-primary {
  color: #07110b;
  background: var(--accent)
}

.button-primary:hover {
  background: #b8ffcd
}

.button-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .025)
}

.button-secondary:hover {
  border-color: rgba(145, 242, 179, .4);
  background: var(--surface)
}

.hero-visual {
  position: relative;
  min-height: 365px;
  display: grid;
  place-items: center
}

.glow {
  position: absolute;
  width: 260px;
  height: 260px;
  background: rgba(91, 213, 139, .12);
  filter: blur(85px);
  border-radius: 50%
}

.profile-card {
  position: relative;
  width: min(100%, 330px);
  padding: 31px;
  background: linear-gradient(145deg, #171e28, #0d1118);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 25px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
  transform: rotate(2deg);
  transition: transform .35s
}

.profile-card:hover {
  transform: rotate(0) translateY(-5px)
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px
}

.card-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #b8ffcd, #5ad58b);
  color: #07110b;
  font: 800 17px Consolas, Monaco, monospace;
  letter-spacing: -2px
}

.card-label {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase
}

.card-code {
  color: var(--accent);
  font: 13px/2 monospace;
  background: rgba(0, 0, 0, .22);
  border: 1px solid var(--border);
  padding: 15px;
  border-radius: 12px;
  overflow-wrap: anywhere
}

.card-code .comment {
  color: #72817a
}

.card-code .keyword {
  color: #c6a7ff
}

.card-code .string {
  color: #ffd18c
}

.about-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  padding: 35px;
  border-radius: var(--radius);
  background: linear-gradient(140deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border: 1px solid var(--border)
}

.about-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 2
}

.about-card p+p {
  margin-top: 15px
}

.about-card strong {
  color: var(--text)
}

.focus-list {
  display: grid;
  gap: 13px;
  align-content: center
}

.focus-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px;
  background: rgba(255, 255, 255, .025);
  border: 1px solid var(--border);
  border-radius: 14px
}

.focus-item h3 {
  font-size: 13px;
  margin-bottom: 3px
}

.focus-item p {
  font-size: 12px;
  line-height: 1.7
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.stat-card {
  padding: 27px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 17px;
  transition: border-color .25s, transform .25s
}

.stat-card:hover {
  border-color: rgba(145, 242, 179, .3);
  transform: translateY(-4px)
}

.stat-number {
  color: var(--accent);
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 5px
}

.stat-card h3 {
  font-size: 14px;
  margin-bottom: 6px
}

.stat-card p {
  color: var(--muted);
  font-size: 12px
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px
}

.skill-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 17px;
  transition: border-color .25s
}

.skill-card:hover {
  border-color: rgba(145, 242, 179, .3)
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px
}

.skill-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700
}

.skill-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: rgba(145, 242, 179, .08);
  border-radius: 11px;
  font-size: 12px;
  font-weight: 800
}

.skill-category {
  color: var(--muted);
  font-size: 10px
}

.skill-card p {
  color: var(--muted);
  font-size: 12px
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 23px
}

.tech-tag {
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: #b9c3d0;
  background: rgba(255, 255, 255, .025);
  font-size: 11px;
  font-weight: 600
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 26px;
  overflow: hidden;
  background: linear-gradient(145deg, #131923, #0d1118);
  border: 1px solid var(--border);
  border-radius: 19px;
  transition: transform .25s, border-color .25s
}

.project-card:after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  background: rgba(145, 242, 179, .07);
  filter: blur(15px);
  pointer-events: none
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(145, 242, 179, .3)
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 23px
}

.project-type {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px
}

.project-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  letter-spacing: -.4px
}

.project-card>p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 20px
}

.project-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto
}

.project-footer span {
  color: #aab5c2;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 600
}

.music-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(145, 242, 179, .17);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(19, 25, 35, .98), rgba(13, 17, 24, .98))
}

.music-card:before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -100px;
  top: -150px;
  border-radius: 50%;
  background: rgba(29, 185, 84, .12);
  filter: blur(55px);
  pointer-events: none
}

.music-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px
}

.music-heading {
  display: flex;
  align-items: center;
  gap: 13px
}

.spotify-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(29, 185, 84, .12);
  color: #1ed760;
  font-size: 25px
}

.music-heading h3 {
  font-size: 16px;
  margin-bottom: 2px
}

.music-heading p {
  font-size: 11px;
  color: var(--muted)
}

.spotify-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(29, 185, 84, .35);
  border-radius: 10px;
  color: #1ed760;
  font-size: 11px;
  font-weight: 700;
  transition: .2s;
  white-space: nowrap
}

.spotify-link:hover {
  background: rgba(29, 185, 84, .1);
  border-color: #1ed760
}

.spotify-frame {
  position: relative;
  width: 100%;
  height: 352px;
  border: 0;
  border-radius: 14px;
  background: #121212
}

.music-note {
  margin-top: 13px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px
}

.profile-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px;
  border-radius: 15px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color .25s, transform .25s, background .25s
}

.profile-link:hover {
  border-color: rgba(145, 242, 179, .35);
  background: var(--surface-hover);
  transform: translateY(-4px)
}

.profile-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, .05);
  border-radius: 11px;
  font-size: 17px;
  font-weight: 800
}

.profile-link h3 {
  font-size: 12px;
  margin-bottom: 2px
}

.profile-link p {
  color: var(--muted);
  font-size: 10px
}

.contact-card {
  position: relative;
  padding: 48px 30px;
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(145, 242, 179, .17);
  border-radius: 23px;
  background: radial-gradient(ellipse at 50% 120%, rgba(91, 213, 139, .14), transparent 65%), var(--surface)
}

.contact-card h2 {
  font-size: clamp(26px, 4vw, 39px);
  letter-spacing: -1.2px;
  line-height: 1.3;
  margin-bottom: 13px
}

.contact-card p {
  max-width: 490px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px
}

.contact-card .button {
  margin-top: 24px
}

footer {
  margin-top: 90px;
  border-top: 1px solid var(--border)
}

.footer-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-align: center
}

.footer-inner p {
  color: var(--muted);
  font-size: 11px
}

.playground {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #131923, #0d1118)
}

.playground-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .02)
}

.playground-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700
}

.playground-actions {
  display: flex;
  gap: 8px
}

.playground-btn {
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 9px 13px;
  color: var(--text);
  background: rgba(255, 255, 255, .035);
  font: 700 11px Inter, sans-serif;
  cursor: pointer;
  transition: .2s
}

.playground-btn:hover {
  border-color: rgba(145, 242, 179, .4)
}

.playground-btn.run {
  color: #07110b;
  background: var(--accent);
  border-color: var(--accent)
}

.playground-btn.run:hover {
  background: #b8ffcd
}

.playground-grid {
  display: grid;
  grid-template-columns: 1fr 1fr
}

.playground-editor {
  min-width: 0;
  border-right: 1px solid var(--border)
}

.playground-label {
  display: flex;
  justify-content: space-between;
  padding: 11px 15px;
  color: #c4cbd5;
  background: rgba(255, 255, 255, .025);
  border-bottom: 1px solid var(--border);
  font-size: 10px;
  font-weight: 700
}

.playground-label span:last-child {
  color: var(--muted);
  font-weight: 500
}

#htmlEditor {
  display: block;
  width: 100%;
  min-height: 370px;
  resize: vertical;
  border: 0;
  outline: 0;
  padding: 17px;
  color: #c6e9d0;
  background: #0b0e14;
  font: 12px/1.8 Consolas, Monaco, monospace;
  tab-size: 2;
  white-space: pre;
  overflow: auto
}

.preview-container {
  min-width: 0;
  min-height: 370px;
  background: #fff
}

#htmlPreview {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 370px;
  border: 0;
  background: #fff
}

.playground-note {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7
}

.playground-note strong {
  color: var(--text)
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0)
}

@media(prefers-reduced-motion:reduce) {

  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}

@media(max-width:900px) {
  .nav-links {
    gap: 13px
  }

  .hero-grid {
    gap: 25px
  }

  .hero h1 {
    letter-spacing: -2px
  }

  .profiles-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .about-card {
    gap: 23px;
    padding: 25px
  }
}

@media(max-width:680px) {
  .nav {
    min-height: 68px;
    flex-wrap: wrap;
    padding: 13px 0;
    gap: 13px
  }

  .brand {
    font-size: 17px
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding: 3px 0 5px;
    scrollbar-width: none
  }

  .nav-links::-webkit-scrollbar {
    display: none
  }

  .nav-links a {
    white-space: nowrap;
    font-size: 12px
  }

  .nav-links .contact-link {
    padding: 5px 10px
  }

  .hero {
    min-height: auto;
    padding: 65px 0 35px
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 35px
  }

  .hero h1 {
    font-size: clamp(39px, 10vw, 53px);
    letter-spacing: -2px
  }

  .hero-description {
    font-size: 14px
  }

  .hero-visual {
    min-height: 320px
  }

  .profile-card {
    max-width: 300px
  }

  .section {
    padding-top: 75px
  }

  .about-card {
    grid-template-columns: 1fr;
    padding: 21px;
    gap: 25px
  }

  .experience-grid {
    grid-template-columns: 1fr
  }

  .stat-card {
    padding: 22px
  }

  .stat-number {
    font-size: 28px
  }

  .skills-grid,
  .projects-grid {
    grid-template-columns: 1fr
  }

  .project-card {
    min-height: 240px
  }

  .profiles-grid {
    gap: 10px
  }

  .profile-link {
    padding: 12px 10px;
    gap: 9px
  }

  .profile-icon {
    width: 32px;
    height: 32px
  }

  .contact-card {
    padding: 37px 20px
  }

  .footer-inner {
    min-height: 80px
  }

  .playground-toolbar {
    align-items: flex-start;
    flex-direction: column
  }

  .playground-actions {
    width: 100%
  }

  .playground-btn {
    flex: 1
  }

  .playground-grid {
    grid-template-columns: 1fr
  }

  .playground-editor {
    border-right: 0;
    border-bottom: 1px solid var(--border)
  }

  #htmlEditor {
    min-height: 280px
  }

  .preview-container,
  #htmlPreview {
    min-height: 320px
  }

  .music-card {
    padding: 17px
  }

  .music-header {
    align-items: flex-start;
    flex-direction: column
  }

  .spotify-frame {
    height: 352px
  }
}