/* Landing page — Inter, modern redesign */

.landing-body {
  font-family: 'Inter', sans-serif;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #141414;
  color: #d8d8d8;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  max-width: 100vw;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.hero {
  min-height: calc(100vh - 52px);
  min-height: calc(100svh - 52px);
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #141414;
  position: relative;
  overflow: hidden;
}

/* Dot-grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(200, 169, 110, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Warm ambient glow */
.hero::after {
  content: '';
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 65%;
  background: radial-gradient(ellipse, rgba(200, 169, 110, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

/* Center content: side-by-side layout */
.hero-center {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}

.hero-brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  min-width: 0;
}

.hero-center-logo {
  width: clamp(160px, 18vw, 220px);
  height: auto;
  opacity: 0.9;
  flex-shrink: 0;
}

.hero-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(200, 169, 110, 0.7);
  margin: 0;
  white-space: nowrap;
}

.hero-divider {
  width: 1px;
  align-self: stretch;
  min-height: 100px;
  background: rgba(200, 169, 110, 0.2);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .hero-label { font-size: 0.6rem; letter-spacing: 0.12em; }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
  flex: 1 1 auto;
}

.hero-title {
  font-size: clamp(1.6rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: #ebebeb;
  max-width: 100%;
}

.hero-accent {
  color: #c8a96e;
}

.hero-subtitle {
  font-size: 0.95rem;
  font-weight: 400;
  color: #888;
  line-height: 1.6;
  max-width: 100%;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.btn-hero-primary,
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  background: transparent;
  color: #c8a96e;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid #c8a96e;
  transition: background 0.15s, color 0.15s;
}

.btn-hero-primary:hover,
.btn-hero-secondary:hover {
  background: #c8a96e;
  color: #141414;
}

.btn-new-badge {
  display: inline-block;
  margin-left: 0.45rem;
  padding: 0.1em 0.45em;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #c8a96e;
  color: #141414;
  border-radius: 3px;
  vertical-align: middle;
  line-height: 1.4;
  transition: background 0.15s, color 0.15s;
}

.btn-hero-primary:hover .btn-new-badge {
  background: #141414;
  color: #c8a96e;
}

/* Scroll hint */
.hero-scroll-hint {
  text-align: center;
  padding: 0.75rem 0 1.5rem;
  color: #222;
  font-size: 0.85rem;
  flex-shrink: 0;
  animation: hero-scroll-fade 2.5s ease-in-out infinite;
}

@keyframes hero-scroll-fade {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(5px); }
}

@media (max-width: 820px) {
  .hero-center {
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem 1.5rem 3rem;
    text-align: center;
  }
  .hero-divider { display: none; }
  .hero-brand-block { flex-direction: column; gap: 0.5rem; }
  .hero-brand-block .hero-center-logo { width: 220px; }
  .hero-copy { align-items: center; text-align: center; flex: 0 0 auto; width: 100%; max-width: 100%; box-sizing: border-box; }
  .hero-subtitle { max-width: 480px; margin-left: auto; margin-right: auto; width: 100%; box-sizing: border-box; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .hero { min-height: calc(100svh - 52px); }
  .hero-center {
    /* Override max-width/margin so flex:1 fills height correctly for centering */
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 2rem 1.75rem;
    gap: 1.5rem;
    justify-content: center;
  }
  .hero-brand-block .hero-center-logo { width: 180px; }
  .hero-scroll-hint { display: none; }
}

@media (max-width: 480px) {
  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}

/* ── Shared label utility ─────────────────────────────────────────────────── */

.capabilities-label {
  font-size: 0.62rem;
  font-weight: 600;
  color: #383430;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ── Recent section ───────────────────────────────────────────────────────── */

.recent-section {
  border-top: 1px solid #181818;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #141414 0%, #121212 100%);
  padding: 5rem 2.5rem;
}

.recent-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(200, 169, 110, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.recent-section-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.recent-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.recent-section-header-copy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.recent-section-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #e8e0d5;
  margin: 0;
}

.recent-section-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.recent-section-empty {
  font-size: 0.85rem;
  color: #444;
}

@media (max-width: 860px) {
  .recent-section { padding: 4rem 1.5rem; }
  .recent-section-header { flex-direction: column; align-items: flex-start; }
  .recent-btn-desktop { display: none; }
  .recent-btn-mobile { display: block; text-align: center; width: 100%; box-sizing: border-box; }
}

@media (min-width: 861px) {
  .recent-btn-mobile { display: none; }
}

@media (max-width: 600px) {
  .recent-section { padding: 3.5rem 1.25rem; }
  .recent-section-grid { grid-template-columns: 1fr; }
}

.hero-recent-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.75rem 0.875rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid #1e1e1e;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s, border-color 0.15s;
  min-height: 90px;
}

.hero-recent-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: #2a2a2a;
}

.hero-recent-type {
  font-size: 0.57rem;
  font-weight: 600;
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  align-self: flex-start;
}

.hero-recent-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: #b0a898;
  line-height: 1.35;
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.hero-recent-author {
  font-size: 0.68rem;
  color: #3a3530;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.hero-recent-avatar {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #3a2e1e;
}

.hero-recent-avatar-letter {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #2a2318;
  border: 1px solid #3a2e1e;
  color: #c8a96e;
  font-size: 0.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-recent-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.hero-recent-header .hero-recent-type,
.hero-recent-header .design-card-tag {
  align-self: center;
}

.hero-recent-stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.65rem;
  color: #2e2b27;
}

@media (max-width: 820px) {
  .hero-recent {
    padding: 0.875rem 1.5rem 1.25rem;
  }
  .hero-recent-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .hero-recent {
    padding: 0.75rem 1rem 1rem;
  }
  .hero-recent-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-recent-label,
  .hero-recent-more {
    display: none;
  }
}

/* ── Designs grid (shared with catalog) ───────────────────────────────────── */

.designs-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem 0;
}

/* ── Design card ──────────────────────────────────────────────────────────── */

.design-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  background: #161616;
  border: 1px solid #1e1e1e;
  border-radius: 6px;
  padding: .75rem 1.5rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.15s, border-color 0.15s;
}

.design-card-body {
  flex: 1;
  min-width: 0;
}

.design-card:hover {
  border-color: #2a2a2a;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.design-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.design-card-type {
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.type-template {
  background: rgba(200, 169, 110, 0.08);
  color: #c8a96e;
}

.type-guide {
  background: rgba(100, 150, 200, 0.08);
  color: #7aabda;
}

.type-question {
  background: rgba(150, 120, 200, 0.08);
  color: #a88fd4;
}

.type-challenge {
  background: rgba(210, 140, 40, 0.1);
  color: #d4900a;
}

/* Highlighted card */
.design-card--highlighted {
  border-color: rgba(210, 140, 40, 0.3);
  background: #191510;
  box-shadow: 0 0 0 1px rgba(210, 140, 40, 0.15), 0 2px 12px rgba(0, 0, 0, 0.4);
  position: relative;
}

.design-card--highlighted::before {
  content: '★ Featured';
  position: absolute;
  top: -1px;
  left: 14px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #d4900a;
  background: #191510;
  padding: 0.15rem 0.5rem;
  border: 1px solid rgba(210, 140, 40, 0.3);
  border-top: none;
  border-radius: 0 0 4px 4px;
}

.design-card--highlighted:hover {
  border-color: rgba(210, 140, 40, 0.5);
  box-shadow: 0 0 0 1px rgba(210, 140, 40, 0.25), 0 4px 16px rgba(0, 0, 0, 0.5);
}

.design-card-version {
  font-size: 0.68rem;
  color: #2e2a25;
  margin-left: auto;
}

.design-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #d0d0d0;
  margin: 0 0 0.3rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.design-card-author {
  font-size: 0.72rem;
  color: #555;
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.design-card-author-avatar-link {
  flex-shrink: 0;
  cursor: pointer;
  display: inline-flex;
}

.design-card-author-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 1px solid #3a2e1e;
}

.design-card-author-avatar-letter {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2a2318;
  border: 1px solid #3a2e1e;
  color: #c8a96e;
  font-size: 0.58rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.design-card-author-link {
  color: #666;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
}

.design-card-author-link:hover {
  color: #c8a96e;
}

.design-card-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.6rem;
}

.design-card-stat {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  color: #555;
}

.design-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.design-card-tag {
  font-size: 0.62rem;
  background: transparent;
  color: #666;
  border: 1px solid #2a2a2a;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
  cursor: pointer;
}

.design-card-tag:hover {
  color: #c8a96e;
  border-color: rgba(200, 169, 110, 0.3);
}

.design-card-tag[data-tag="challenge"]     { color: #e8c060; border-color: rgba(232, 192, 96,  0.4);  }
.design-card-tag[data-tag="showcase"]      { color: #6bbf8a; border-color: rgba(107, 191, 138, 0.35); }
.design-card-tag[data-tag="rate my build"] { color: #6699cc; border-color: rgba(102, 153, 204, 0.35); }
.design-card-tag[data-tag="help wanted"]   { color: #cc7060; border-color: rgba(204, 112, 96,  0.35); }
.design-card-tag[data-tag="meta"]          { color: #9977bb; border-color: rgba(153, 119, 187, 0.35); }

/* ── Design card grid preview ─────────────────────────────────────────────── */

.design-card-preview {
  display: grid;
  grid-template-columns: 1fr 4px repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 2px;
  margin: 0;
  padding: 0.5rem;
  background: transparent;
  flex-shrink: 0;
  width: 280px;
}

.dc-divider {
  grid-column: 2;
  grid-row: 1 / -1;
  background: transparent;
}

.dc-cell {
  aspect-ratio: 1;
  width: 100%;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dc-cell.dc-filled {
  background: #191e1d;
  border-color: #252e2c;
}

.dc-cell img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.dc-lock {
  font-size: 6px;
  opacity: 0.2;
  line-height: 1;
  user-select: none;
}

/* ── Empty catalog CTA ────────────────────────────────────────────────────── */

.empty-catalog-cta {
  padding: 6rem 1.5rem;
  text-align: center;
  background: #141414;
  border-top: 1px solid #181818;
}

.empty-catalog-inner {
  max-width: 480px;
  margin: 0 auto;
}

.empty-catalog-inner h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ebebeb;
  margin: 0 0 0.75rem;
}

.empty-catalog-inner p {
  color: #666;
  margin: 0 0 2rem;
  line-height: 1.7;
  font-size: 0.875rem;
}

/* ── Designer features ────────────────────────────────────────────────────── */

/* Featured spotlight — inline card below hero CTAs */
.featured-spotlight {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding: 0.75rem 1rem;
  background: rgba(52, 148, 124, 0.06);
  border: 1px solid rgba(52, 148, 124, 0.22);
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s, border-color 0.15s;
  max-width: 100%;
  min-width: 0;
}

.featured-spotlight:hover {
  background: rgba(52, 148, 124, 0.11);
  border-color: rgba(52, 148, 124, 0.38);
}

.featured-spotlight-badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4900a;
  white-space: nowrap;
  flex-shrink: 0;
}

.featured-spotlight-type {
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  flex-shrink: 0;
}

.featured-spotlight-title {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 500;
  color: #b0a898;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.featured-spotlight-cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(52, 148, 124, 0.85);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 820px) {
  .featured-spotlight { align-self: stretch; }
  .featured-spotlight-type { display: none; }
}

.designer-features {
  padding: 5rem 2.5rem;
  border-top: 1px solid #181818;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #1e1b14 0%, #181614 40%, #141414 100%);
}

/* Dot-grid texture (matches hero) */
.designer-features::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(200, 169, 110, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Warm gold ambient glow */
.designer-features::after {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(200, 169, 110, 0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.designer-features-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.designer-features-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.designer-features-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #e8e0d5;
  margin: 0;
}

.designer-features-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

.designer-features-items {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid #1e1e1e;
  border-radius: 6px;
  overflow: hidden;
}

.df-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: #141414;
  transition: background 0.15s;
}

.df-item:not(:last-child) {
  border-bottom: 1px solid #1a1a1a;
}

.df-item:hover {
  background: #161616;
}

/* Icon cluster */
.df-icons {
  position: relative;
  width: 80px;
  height: 48px;
  flex-shrink: 0;
}

.df-icon {
  position: absolute;
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 4px;
  background: #1a1a1a;
  padding: 3px;
  border: 1px solid #252525;
}

.df-icon-1 { left: 0;    top: 0;    z-index: 4; }
.df-icon-2 { left: 18px; top: 7px;  z-index: 3; opacity: 0.85; }
.df-icon-3 { left: 36px; top: 1px;  z-index: 2; opacity: 0.65; }
.df-icon-4 { left: 54px; top: 8px;  z-index: 1; opacity: 0.4; }

.df-icon-saved {
  position: relative;
  width: 80px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.df-icon-saved-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 4px;
  background: #1a1a1a;
  padding: 3px;
  border: 1px solid #252525;
}

.df-icon-saved-badge {
  position: absolute;
  top: 0;
  right: 18px;
  display: flex;
  color: #c8a96e;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.6));
}

.df-item-copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.df-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #d4c9b8;
}

.df-desc {
  font-size: 0.82rem;
  color: #5a5550;
  line-height: 1.65;
  margin: 0;
}

.df-account-cta {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #c8a96e;
  text-decoration: none;
  transition: opacity 0.15s;
}

.df-account-cta:hover {
  opacity: 0.75;
}

@media (max-width: 860px) {
  .designer-features-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .designer-features-copy { position: static; }
  .designer-features { padding: 4rem 1.5rem; }
  .df-btn-desktop { display: none; }
  .df-btn-mobile { justify-self: stretch; text-align: center; }
}

@media (min-width: 861px) {
  .df-btn-mobile { display: none; }
}

@media (max-width: 600px) {
  .designer-features { padding: 3.5rem 1.25rem; }
}

/* ── Catalog intro ────────────────────────────────────────────────────────── */

.catalog-intro {
  padding: 5rem 2.5rem;
  border-top: 1px solid #181818;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #141414 0%, #131210 100%);
  text-align: center;
}

.catalog-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(200, 169, 110, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.catalog-intro-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.catalog-intro-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  max-width: 600px;
}

.catalog-intro-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #e8e0d5;
  margin: 0;
}

.catalog-intro-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

.catalog-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.ci-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  padding: 1.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid #1e1e1e;
  border-radius: 8px;
  text-align: center;
  transition: background 0.15s, border-color 0.15s;
}

.ci-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: #252525;
}

.ci-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 169, 110, 0.07);
  border: 1px solid rgba(200, 169, 110, 0.15);
  border-radius: 10px;
  color: #c8a96e;
  flex-shrink: 0;
}

.ci-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #d4c9b8;
}

.ci-desc {
  font-size: 0.82rem;
  color: #5a5550;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 720px) {
  .catalog-intro-grid { grid-template-columns: 1fr; gap: 1rem; }
  .ci-item { flex-direction: column; align-items: center; text-align: center; gap: 0.875rem; padding: 1.75rem 1.5rem; }
}

@media (max-width: 600px) {
  .catalog-intro { padding: 3.5rem 1.25rem; }
  .catalog-intro-inner { gap: 2rem; }
  .catalog-intro-inner > .btn-hero-secondary { display: block; text-align: center; width: 100%; box-sizing: border-box; }
}

/* ── Card showcase ────────────────────────────────────────────────────────── */

.card-showcase {
  padding: 5rem 2.5rem;
  border-top: 1px solid #181818;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #161514 0%, #141414 100%);
}

.card-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(200, 169, 110, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.card-showcase-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.card-showcase-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-showcase-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ebebeb;
  margin: 0;
}

.card-showcase-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

.card-showcase-visual {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.showcase-card-demo {
  pointer-events: none;
}

.btn-load-designer {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  background: #c8a96e;
  color: #141414;
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
  text-decoration: none;
}

.btn-load-designer:hover {
  opacity: 0.88;
}

.showcase-load-btn {
  align-self: flex-start;
  pointer-events: all;
}

@media (max-width: 800px) {
  .card-showcase-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .card-showcase { padding: 4rem 1.25rem; }
}

/* ── Closing CTA ──────────────────────────────────────────────────────────── */

.landing-cta {
  border-top: 1px solid #181818;
  padding: 5rem 2.5rem;
  background: #141414;
  text-align: center;
}

.landing-cta-inner {
  max-width: 660px;
  margin: 0 auto;
}

.landing-cta-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ebebeb;
  margin: 0 0 0.875rem;
}

.landing-cta-sub {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
  margin: 0 0 2rem;
}

.landing-cta-actions {
  display: flex;
  gap: 0.625rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .landing-cta { padding: 4rem 1.25rem; }
}

/* ── Join strip (account sync + Discord) ─────────────────────────────────── */

.discord-inline {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(114, 137, 218, 0.04);
  border: 1px solid rgba(114, 137, 218, 0.12);
  border-radius: 6px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.discord-inline-copy {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.discord-inline-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #c8c0b4;
}

.discord-inline-desc {
  font-size: 0.8rem;
  color: #4a4540;
  line-height: 1.5;
}

.discord-strip-btn {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #7289da;
  text-decoration: none;
  border: 1px solid rgba(114, 137, 218, 0.35);
  border-radius: 4px;
  padding: 0.35rem 0.85rem;
  transition: background 0.15s;
  white-space: nowrap;
}

.discord-strip-btn:hover {
  background: rgba(114, 137, 218, 0.1);
}

@media (max-width: 860px) {
  .discord-inline { order: 1; margin-top: 0; }
  .recent-btn-mobile { order: 0; }
}

@media (max-width: 600px) {
  .discord-inline { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}


/* ── Design card mobile stack ─────────────────────────────────────────────── */

@media (max-width: 560px) {
  .design-card {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    overflow: hidden;
  }
  .design-card-preview {
    order: -1;
    width: 100%;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #1e1e1e;
    background: rgba(0, 0, 0, 0.15);
  }
  .design-card-body {
    padding: 0.75rem 1rem;
  }
  .design-card-title {
    font-size: 0.875rem;
  }
  .design-card-author {
    margin-bottom: 0.5rem;
  }
  .design-card-meta {
    margin-bottom: 0.4rem;
  }
}
