.build-project-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--text, #ebf7ff);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(10, 17, 28, 0.96));
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.2), 0 8px 0 rgba(0,0,0,0.18);
}

.build-project-preview {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  color: #eaf6ff;
  background: #091323;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.build-project-preview--hero {
  aspect-ratio: 16 / 9;
}

.mock-browser {
  position: absolute;
  inset: 7%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 9px;
  background: #f4f8fc;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  color: #13243a;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.mock-browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 13%;
  min-height: 14px;
  padding: 0 3%;
  background: #e4ebf3;
}

.mock-browser-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fb7185;
}

.mock-browser-dot:nth-child(2) { background: #fbbf24; }
.mock-browser-dot:nth-child(3) { background: #34d399; }

.mock-browser-address {
  width: 38%;
  height: 7px;
  margin-left: 5px;
  border-radius: 99px;
  background: rgba(15, 23, 42, 0.12);
}

.mock-browser-content {
  position: relative;
  height: 87%;
  overflow: hidden;
}

.mock-website {
  padding: 5% 7%;
  background: linear-gradient(135deg, #f8fbff, #dceeff);
}

.mock-site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(5px, 0.8vw, 10px);
  font-weight: 800;
  color: #193553;
}

.mock-site-nav span:last-child {
  width: 27%;
  height: 5px;
  border-radius: 9px;
  background: #b4cae0;
}

.mock-website-hero {
  display: flex;
  align-items: center;
  gap: 7%;
  height: 72%;
  padding-top: 4%;
}

.mock-website-copy { flex: 1; }

.mock-line {
  display: block;
  width: 70%;
  height: 5px;
  margin: 5px 0;
  border-radius: 9px;
  background: #a9bed4;
}

.mock-line--bold {
  width: 90%;
  height: 11px;
  background: #1e3a5f;
}

.mock-line--short { width: 48%; }

.mock-site-button {
  display: block;
  width: 38%;
  height: 10px;
  margin-top: 10px;
  border-radius: 99px;
  background: #0ea5e9;
}

.mock-portrait {
  width: 34%;
  aspect-ratio: 1;
  border: 5px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  background: radial-gradient(circle at 55% 35%, #ffcf99 0 14%, transparent 15%), radial-gradient(ellipse at 52% 85%, #426eaa 0 27%, transparent 28%), linear-gradient(145deg, #73d0ed, #bbc8f5);
  box-shadow: 0 5px 14px rgba(28, 71, 112, 0.2);
}

.mock-space {
  background: radial-gradient(ellipse at 70% 25%, #243f75, transparent 42%), linear-gradient(145deg, #101c3c, #070d1c);
}

.mock-stars {
  position: absolute;
  inset: 0;
  opacity: 0.82;
  background-image: radial-gradient(#fff 1px, transparent 1px), radial-gradient(#73d9ff 1px, transparent 1px);
  background-position: 8px 11px, 32px 28px;
  background-size: 42px 39px, 61px 52px;
}

.mock-planet {
  position: absolute;
  top: 22%;
  right: 15%;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f7d6b8, #b77be8 45%, #533eaa 78%);
  box-shadow: 0 0 28px rgba(174, 114, 255, 0.5);
}

.mock-planet::after {
  position: absolute;
  content: "";
  top: 39%;
  left: -20%;
  width: 138%;
  height: 24%;
  border: 3px solid rgba(167, 220, 255, 0.78);
  border-radius: 50%;
  transform: rotate(-22deg);
}

.mock-space-label {
  position: absolute;
  top: 28%;
  left: 10%;
  color: #fff;
  font-size: clamp(7px, 1.2vw, 14px);
  font-weight: 900;
  letter-spacing: 0.1em;
}

.mock-space-caption {
  position: absolute;
  top: 44%;
  left: 10%;
  width: 35%;
  height: 5px;
  border-radius: 9px;
  background: rgba(204, 228, 255, 0.65);
  box-shadow: 0 9px 0 rgba(204, 228, 255, 0.35);
}

.mock-game {
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #d8f1ff, #f2eaff);
}

.mock-game-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  width: 43%;
  aspect-ratio: 1;
  padding: 5px;
  border-radius: 10px;
  background: #344e73;
  box-shadow: 0 8px 20px rgba(35, 56, 86, 0.2);
}

.mock-game-cell {
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: #f7fbff;
  color: #0e8fca;
  font-size: clamp(10px, 2.2vw, 23px);
  font-weight: 900;
}

.mock-game-cell:nth-child(2),
.mock-game-cell:nth-child(5) { color: #8b5cf6; }

.mock-art {
  background: linear-gradient(140deg, #1e174e, #44206b 56%, #df6a9d);
}

.mock-art-shape {
  position: absolute;
  border-radius: 50%;
}

.mock-art-shape--sun {
  top: 14%;
  left: 13%;
  width: 30%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 30%, #fff3a7, #ff9b71 64%, #ef5b8e);
  box-shadow: 0 0 25px rgba(255, 148, 112, 0.45);
}

.mock-art-shape--planet {
  right: 13%;
  bottom: 13%;
  width: 42%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 30%, #a8f2ff, #5c83e8 65%, #4741a2);
}

.mock-art-shape--ring {
  top: 27%;
  left: 39%;
  width: 35%;
  height: 13%;
  border: 3px solid rgba(255, 230, 166, 0.88);
  border-radius: 50%;
  transform: rotate(-20deg);
}

.mock-calculator {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #d8f4ff, #bdd5f8);
}

.mock-calc-body {
  width: 37%;
  padding: 5%;
  border: 1px solid rgba(255,255,255,0.48);
  border-radius: 10px;
  background: linear-gradient(145deg, #203754, #0e1a2f);
  box-shadow: 0 10px 20px rgba(23, 46, 75, 0.3);
}

.mock-calc-screen {
  height: 15px;
  margin-bottom: 7px;
  padding-right: 5px;
  border-radius: 3px;
  background: #d9f8e7;
  color: #173f32;
  font-size: clamp(6px, 1vw, 11px);
  line-height: 15px;
  text-align: right;
}

.mock-calc-keys {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.mock-calc-keys span {
  height: 10px;
  border-radius: 3px;
  background: #d6e5f6;
}

.mock-calc-keys span:nth-child(4n) { background: #38bdf8; }

.build-project-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px;
}

.build-project-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.build-project-card h3 {
  margin: 0 0 8px;
  font-size: 0.94rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.build-project-badge,
.build-project-difficulty {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 4px 7px;
  border: 1px solid rgba(56, 189, 248, 0.32);
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent, #38bdf8);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.build-project-description {
  margin: 0 0 12px;
  color: var(--muted, #b7d2ea);
  font-size: 0.76rem;
  line-height: 1.6;
}

.build-project-attribution {
  margin: -4px 0 10px;
  color: var(--accent, #38bdf8);
  font-size: 0.68rem;
  font-weight: 700;
}

.build-project-details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: auto 0 14px;
  color: var(--muted, #b7d2ea);
  font-size: 0.68rem;
}

.build-project-details span::before {
  content: "•";
  margin-right: 6px;
  color: var(--accent, #38bdf8);
}

.build-project-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid rgba(56, 189, 248, 0.36);
  background: rgba(56, 189, 248, 0.1);
  color: var(--text, #ebf7ff);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.build-project-cta:hover,
.build-project-cta:focus-visible {
  background: linear-gradient(180deg, var(--accent, #38bdf8), var(--accent-strong, #0ea5e9));
  color: var(--button-text, #061827);
  outline: 2px solid var(--accent, #38bdf8);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .build-project-card *,
  .build-project-card *::before,
  .build-project-card *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
