:root {
  --bg: #0f0b17;
  --panel: rgba(29, 24, 42, 0.78);
  --panel-solid: #1d192a;
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #f8eff7;
  --text-soft: rgba(248, 239, 247, 0.62);
  --rose: #ff6ea9;
  --blush: #ff98bd;
  --peach: #f8b365;
  --mint: #7fe3c0;
  --gold: #f4c56c;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --font-display: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  --font-body: "Segoe UI", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 110, 169, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(248, 179, 101, 0.1), transparent 22%),
    linear-gradient(180deg, #120f1c 0%, #0c0914 100%);
  color: var(--text);
  font-family: var(--font-body);
}

button,
a {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.background-glow {
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  pointer-events: none;
}

.background-glow-left {
  top: -10rem;
  left: -12rem;
  background: var(--rose);
}

.background-glow-right {
  top: 10rem;
  right: -12rem;
  background: #ffcab9;
}

.dashboard {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 60px;
}

.hero-panel {
  position: relative;
  padding-top: 8px;
}

.hero-shell {
  position: relative;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 44px 44px 108px 44px / 44px 44px 76px 44px;
  padding: 54px 34px 86px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 110, 169, 0.12), transparent 18%),
    radial-gradient(circle at 88% 16%, rgba(248, 179, 101, 0.08), transparent 18%),
    linear-gradient(145deg, rgba(28, 24, 39, 0.96), rgba(20, 17, 30, 0.96)),
    rgba(19, 15, 29, 0.9);
  box-shadow: var(--shadow);
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.08), transparent 25%, transparent 75%, rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 50% 10%, rgba(255, 110, 169, 0.07), transparent 34%);
  pointer-events: none;
}

.hero-shell::after {
  content: "";
  position: absolute;
  top: 58px;
  right: 84px;
  width: 240px;
  height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 43% 57% 45% 55% / 58% 39% 61% 42%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 151, 183, 0.16), transparent 55%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.03), rgba(255, 110, 169, 0.02));
  filter: blur(1px);
  opacity: 0.75;
  pointer-events: none;
  animation: float-ornament 9s ease-in-out infinite;
}

.hero-window {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 12px));
  min-height: 560px;
  margin: 0 auto;
  border-radius: 68px 152px 72px 148px / 56px 68px 138px 92px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 110, 169, 0.1), transparent 18%),
    radial-gradient(circle at 84% 72%, rgba(248, 179, 101, 0.07), transparent 20%),
    linear-gradient(180deg, rgba(25, 22, 37, 0.92), rgba(22, 18, 33, 0.98)),
    var(--panel-solid);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 60px rgba(0, 0, 0, 0.28);
  isolation: isolate;
  overflow: visible;
}

.hero-window::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255, 110, 169, 0.38), rgba(248, 179, 101, 0.1), rgba(255, 255, 255, 0.04));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-window::after {
  content: "";
  position: absolute;
  left: -34px;
  bottom: 44px;
  width: 132px;
  height: 132px;
  border-radius: 54% 46% 61% 39% / 42% 59% 41% 58%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 196, 220, 0.22), transparent 38%),
    linear-gradient(145deg, rgba(255, 110, 169, 0.16), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
  z-index: -1;
  animation: float-ornament-reverse 11s ease-in-out infinite;
}

.window-dots {
  display: flex;
  gap: 10px;
  width: fit-content;
  margin: 24px 0 0 26px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-rose {
  background: #f66b7a;
}

.dot-peach {
  background: var(--peach);
}

.dot-mint {
  background: #56d98c;
}

.floating-badge {
  position: absolute;
  top: -18px;
  right: 34px;
  padding: 13px 18px;
  border-radius: 20px 20px 20px 6px;
  background: linear-gradient(135deg, #f6cf73, #f5a34d);
  color: #4f2f0e;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 28px rgba(245, 163, 77, 0.3);
  transform: rotate(7deg);
}

.floating-badge::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -9px;
  width: 16px;
  height: 16px;
  background: inherit;
  border-radius: 0 0 4px 0;
  transform: rotate(45deg);
}

.hero-content {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px 28px 88px;
  isolation: isolate;
}

.hero-content::before {
  content: "";
  position: absolute;
  top: 18px;
  width: 248px;
  height: 248px;
  border-radius: 47% 53% 58% 42% / 44% 39% 61% 56%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 110, 169, 0.16), transparent 58%),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.08), transparent 24%);
  filter: blur(0.3px);
  z-index: -1;
  animation: pulse-orbit 7s ease-in-out infinite;
}

.avatar-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), #ffd7e3);
  box-shadow:
    0 0 0 6px rgba(255, 110, 169, 0.08),
    0 20px 48px rgba(255, 110, 169, 0.18);
}

.avatar-core {
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.28), transparent 30%),
    linear-gradient(180deg, #443049, #211a31);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-kicker {
  margin: 34px 0 12px;
  color: rgba(248, 239, 247, 0.4);
  letter-spacing: 0.28em;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.3rem, 7vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.hero-subtitle {
  width: min(580px, 100%);
  margin: 20px auto 32px;
  color: var(--text-soft);
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.75;
}

.hero-subtitle .accent {
  color: var(--peach);
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(68, 189, 154, 0.18), rgba(84, 218, 162, 0.08));
  color: #73e7be;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(115, 231, 190, 0.12);
}

.power-button {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: none;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffb7d0, #ef5d9b 60%, #a62d63 100%);
  box-shadow:
    inset 0 4px 8px rgba(255, 255, 255, 0.16),
    0 14px 30px rgba(255, 110, 169, 0.34);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.power-button:hover {
  transform: translateX(-50%) translateY(-4px);
  box-shadow:
    inset 0 4px 8px rgba(255, 255, 255, 0.16),
    0 18px 34px rgba(255, 110, 169, 0.42);
}

.power-icon {
  position: relative;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-top-color: transparent;
  border-radius: 50%;
}

.power-icon::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 3px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  transform: translateX(-50%);
}

.ticker {
  margin: 26px auto 48px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ticker-track {
  display: flex;
  gap: 28px;
  min-width: max-content;
  animation: ticker-scroll 28s linear infinite;
}

.ticker-item {
  color: rgba(248, 239, 247, 0.26);
  font-size: 0.96rem;
  letter-spacing: 0.24em;
  white-space: nowrap;
  text-transform: uppercase;
  font-weight: 700;
}

.ticker-separator {
  color: rgba(248, 179, 101, 0.72);
}

.scroll-indicator {
  display: grid;
  place-items: center;
  gap: 10px;
  margin-bottom: 34px;
  color: rgba(248, 239, 247, 0.34);
  letter-spacing: 0.22em;
  font-size: 0.8rem;
}

.scroll-indicator p {
  margin: 0;
}

.scroll-arrows {
  display: grid;
  gap: 4px;
}

.scroll-arrows span {
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(248, 239, 247, 0.5);
  border-bottom: 2px solid rgba(248, 239, 247, 0.5);
  transform: rotate(45deg);
  animation: arrow-bounce 1.6s infinite;
}

.scroll-arrows span:last-child {
  animation-delay: 0.14s;
}

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

.project-card {
  position: relative;
  min-height: 286px;
  padding: 32px 32px 28px;
  border-radius: 28px;
  border: 1px solid var(--panel-border);
  background:
    linear-gradient(180deg, rgba(28, 24, 39, 0.92), rgba(20, 17, 30, 0.96)),
    var(--panel);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 22px 54px rgba(0, 0, 0, 0.2);
  isolation: isolate;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 0.7s ease forwards;
  animation-delay: calc(var(--stagger) * 120ms);
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--accent);
}

.project-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%);
  z-index: -1;
}

.project-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--accent) 20%, rgba(255, 255, 255, 0.04));
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.project-eyebrow {
  margin: 22px 0 2px;
  color: rgba(248, 239, 247, 0.46);
  text-transform: uppercase;
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.project-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.4rem);
  line-height: 1;
}

.project-description {
  margin: 18px 0 22px;
  color: var(--text-soft);
  font-size: 1.04rem;
  line-height: 1.75;
  max-width: 32rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-right: 74px;
}

.tag {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(248, 239, 247, 0.66);
  font-size: 0.82rem;
  font-weight: 700;
}

.project-link {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  text-decoration: none;
  font-size: 1.3rem;
  transition: transform 180ms ease, background 180ms ease;
}

.project-link:hover {
  transform: translateY(-3px);
  background: color-mix(in srgb, var(--accent) 28%, rgba(255, 255, 255, 0.08));
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 44px 4px 10px;
  color: rgba(248, 239, 247, 0.32);
  font-size: 0.92rem;
}

.footer p {
  margin: 0;
}

.footer-link {
  color: inherit;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.7);
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes arrow-bounce {
  0%,
  100% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 0.3;
  }

  50% {
    transform: rotate(45deg) translate(4px, 4px);
    opacity: 1;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-ornament {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(18px, -10px) rotate(8deg);
  }
}

@keyframes float-ornament-reverse {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(-8px, 12px) rotate(-10deg);
  }
}

@keyframes pulse-orbit {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.06) rotate(8deg);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .hero-shell {
    border-radius: 38px 38px 88px 38px / 38px 38px 62px 38px;
    padding: 30px 20px 74px;
  }

  .hero-window {
    width: 100%;
    min-height: 500px;
    border-radius: 56px 110px 62px 114px / 50px 56px 118px 76px;
  }

  .hero-shell::after {
    right: 30px;
    width: 180px;
    height: 130px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .dashboard {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .hero-window {
    min-height: 470px;
    border-radius: 38px 76px 48px 82px / 40px 40px 86px 56px;
  }

  .floating-badge {
    top: -10px;
    right: 18px;
    padding: 10px 14px;
    font-size: 0.76rem;
    transform: rotate(4deg);
  }

  .hero-content {
    padding: 8px 18px 66px;
  }

  .hero-content::before {
    top: 28px;
    width: 200px;
    height: 200px;
  }

  .window-dots {
    margin-left: 16px;
    padding: 12px 16px;
  }

  .hero-kicker {
    margin-top: 26px;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
  }

  .hero-title {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .hero-subtitle {
    line-height: 1.6;
  }

  .ticker {
    margin: 22px auto 42px;
  }

  .ticker-item {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
  }

  .project-card {
    min-height: 0;
    padding: 26px 22px 28px;
  }

  .project-title {
    font-size: 1.9rem;
  }

  .project-description {
    font-size: 0.98rem;
  }

  .project-link {
    right: 20px;
    bottom: 20px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 34px;
  }
}
