:root {
  --bg: #070a10;
  --card-bg: rgba(18, 20, 28, 0.78);
  --stroke: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.65);
  --accent: #7aa7ff;
  --radius: 18px;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  background: var(--bg);
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  overflow-x: hidden;
}

/* Canvas background */
#bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  transform: translateZ(0);
}

/* Layout wrapper */
.wrap {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 32px;
}

/* Glass card base */
.card {
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.avatar {
  width: 112px;
  height: 112px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.heroText h1 {
  margin: 0 0 6px;
  font-size: 32px;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

/* Quick actions */
.quick {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  appearance: none;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  transition: background 140ms ease, transform 140ms ease;
}

.chip:hover {
  background: rgba(255, 255, 255, 0.10);
  transform: translateY(-1px);
}

/* Bio */
.bio {
  margin-top: 14px;
  padding: 18px;
}

.bio h2 {
  margin: 0 0 10px;
  font-size: 16px;
}

.bio p {
  margin: 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

/* Links grid */
.grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.link {
  grid-column: span 6;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.22);
}

.top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.link h3 {
  margin: 0;
  font-size: 16px;
}

.pill {
  font-size: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.75);
}

.desc {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.80);
}

.url {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* Launches */
.launches {
  margin-top: 14px;
  padding: 18px;
}

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

.launchList {
  display: grid;
  gap: 12px;
}

.launchItem {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 14px;
}

.launchName {
  margin: 0;
  font-size: 14px;
}

.launchSub {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.70);
}

.launchRow {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  font-size: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.78);
}

/* Footer */
.footer {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* Utility */
.muted {
  color: var(--muted);
}

.fineprint {
  font-size: 12px;
  margin-top: 12px;
}

/* Responsive */
@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .avatar {
    width: 96px;
    height: 96px;
  }

  .link {
    grid-column: span 12;
  }
}

/* Free use photos */
.photos {
  margin-top: 14px;
  padding: 18px;
}

.photosHead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.photosHead h2 {
  margin: 0 0 6px;
  font-size: 16px;
}

.photosControls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.input,
.select {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
  outline: none;
}

.input { min-width: 260px; }

.select {
  min-width: 160px;
  cursor: pointer;
}

.photoGrid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.photoCard {
  grid-column: span 4;
  padding: 12px;
  cursor: pointer;
  user-select: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.photoCard:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.22);
}

.photoThumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: rgba(0, 0, 0, 0.22);
}

.photoThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photoTitle {
  margin: 10px 0 0;
  font-size: 13px;
}

.photoViewer {
  width: 100%;
  margin-top: 12px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(0, 0, 0, 0.22);
}

/* Responsive */
@media (max-width: 920px) {
  .photoCard { grid-column: span 6; }
}
@media (max-width: 720px) {
  .photoCard { grid-column: span 12; }
  .input { min-width: 100%; }
  .select { min-width: 100%; }
}


.photoActions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.photoActions a {
  text-decoration: none;
}


/* Videos link card */
.videos {
  margin-top: 14px;
  padding: 18px;
}

.videosHead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.videosHead h2 {
  margin: 0 0 6px;
  font-size: 16px;
}
