/* Shared styling for generated preview mockups + ads.
   Each file sets its own .frame size (square 1080, story 1080x1920, window 1440x900). */

:root {
  --bg: #000;
  --panel: #0b0d12;
  --panel-2: #12151c;
  --ink: #fff;
  --ink-2: #cbd5e1;
  --ink-3: #94a3b8;
  --line: rgba(148, 163, 184, 0.18);
  --blue: #2563eb;
  --blue-soft: rgba(37, 99, 235, 0.18);
  --lime: #a3e635;
  --red: #cc0000;
  --green: #22c55e;
  --orange: #f59e0b;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

html, body {
  margin: 0;
  padding: 0;
  background: #111;
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Centered viewer: lets you preview in a browser at real size */
body.viewer {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  gap: 40px;
  flex-wrap: wrap;
}

/* Size frames */
.frame {
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}
.frame--square  { width: 1080px; height: 1080px; }
.frame--story   { width: 1080px; height: 1920px; }
.frame--window  { width: 1440px; height: 900px; border-radius: 14px; }

/* macOS traffic lights */
.window-bar {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: linear-gradient(#1a1d25, #12151c);
  border-bottom: 1px solid var(--line);
}
.window-bar .dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: #333;
}
.window-bar .dot--r { background: #ff5f57; }
.window-bar .dot--y { background: #febc2e; }
.window-bar .dot--g { background: #28c840; }
.window-bar .title {
  margin-inline: auto;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

/* Generic animated gradient wash behind ads */
.wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.35) 0%, transparent 55%),
    radial-gradient(circle at 80% 85%, rgba(139, 92, 246, 0.28) 0%, transparent 55%),
    radial-gradient(circle at 55% 50%, rgba(163, 230, 53, 0.08) 0%, transparent 60%),
    #000;
  z-index: 0;
}

/* Common buttons / badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge--serato { background: var(--red); color: #fff; }
.badge--lime   { background: var(--lime); color: #0b0d12; }
.badge--blue   { background: var(--blue-soft); color: #93c5fd; border: 1px solid rgba(37,99,235,0.5); }

.btn-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: var(--blue);
  color: #fff; font-weight: 700;
  border-radius: 999px;
  font-size: 18px;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.45);
}
