:root {
  --font-display: "Baloo 2", "Arial Black", system-ui, sans-serif;
  --font-body: "Inter", Arial, system-ui, sans-serif;

  --bg: #060811;
  --bg-soft: #0b1020;
  --card: #11182d;
  --card-2: #151f3a;
  --text: #ffffff;
  --muted: #aeb7ca;
  --line: rgba(255, 255, 255, 0.12);
  --cyan: #36e2ff;
  --violet: #8b5cff;
  --gold: #ffd166;
  --green: #6df7b1;
  --red: #ff5c8a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 15% 10%, rgba(54, 226, 255, 0.16), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(139, 92, 255, 0.2), transparent 34%),
    radial-gradient(circle at 50% 80%, rgba(109, 247, 177, 0.08), transparent 34%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  display: block;
}

.page-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(6, 8, 17, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 20px;
  z-index: 60;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #02040a;
  box-shadow: 0 0 40px rgba(54, 226, 255, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}

.nav-links a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 11px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #050713;
  font-weight: 800;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  z-index: 60;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-button.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button.active span:nth-child(2) {
  opacity: 0;
}

.menu-button.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding: 86px 0 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 24px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 22px rgba(109, 247, 177, 0.9);
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 92px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.055em;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 5%, var(--cyan) 40%, var(--violet) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #02040a;
  border: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 640px;
}

.stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  margin-bottom: 8px;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.showcase-panel {
  position: relative;
  min-height: 560px;
  border-radius: 38px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.showcase-panel::before,
.showcase-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  opacity: 0.85;
}

.showcase-panel::before {
  width: 220px;
  height: 220px;
  right: -60px;
  top: -40px;
  background: rgba(54, 226, 255, 0.22);
}

.showcase-panel::after {
  width: 260px;
  height: 260px;
  left: -90px;
  bottom: -80px;
  background: rgba(139, 92, 255, 0.22);
}

.fake-video {
  position: relative;
  height: 100%;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(7, 10, 25, 0.2), rgba(7, 10, 25, 0.9)),
    radial-gradient(circle at 35% 25%, rgba(54, 226, 255, 0.42), transparent 24%),
    radial-gradient(circle at 70% 55%, rgba(139, 92, 255, 0.42), transparent 28%),
    radial-gradient(circle at 50% 80%, rgba(255, 209, 102, 0.2), transparent 20%),
    #10172b;
  overflow: hidden;
  z-index: 1;
}

.orbit {
  position: absolute;
  inset: 15%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  animation: rotate 18s linear infinite;
}

.orbit:nth-child(2) {
  inset: 25%;
  animation-duration: 12s;
  animation-direction: reverse;
}

.orb {
  position: absolute;
  width: 16px;
  height: 16px;
  top: -8px;
  left: 50%;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 30px var(--cyan);
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

.panel-tag {
  width: fit-content;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 900;
  z-index: 2;
}

.panel-content {
  z-index: 2;
}

.panel-content h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.05em;
  margin-bottom: 14px;
}

.panel-content p {
  color: var(--muted);
  max-width: 430px;
}

section {
  padding: 92px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}

.section-kicker {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.section-desc {
  max-width: 520px;
  color: var(--muted);
  font-size: 16px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
}

.glass-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.about-copy {
  padding: 34px;
}

.about-copy p + p {
  margin-top: 18px;
}

.about-copy p {
  color: var(--muted);
}

.about-copy strong {
  color: var(--text);
}

.profile-card {
  padding: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(54, 226, 255, 0.18), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 255, 0.2), transparent 34%),
    rgba(255, 255, 255, 0.055);
}

.avatar-placeholder {
  width: 100%;
  aspect-ratio: 1.08 / 1;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(54, 226, 255, 0.16), rgba(139, 92, 255, 0.14)),
    #0e1528;
  border: 1px solid var(--line);
  margin-bottom: 22px;
  overflow: hidden;
  position: relative;
}

.avatar-placeholder span {
  font-family: var(--font-display);
  font-size: clamp(64px, 11vw, 118px);
  font-weight: 800;
  letter-spacing: -0.1em;
  color: rgba(255, 255, 255, 0.14);
}

.profile-card h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}

.profile-card p {
  color: var(--muted);
}

.profile-note {
  margin-top: 16px;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.skill {
  min-height: 150px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.052);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.skill:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(255, 255, 255, 0.26);
}

.skill-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(54, 226, 255, 0.13);
  color: var(--cyan);
  font-weight: 1000;
  margin-bottom: 18px;
}

.skill h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.skill p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.project-card {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 26px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 255, 255, 0.28);
}

.project-wide {
  grid-column: 1 / -1;
  min-height: 360px;
}

.project-bg {
  position: absolute;
  inset: 0;
  opacity: 0.9;
  transition: transform 0.4s ease;
}

.project-card:hover .project-bg {
  transform: scale(1.06);
}

.project-bg.crop {
  background:
    radial-gradient(circle at 30% 20%, rgba(109, 247, 177, 0.48), transparent 26%),
    radial-gradient(circle at 75% 44%, rgba(255, 209, 102, 0.3), transparent 24%),
    linear-gradient(135deg, #112816, #0b1226 70%);
}

.project-bg.exp {
  background:
    radial-gradient(circle at 26% 24%, rgba(255, 209, 102, 0.55), transparent 25%),
    radial-gradient(circle at 70% 55%, rgba(54, 226, 255, 0.34), transparent 25%),
    linear-gradient(135deg, #2c1d08, #0a1020 70%);
}

.project-bg.aura {
  background:
    radial-gradient(circle at 48% 42%, rgba(54, 226, 255, 0.48), transparent 28%),
    radial-gradient(circle at 50% 70%, rgba(139, 92, 255, 0.32), transparent 26%),
    linear-gradient(135deg, #061b26, #0a1020 70%);
}

.project-bg.flash {
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.55), transparent 18%),
    radial-gradient(circle at 32% 58%, rgba(255, 92, 138, 0.38), transparent 25%),
    linear-gradient(135deg, #210814, #0a1020 70%);
}

.project-bg.ghost {
  background:
    radial-gradient(circle at 30% 30%, rgba(174, 183, 202, 0.32), transparent 24%),
    radial-gradient(circle at 72% 62%, rgba(139, 92, 255, 0.42), transparent 27%),
    linear-gradient(135deg, #171a25, #070a14 70%);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 7, 19, 0.96), rgba(5, 7, 19, 0.25), transparent);
}

.project-content {
  position: relative;
  z-index: 2;
}

.project-tag {
  display: inline-flex;
  margin-bottom: 15px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.project-card h3 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.055em;
  margin-bottom: 14px;
}

.project-card p {
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 18px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.095);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 800;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.showcase-box {
  min-height: 340px;
  padding: 28px;
  border-radius: 32px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(54, 226, 255, 0.08), rgba(139, 92, 255, 0.08)),
    rgba(255, 255, 255, 0.045);
  display: grid;
  place-items: center;
  text-align: center;
}

.showcase-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.showcase-box p {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
}

.showcase-list {
  padding: 30px;
}

.showcase-list h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.04em;
}

.showcase-list ul {
  list-style: none;
  display: grid;
  gap: 14px;
}

.showcase-list li {
  display: flex;
  gap: 12px;
  color: var(--muted);
}

.check {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(109, 247, 177, 0.14);
  color: var(--green);
  font-size: 13px;
  font-weight: 1000;
  margin-top: 2px;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.workflow-card {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.052);
}

.workflow-card span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #03050c;
  font-weight: 1000;
  margin-bottom: 18px;
}

.workflow-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.workflow-card p {
  color: var(--muted);
  font-size: 15px;
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: 44px;
  border-radius: 36px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 20%, rgba(54, 226, 255, 0.2), transparent 30%),
    radial-gradient(circle at 84% 40%, rgba(139, 92, 255, 0.22), transparent 35%),
    rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  max-width: 800px;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 70px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin-bottom: 20px;
}

.contact-card p {
  color: var(--muted);
  max-width: 650px;
  margin-bottom: 28px;
  font-size: 17px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
}

.footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .about-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .showcase-panel,
  .fake-video {
    min-height: 440px;
  }

  .skill-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 28px, var(--max));
  }

  .nav {
    height: 70px;
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 82px;
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(8, 11, 24, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 12px 14px;
    border-radius: 14px;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-cta {
    text-align: center;
  }

  .hero-stats,
  .project-grid,
  .skill-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 66px 0;
  }

  .section-head {
    display: block;
  }

  .section-desc {
    margin-top: 16px;
  }

  .about-copy,
  .profile-card,
  .showcase-list,
  .contact-card {
    padding: 24px;
  }

  .project-card {
    min-height: 390px;
    padding: 22px;
  }

  .project-wide {
    min-height: 390px;
  }

  .hero {
    min-height: auto;
  }
}

.video-feature {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
  padding: 24px;
  border-radius: 34px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 20%, rgba(54, 226, 255, 0.16), transparent 28%),
    radial-gradient(circle at 82% 58%, rgba(139, 92, 255, 0.2), transparent 34%),
    rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.video-feature-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: 12px;
}

.video-feature-content h3 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.055em;
  margin-bottom: 14px;
}

.video-feature-content p {
  color: var(--muted);
  max-width: 520px;
}

.feature-video {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: #050713;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.video-card {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.28);
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #050713;
  border-bottom: 1px solid var(--line);
}

.video-info {
  padding: 22px;
}

.video-info h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.video-info p {
  color: var(--muted);
  font-size: 15px;
}

.video-card-wide {
  grid-column: 1 / -1;
}

.video-card-wide video {
  max-height: 520px;
}

@media (max-width: 980px) {
  .video-feature {
    grid-template-columns: 1fr;
  }

  .video-feature-content {
    min-height: auto;
  }

  .feature-video {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 760px) {
  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-card-wide {
    grid-column: auto;
  }

  .video-feature {
    padding: 16px;
    border-radius: 26px;
  }

  .video-info {
    padding: 18px;
  }
}

.project-card-video {
  position: relative;
  background: #050713;
  overflow: hidden;
}

.project-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  opacity: 0.95;
  z-index: 0;
  pointer-events: none;
  transform: scale(1.01);
  transition: transform 0.45s ease, opacity 0.25s ease;
}

.project-card-video:hover .project-video-bg {
  transform: scale(1.07);
  opacity: 1;
}

.project-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to top,
      rgba(5, 7, 19, 0.92) 0%,
      rgba(5, 7, 19, 0.58) 48%,
      rgba(5, 7, 19, 0.18) 100%
    );
}

.project-card-video::after {
  display: none;
}

.project-card-video .project-content {
  position: relative;
  z-index: 2;
}

.project-card-media-layout {
  padding: 0;
  justify-content: flex-start;
  min-height: 520px;
  background: #050713;
  overflow: hidden;
}

.project-card-media-layout::after {
  display: none;
}

.project-card-video-frame {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: #050713;
  border-bottom: 1px solid var(--line);
}

.project-card-visible-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #050713;
}

.project-card-media-layout .project-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
}

.project-card-media-layout:hover .project-card-visible-video {
  transform: scale(1.03);
}

.project-card-visible-video {
  transition: transform 0.35s ease;
}

@media (max-width: 760px) {
  .project-card-media-layout {
    min-height: auto;
  }

  .project-card-video-frame {
    height: 220px;
  }

  .project-card-media-layout .project-content {
    padding: 22px;
  }
}
.avatar-placeholder {
  padding: 0;
  display: block;
  background: #0e1528;
  overflow: hidden;
}

.avatar-placeholder span {
  display: none;
}

.profile-avatar-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
}
.hero-gif-panel {
  min-height: 560px;
  padding: 20px;
  display: block;
}

.hero-gif-image {
  width: 100%;
  height: 520px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: #050713;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

@media (max-width: 980px) {
  .hero-gif-panel {
    min-height: auto;
  }

  .hero-gif-image {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}