/* ============================================================
   ATMOSPHERE ENGINE — DESIGN SYSTEM
   Aesthetic: Apple Dark. Zen. Spacious. Refined.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* ── Surfaces ─────────────────────────────────── */
  --bg:             #080808;
  --surface:        #111113;
  --surface-raised: #1C1C1E;
  --surface-high:   #2C2C2E;
  --border:         rgba(255,255,255,0.07);
  --border-subtle:  rgba(255,255,255,0.04);

  /* ── Accent ───────────────────────────────────── */
  --accent:        #0A84FF;
  --accent-hover:  #2C9AFF;
  --accent-muted:  rgba(10,132,255,0.12);

  /* ── Typography ───────────────────────────────── */
  --text-primary:   #F5F5F7;
  --text-secondary: rgba(245,245,247,0.56);
  --text-tertiary:  rgba(245,245,247,0.32);

  /* ── Radii ────────────────────────────────────── */
  --r-sm:  10px;
  --r-md:  16px;
  --r-lg:  22px;
  --r-xl:  28px;
  --r-2xl: 36px;

  /* ── Spacing rhythm ───────────────────────────── */
  --section-gap: 100px;
  --card-pad:    28px;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  letter-spacing: -0.02em;
  line-height: 1.1;
}

a { text-decoration: none; color: inherit; }
img { display: block; }
button { font-family: inherit; cursor: pointer; }

/* ── Utility ──────────────────────────────────────────────── */
.glass {
  background: rgba(28,28,30,0.7);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid var(--border);
}

.accent-text { color: var(--accent); }
.muted { color: var(--text-secondary); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   NAVIGATION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.glass-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(8,8,8,0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.logo {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo span {
  color: var(--accent);
  font-size: 14px;
}

/* Center links */
.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 32px;
  min-width: 0;
  padding: 0 16px;
}
.nav-center a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-center a:hover,
.nav-center a.active { color: var(--text-primary); }

/* Right actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Nav search pill */
.nav-search {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-search-icon {
  position: absolute;
  left: 12px;
  font-size: 13px;
  color: var(--text-tertiary);
  pointer-events: none;
}
.nav-search-input {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 7px 14px 7px 34px;
  border-radius: 50px;
  font-size: 13px;
  font-family: inherit;
  width: 180px;
  outline: none;
  transition: width 0.3s ease, border-color 0.2s, background 0.2s;
}
.nav-search-input::placeholder { color: var(--text-tertiary); }
.nav-search-input:focus {
  width: 220px;
  border-color: rgba(10,132,255,0.5);
  background: var(--surface-high);
}

/* Buttons */
.btn-ghost {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 7px 14px;
  border-radius: 50px;
  transition: all 0.2s;
  border: none;
  background: none;
}
.btn-ghost:hover { color: var(--text-primary); background: var(--surface-raised); }

.btn-pill {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 7px 18px;
  border-radius: 50px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.btn-pill:hover { background: var(--surface-high); border-color: rgba(255,255,255,0.12); }

.btn-accent {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  background: var(--accent);
  border: none;
  transition: all 0.2s;
}
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* Avatar pill */
.nav-avatar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 5px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--surface-raised);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
  cursor: pointer;
}
.nav-avatar:hover { color: var(--text-primary); background: var(--surface-high); }
.nav-avatar-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #5856D6);
  flex-shrink: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero {
  position: relative;
  width: 100%;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 48px 80px;
  overflow: hidden;
}

/* Subtle radial glow behind hero text — very Apple */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at 50% 0%, rgba(10,132,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--text-primary);
  margin-bottom: 20px;
  /* Subtle gradient on text */
  background: linear-gradient(180deg, #fff 60%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 19px;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

/* Hero search */
.hero-search-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 32px;
}
.hero-search-wrap .search-icon-inner {
  position: absolute;
  left: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: var(--text-tertiary);
  pointer-events: none;
}
.hero-search-input {
  width: 100%;
  background: rgba(28,28,30,0.7);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 15px 20px 15px 52px;
  border-radius: 50px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.hero-search-input::placeholder { color: var(--text-tertiary); }
.hero-search-input:focus {
  border-color: rgba(10,132,255,0.45);
  box-shadow: 0 0 0 4px rgba(10,132,255,0.08);
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-large {
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  transition: all 0.25s;
  border: none;
  display: inline-block;
  letter-spacing: -0.01em;
}
.btn-large.primary {
  background: var(--accent);
  color: #fff;
}
.btn-large.primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,132,255,0.25);
}
.btn-large.secondary {
  background: var(--surface-raised);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-large.secondary:hover {
  background: var(--surface-high);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

/* Hero image band */
.hero-img-band {
  width: 100%;
  max-width: 1100px;
  margin: 60px auto 0;
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 32px 80px rgba(0,0,0,0.6);
  aspect-ratio: 16/9;
}
.hero-img-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   STORE LAYOUT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.store-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 120px;
}

/* Section header */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  margin-top: var(--section-gap);
}
.section-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.section-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  transition: opacity 0.2s;
}
.section-link:hover { opacity: 0.75; }

/* ── Category pills ───────────────────────── */
.category-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 60px;
}

.cat-pill {
  font-size: 13px;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.cat-pill:hover {
  color: var(--text-primary);
  background: var(--surface-raised);
  border-color: rgba(255,255,255,0.1);
}
.cat-pill.active {
  background: var(--text-primary);
  color: var(--bg);
  border-color: var(--text-primary);
  font-weight: 600;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   KIT CARDS (Wide)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.kit-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.kit-row::-webkit-scrollbar { display: none; }

.kit-card {
  flex: 0 0 640px;
  height: 360px;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s;
  display: block;
  color: inherit;
}
.kit-card:hover {
  transform: scale(1.015) translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.kit-card img.kit-bg {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.kit-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 55%, transparent 100%);
}
.kit-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
}
.kit-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.kit-content p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin-bottom: 14px;
}
.kit-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   APP CARDS (Grid / Row)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.app-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.app-row::-webkit-scrollbar { display: none; }

.app-card {
  flex: 0 0 180px;
  display: block;
  color: inherit;
  cursor: pointer;
}
.app-card:hover .app-thumb { transform: scale(1.03); box-shadow: 0 16px 40px rgba(0,0,0,0.45); }
.app-card:hover .app-name { color: var(--accent); }

.app-thumb {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.app-thumb .emoji-thumb {
  font-size: 52px;
  line-height: 1;
}

.app-info { padding: 12px 4px 0; }
.app-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
  transition: color 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-by {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.app-price {
  font-size: 12px;
  font-weight: 600;
}
.app-price.free { color: #30D158; } /* Apple green */
.app-price.paid { color: var(--text-secondary); }
.app-price.included { color: var(--accent); }

/* Badge */
.badge-pro {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 6px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   WALLPAPER CARDS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.wallpaper-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.wallpaper-row::-webkit-scrollbar { display: none; }

.wp-card {
  flex: 0 0 360px;
  height: 200px;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  display: block;
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
}
.wp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.5);
}
.wp-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.wp-card .wp-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 60%);
}
.wp-card .wp-info {
  position: absolute;
  bottom: 16px; left: 18px; right: 18px;
}
.wp-card .wp-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.wp-card .wp-tag {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESOLUTION FILTER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.res-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.res-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-right: 4px;
}

/* reuse cat-pill for res filter */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   DETAILS PAGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.details-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 48px 120px;
}

.back-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 36px;
  transition: opacity 0.2s;
}
.back-link:hover { opacity: 0.7; }
.back-link svg { width: 16px; height: 16px; }

/* Trailer */
.trailer-box {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  margin-bottom: 48px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Detail header */
.detail-header {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 56px;
}

.detail-icon {
  width: 116px;
  height: 116px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
}
.detail-icon img { width: 100%; height: 100%; object-fit: cover; }

.detail-title-area {
  flex: 1;
  padding-top: 4px;
}
.detail-title-area h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.detail-author {
  font-size: 15px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.detail-stats {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.detail-stats .sep { color: var(--text-tertiary); }
.star { color: #FFD60A; }

.detail-action {
  flex-shrink: 0;
  width: 260px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
  text-align: center;
}
.detail-price {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.detail-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
}
.detail-section h2 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.detail-section p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.feature-list {
  list-style: none;
  margin-top: 16px;
}
.feature-list li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '✓';
  color: #30D158;
  font-weight: 700;
  font-size: 13px;
  margin-top: 1px;
  flex-shrink: 0;
}

/* Review */
.review-score-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.review-big {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.review-stars { font-size: 16px; color: #FFD60A; letter-spacing: 2px; }
.review-count { font-size: 13px; color: var(--text-tertiary); margin-top: 4px; }

.review-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 18px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.review-card .reviewer {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

/* Related */
.related-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.related-row::-webkit-scrollbar { display: none; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ENGINE PAGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.engine-hero-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 48px 0;
  display: flex;
  gap: 80px;
  align-items: center;
}
.engine-copy { flex: 1.2; }
.engine-art-wrap { flex: 1; }

.os-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.os-chip span { color: var(--accent); }

.engine-headline {
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.07;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #fff 60%, rgba(255,255,255,0.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.engine-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}

.check-list { list-style: none; margin-bottom: 44px; }
.check-list li {
  font-size: 16px;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 12px;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: '✓';
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(48,209,88,0.12);
  color: #30D158;
  font-size: 12px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.dl-meta {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Engine art orb */
.engine-orb-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--r-2xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.engine-orb-wrap::before {
  content: '';
  position: absolute;
  width: 70%; height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10,132,255,0.07) 0%, transparent 70%);
  animation: orb-breathe 4s ease-in-out infinite alternate;
}
@keyframes orb-breathe {
  from { transform: scale(0.9); opacity: 0.6; }
  to { transform: scale(1.1); opacity: 1; }
}
.engine-orb-inner { text-align: center; position: relative; z-index: 1; }
.engine-symbol {
  font-size: 72px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 24px rgba(10,132,255,0.35));
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Features grid */
.features-wrap { max-width: 1100px; margin: 100px auto 0; padding: 0 48px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.feat-card:hover {
  background: var(--surface-raised);
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.feat-icon { font-size: 28px; margin-bottom: 14px; }
.feat-card h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.feat-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Compare table */
.compare-wrap {
  max-width: 760px;
  margin: 100px auto 0;
  padding: 0 48px 120px;
  text-align: center;
}
.compare-wrap h2 { font-size: 34px; letter-spacing: -0.03em; margin-bottom: 8px; }
.compare-sub { font-size: 17px; color: var(--text-secondary); margin-bottom: 48px; }
.compare-table { width: 100%; border-collapse: collapse; text-align: left; }
.compare-table thead th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  padding: 0 20px 16px;
  border-bottom: 1px solid var(--border);
}
.compare-table thead th:not(:first-child) { text-align: center; }
.compare-table tbody td {
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}
.compare-table tbody td:not(:first-child) { text-align: center; font-size: 16px; }
.compare-table tbody tr:last-child td { border: none; font-weight: 700; font-size: 16px; color: var(--text-primary); padding-top: 20px; }
.tick-y { color: #30D158; }
.tick-n { color: var(--text-tertiary); }
.col-accent { background: rgba(10,132,255,0.05); }
.col-accent-label { color: var(--accent); font-weight: 700; }

/* ── Inline badge for tags ─────────────────── */
.tag-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--surface-high);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BUILDER PAGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.builder-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  height: calc(100vh - 130px);
}
@media (max-width: 900px) {
  .builder-layout {
    grid-template-columns: 1fr;
    height: auto;
  }
  .builder-preview {
    min-height: 400px;
  }
}
.builder-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.builder-panel::-webkit-scrollbar { width: 6px; }
.builder-panel::-webkit-scrollbar-track { background: transparent; }
.builder-panel::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 10px; }
.builder-panel::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }
.panel-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.code-editor {
  flex: 1;
  background: #0D0D0F;
  font-family: 'Menlo', 'Consolas', monospace;
  color: #8AF98A;
  width: 100%;
  padding: 24px;
  border: none;
  resize: none;
  outline: none;
  line-height: 1.7;
  font-size: 13px;
}
.builder-preview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
}

.builder-forms {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.field-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}
.field-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 11px 14px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.field-input:focus { border-color: rgba(10,132,255,0.5); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MODALS & OVERLAYS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0,0,0,0.8);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-overlay.active .modal-content {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--text-primary); }
.modal-content h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.modal-content p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501
   REDESIGNED STORE \u2014 v2
\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 */

/* Store container: full-bleed. No max-width padding here \u2014 sections self-constrain */
.store-wrap {
  padding-bottom: 120px;
}

/* \u2500\u2500 Premium Tab Bar \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
.store-topbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 64px;
  z-index: 150;
  padding: 0;
}
.store-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 52px;
}
.store-cat-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}
.store-cat-tabs::-webkit-scrollbar { display: none; }

.scat-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  background: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.scat-tab:hover { color: var(--text-primary); background: var(--surface-raised); }
.scat-tab.active {
  color: var(--text-primary);
  background: var(--surface-raised);
  font-weight: 600;
}
.scat-icon { font-size: 14px; }

/* Search pill in topbar */
.store-search-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 16px;
  flex-shrink: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.store-search-pill:focus-within {
  border-color: rgba(10,132,255,0.4);
  box-shadow: 0 0 0 3px rgba(10,132,255,0.07);
}
.store-search-icon { color: var(--text-tertiary); font-size: 16px; }
.store-search-pill input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 13px;
  font-family: inherit;
  width: 180px;
}
.store-search-pill input::placeholder { color: var(--text-tertiary); }

/* \u2500\u2500 Store content max-width wrapper \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
#discover-layout,
.store-grid-wrap,
#search-results-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

/* \u2500\u2500 Featured Banner Row \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
.featured-banner-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  margin-top: 32px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .featured-banner-row { grid-template-columns: 1fr; } }

.feat-banner {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  display: block;
  color: inherit;
  border: 1px solid var(--border);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
}
.feat-banner:hover { transform: translateY(-3px); box-shadow: 0 20px 48px rgba(0,0,0,0.5); }
.feat-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.feat-banner-lg { height: 320px; }
.feat-banner-sm { height: 152px; }
.feat-banner-col { display: flex; flex-direction: column; gap: 14px; }

.feat-banner-vignette {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}
.feat-banner-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 22px;
}
.feat-banner-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #30D158;
  background: rgba(48,209,88,0.15);
  border: 1px solid rgba(48,209,88,0.3);
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.feat-banner-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.feat-banner-sm .feat-banner-title { font-size: 15px; }
.feat-banner-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
.feat-banner-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: white;
  transition: transform 0.2s, background 0.2s;
}
.feat-banner:hover .feat-banner-play {
  transform: translate(-50%,-50%) scale(1.1);
  background: rgba(10,132,255,0.5);
}

/* \u2500\u2500 Store Section Headers \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
.store-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 52px;
  margin-bottom: 20px;
}
.store-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.store-section-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.store-section-icon { font-size: 18px; line-height: 1; }
.store-section-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.store-section-chip {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FF9F0A;
  background: rgba(255,159,10,0.15);
  border: 1px solid rgba(255,159,10,0.3);
  padding: 3px 8px;
  border-radius: 6px;
}
.store-section-viewall {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  transition: opacity 0.2s;
}
.store-section-viewall:hover { opacity: 0.7; }

/* \u2500\u2500 Horizontal Scroll Rows \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
.store-scroll-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.store-scroll-row::-webkit-scrollbar { display: none; }

/* \u2500\u2500 Wallpaper Cards (in row) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
.store-wp-card {
  flex: 0 0 260px;
  display: block;
  color: inherit;
  cursor: pointer;
}
.store-wp-card:hover .store-wp-thumb { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.5); }
.store-wp-thumb {
  width: 100%; height: 160px;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
  background: var(--surface-raised);
}
.store-wp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.store-wp-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}
.store-wp-badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 6px;
  backdrop-filter: blur(8px);
}
.store-wp-badge.new { background: rgba(48,209,88,0.2); border: 1px solid rgba(48,209,88,0.35); color: #30D158; }
.store-wp-badge.live { background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.15); color: white; }
.store-wp-info { padding: 10px 4px 0; }
.store-wp-title { font-size: 14px; font-weight: 600; margin-bottom: 2px; letter-spacing: -0.01em; }
.store-wp-meta { font-size: 12px; color: var(--text-secondary); margin-bottom: 4px; }
.store-wp-price { font-size: 12px; font-weight: 600; }
.store-wp-price.free { color: #30D158; }

/* \u2500\u2500 Pet Thumb \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
.pet-thumb {
  background: linear-gradient(135deg, rgba(255,159,10,0.12), var(--surface-raised));
}
.pet-emoji {
  font-size: 52px;
  line-height: 1;
  display: inline-block;
  transform-origin: center bottom;
}
@keyframes bounce-a {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}
@keyframes bounce-b {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-14px) scale(1.05); }
}
@keyframes bounce-c {
  0%, 100% { transform: translateY(0) rotate(5deg); }
  40% { transform: translateY(-8px) rotate(-5deg); }
}
.bounce-1 { animation: bounce-a 2.8s ease-in-out infinite; }
.bounce-2 { animation: bounce-b 2.2s ease-in-out infinite; }
.bounce-3 { animation: bounce-c 3.1s ease-in-out infinite; }

/* \u2500\u2500 Dock Preview Cards \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
.store-dock-card {
  flex: 0 0 220px;
  display: block;
  color: inherit;
  cursor: pointer;
}
.store-dock-card:hover .store-dock-preview { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.5); }
.store-dock-preview {
  width: 100%; height: 120px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.glass-preview {
  background: linear-gradient(135deg, rgba(28,28,30,0.9), rgba(44,44,46,0.7));
  backdrop-filter: blur(20px);
}
.neon-preview {
  background: linear-gradient(135deg, #0a001a, #1a0028);
  box-shadow: inset 0 0 30px rgba(191,90,242,0.08);
}
.minimal-preview { background: var(--surface); }
.stats-preview {
  background: linear-gradient(135deg, #080c10, #0a1218);
  border-color: rgba(48,209,88,0.2);
}

.mini-dock {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 8px 14px;
  font-size: 18px;
}
.neon-dock-mini {
  background: rgba(191,90,242,0.08);
  border-color: rgba(191,90,242,0.2);
  box-shadow: 0 0 20px rgba(191,90,242,0.1);
}
.minimal-dock-mini {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}
.stats-dock-mini {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.active-ml { color: var(--text-primary) !important; }
.mini-dock-sep {
  width: 1px; height: 20px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* \u2500\u2500 Creator Strip \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
.creator-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(10,132,255,0.08), rgba(88,86,214,0.06));
  border: 1px solid rgba(10,132,255,0.18);
  border-radius: var(--r-xl);
  padding: 24px 32px;
  margin-top: 64px;
}
.creator-strip-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--accent);
}
.creator-strip-sub {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.creator-strip-btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}
.creator-strip-btn:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(10,132,255,0.3); }

/* \u2500\u2500 Community / Filter-mode grid \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
.store-grid-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 24px;
}



/* =============================================
   CARD STATS: Hearts and Downloads
============================================= */

.card-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.card-heart {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  padding: 0;
  font-family: inherit;
  transition: color 0.18s, transform 0.18s cubic-bezier(0.34,1.56,0.64,1);
  line-height: 1;
}
.card-heart:hover { color: #FF2D55; }
.card-heart.hearted { color: #FF2D55; }
.heart-icon { font-size: 13px; line-height: 1; }
.heart-count { font-size: 12px; }
.card-downloads {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 3px;
}
.store-wp-info .card-stats { margin-top: 4px; }
.store-wp-info .card-heart,
.store-wp-info .card-downloads { font-size: 11px; }

/* =============================================
   DESKTOP KIT CARDS
============================================= */

/* Kits tab special styling */
.scat-tab-kits {
  background: linear-gradient(135deg, rgba(191,90,242,0.12), rgba(255,45,85,0.08));
  border: 1px solid rgba(191,90,242,0.2);
}
.scat-tab-kits:hover,
.scat-tab-kits.active {
  background: linear-gradient(135deg, rgba(191,90,242,0.25), rgba(255,45,85,0.15));
  border-color: rgba(191,90,242,0.4);
  color: #BF5AF2;
}
.scat-new-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #BF5AF2, #FF2D55);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1;
}

/* Kit card - wider than a normal app card */
.kit-store-card {
  flex: 0 0 280px;
  display: block;
  color: inherit;
  cursor: pointer;
}
.kit-store-card:hover .kit-store-thumb {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.kit-store-thumb {
  width: 100%;
  height: 190px;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
  background: var(--surface-raised);
}
.kit-store-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.kit-store-vignette {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
}
.kit-store-badge {
  position: absolute;
  top: 10px; left: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
  background: rgba(255,45,85,0.2);
  border: 1px solid rgba(255,45,85,0.35);
  color: #FF2D55;
}

/* Mini widget chips showing inside the kit thumbnail */
.kit-store-widgets-preview {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.kit-mini-widget {
  padding: 5px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  background: rgba(0,0,0,0.35);
  min-width: 52px;
  text-align: center;
}

/* Contents line below creator */
.kit-store-contents {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
  margin-bottom: 4px;
  font-style: italic;
}
