:root {
  --bg-base: #0d0911;
  --bg-mid: #16101c;
  --bg-deep: #201527;

  --text-main: #f2e7fb;
  --text-soft: #8d7d98;

  /* ✅ UPDATED (better links) */
  --accent: #7dd3fc;
  --accent-hover: #38bdf8;

  --line: rgba(255,255,255,0.08);
  --panel: rgba(255,255,255,0.03);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "SFMono-Regular", "Menlo", "Monaco", "Consolas", "Liberation Mono", monospace;
  background: linear-gradient(135deg, var(--bg-base), var(--bg-mid) 52%, var(--bg-deep));
  color: var(--text-main);
  overflow-x: hidden;
}

/* ===== BACKGROUND ===== */
.background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, #0b0810 0%, #140d18 45%, #1a1220 100%);
}

/* subtle top light (premium feel) */
.background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.035), transparent 140px);
  pointer-events: none;
}

/* 🔥 PREMIUM TRICK: soft noise texture */
.background::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

/* ===== ORBS ===== */
.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(100px);
  transform-origin: center;
  will-change: transform, filter;
}

/* MAIN ORB (anchored top-right corner) */
.orb-a {
  width: 65vw;
  height: 65vw;
  min-width: 520px;
  min-height: 520px;

  right: -32vw;
  top: -32vw;

  background: radial-gradient(circle,
    rgba(120,180,255,0.6) 0%,
    rgba(120,255,200,0.35) 20%,
    rgba(180,120,255,0.28) 45%,
    rgba(255,140,100,0.22) 65%,
    rgba(255,120,180,0.12) 75%,
    transparent 85%
  );

  animation: driftA 14s ease-in-out infinite alternate;
}

/* SECONDARY */
.orb-b {
  width: 42vw;
  height: 42vw;
  right: -10vw;
  top: 8vh;

  background: radial-gradient(circle,
    rgba(100,140,255,0.45) 0%,
    rgba(140,255,180,0.3) 30%,
    rgba(200,120,255,0.22) 55%,
    rgba(255,120,180,0.15) 75%,
    transparent 85%
  );

  animation: driftB 16s ease-in-out infinite alternate;
}

/* ACCENT ORB */
.orb-c {
  width: 30vw;
  height: 30vw;
  right: -6vw;
  top: 30vh;

  background: radial-gradient(circle,
    rgba(255,160,110,0.35) 0%,
    rgba(255,220,140,0.2) 35%,
    rgba(120,200,255,0.18) 60%,
    transparent 85%
  );

  animation: driftC 15s ease-in-out infinite alternate;
}

/* ===== ANIMATIONS ===== */

@keyframes driftA {
  0% {
    transform: translate3d(0,0,0) scale(0.9);
    filter: blur(95px) hue-rotate(0deg);
  }
  50% {
    transform: translate3d(-6vw, 5vh, 0) scale(1.25);
    filter: blur(120px) hue-rotate(60deg);
  }
  100% {
    transform: translate3d(-2vw, -2vh, 0) scale(1.05);
    filter: blur(105px) hue-rotate(-20deg);
  }
}

@keyframes driftB {
  0% {
    transform: translate3d(0,0,0) scale(1);
    filter: blur(90px) hue-rotate(0deg);
  }
  50% {
    transform: translate3d(5vw, -3vh, 0) scale(0.85);
    filter: blur(110px) hue-rotate(70deg);
  }
  100% {
    transform: translate3d(-3vw, 3vh, 0) scale(1.2);
    filter: blur(95px) hue-rotate(25deg);
  }
}

@keyframes driftC {
  0% {
    transform: translate3d(0,0,0) scale(0.9);
    filter: blur(85px) hue-rotate(0deg);
  }
  50% {
    transform: translate3d(-4vw, -4vh, 0) scale(1.2);
    filter: blur(105px) hue-rotate(-40deg);
  }
  100% {
    transform: translate3d(4vw, -1vh, 0) scale(1.05);
    filter: blur(95px) hue-rotate(20deg);
  }
}
.site {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: rgba(13, 9, 17, 0.18);
  backdrop-filter: blur(10px);
}


.brand,
.nav-links a {
  color: var(--text-soft);
  transition: color 0.2s ease;
}

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

.brand {
  color: rgba(255,255,255,0.58);
}

.nav-links {
  display: flex;
  gap: 30px;
}


.page {
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: 110px 28px 64px;
}

.terminal {
  max-width: 640px;
}

.headline {
  margin: 0;
  font-size: 24px;
  line-height: 1.38;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.headline strong {
  color: #fff;
  font-weight: 600;
}

.lead {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 42rem;
}

.prompt {
  margin-top: 34px;
  color: var(--text-soft);
  font-size: 17px;
}
.link-list a:hover {
  color: var(--accent-hover);
  text-shadow: 0 0 8px rgba(255,255,255,0.2);
}

.link-list,
.command-list {
  margin-top: 20px;
}

.link-list a,
.command-list a,
.command-list span {
  display: block;
  width: fit-content;
  margin: 8px 0;
  color: var(--accent);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.45;
  transition: color 180ms ease;
}

.link-list a:hover,
.command-list a:hover {
  color: var(--accent-hover);
}

.cursor-line {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}

.cursor {
  width: 20px;
  height: 34px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  border-left-width: 3px;
  opacity: 0.9;
  animation: blink 1.15s steps(1) infinite;
}

.content-block {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  max-width: 56rem;
}

.content-block p,
.content-block li {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.8;
}

.content-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.content-block li + li {
  margin-top: 10px;
}

.grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 800px;
}

.card {
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.card h3 {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: #fff;
  font-weight: 500;
}

.card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.footer-note {
  margin-top: 26px;
  color: rgba(255,255,255,0.32);
  font-size: 11px;
  letter-spacing: 0.18em;
}

@keyframes blink {
  0%, 48% { opacity: 0.92; }
  50%, 100% { opacity: 0.18; }
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
  text-shadow: 0 0 6px rgba(255,255,255,0.15);
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .page {
    align-items: center;
    padding: 32px 24px 48px;
  }

  .headline {
    font-size: 21px;
  }

  .lead,
  .content-block p,
  .content-block li {
    font-size: 16px;
  }

  .prompt,
  .link-list a,
  .command-list a,
  .command-list span,
  .cursor-line {
    font-size: 17px;
  }

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 6px;
  letter-spacing: 0.08em;
}

input[type="text"],
textarea,
input[type="file"] {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  color: var(--text-main);
  outline: none;
  font-family: inherit;
}

textarea {
  resize: vertical;
}

.error {
  color: #ff6b6b;
  font-size: 12px;
  margin-top: 5px;
}

.preview-box {
  margin-top: 8px;
  border: 1px solid var(--line);
  padding: 8px;
  background: var(--panel);
}

.preview-box img {
  max-width: 100%;
  height: auto;
  display: block;
}

.actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  color: var(--text-soft);
  padding: 10px 14px;
  text-decoration: none;
  border: 1px solid var(--line);
}

.nav-link-btn {
  background: none;
  border: none;
  padding: 0;
  margin-left: 20px;

  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.28em;

  color: rgba(255,255,255,0.36);
  cursor: pointer;
  transition: color 0.2s ease;
  text-transform: uppercase;
}

.nav-link-btn:hover {
  color: var(--accent);
}
.nav-user {
  color: var(--text-soft);
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-right: 10px;
}

input {
  border-radius: 4px;
}

input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(125, 211, 252, 0.2);
}
.stat-number {
  font-size: 24px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.03em;
}