/* ============================================================
   Hand-drawn device chrome — iPhone & desktop browser
   ============================================================ */

/* ---------- Phone ---------- */
.phone {
  --pw: 390px;            /* design width (CSS px) */
  --ph: 844px;            /* design height */
  width: var(--pw);
  height: var(--ph);
  position: relative;
  border-radius: 56px;
  padding: 14px;
  background: linear-gradient(135deg, #1a1f25 0%, #0e1216 100%);
  box-shadow:
    0 0 0 1.5px #2A3038,
    0 0 0 3px #0a0d10,
    0 0 0 4.5px #353c44,
    0 30px 60px -20px rgba(0,0,0,0.7),
    0 50px 120px -30px rgba(0,0,0,0.55);
}
.phone .screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 42px;
  overflow: hidden;
  background: #000;
  font-size: 13px;
  color: #fff;
}
.phone .notch {
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 122px; height: 32px;
  background: #000;
  border-radius: 18px;
  z-index: 100;
}
.phone .statusbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 32px 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  z-index: 90;
  pointer-events: none;
}
.phone .statusbar .right { display: flex; gap: 6px; align-items: center; }
.phone .statusbar .signal { display: flex; gap: 2px; align-items: flex-end; height: 11px; }
.phone .statusbar .signal i { width: 3px; background: #fff; border-radius: 1px; display: block; }
.phone .statusbar .signal i:nth-child(1) { height: 4px; }
.phone .statusbar .signal i:nth-child(2) { height: 6px; }
.phone .statusbar .signal i:nth-child(3) { height: 8px; }
.phone .statusbar .signal i:nth-child(4) { height: 10px; }
.phone .statusbar .battery {
  width: 26px; height: 12px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 3px;
  position: relative;
  padding: 1.5px;
}
.phone .statusbar .battery::after {
  content: ''; position: absolute; right: -3px; top: 3px;
  width: 2px; height: 5px; background: rgba(255,255,255,0.6);
  border-radius: 0 1px 1px 0;
}
.phone .statusbar .battery i { display: block; height: 100%; width: 78%; background: #fff; border-radius: 1px; }

/* ---------- Tab bar (bottom) ---------- */
.tabbar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 88px;
  background: rgba(10,13,16,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 12px 0 30px;
  z-index: 50;
}
.tabbar .tab {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-family: var(--sans);
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
}
.tabbar .tab.active { color: #fff; }
.tabbar .tab.active .ico { color: var(--coral); }
.tabbar .ico { width: 22px; height: 22px; display: grid; place-items: center; }
.tabbar .ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* ---------- Browser window ---------- */
.browser {
  --bw: 1320px;
  --bh: 820px;
  width: var(--bw);
  height: var(--bh);
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px #1a1f25,
    0 40px 80px -30px rgba(0,0,0,0.7),
    0 80px 160px -40px rgba(0,0,0,0.55);
  display: flex; flex-direction: column;
  color: #fff;
}
.browser .titlebar {
  height: 44px;
  display: flex; align-items: center;
  gap: 14px;
  padding: 0 16px;
  background: #15191F;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.browser .lights { display: flex; gap: 8px; }
.browser .lights i {
  width: 12px; height: 12px; border-radius: 50%; display: block;
  border: 0.5px solid rgba(0,0,0,0.25);
}
.browser .lights i:nth-child(1) { background: #FF5F57; }
.browser .lights i:nth-child(2) { background: #FEBC2E; }
.browser .lights i:nth-child(3) { background: #28C840; }
.browser .url {
  flex: 1;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  background: var(--ink);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  height: 28px;
  max-width: 480px;
  margin: 0 auto;
}
.browser .url svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; }
.browser .url .host { color: var(--cream); }
.browser .url .path { color: var(--muted); }
.browser .titlebar-actions { display: flex; gap: 14px; color: var(--muted); }
.browser .titlebar-actions svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.browser .viewport {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #000;
  position: relative;
}

/* ============================================================
   Generic image placeholders — striped, monospaced label
   ============================================================ */
.imgph {
  position: relative;
  background-color: #1a1f25;
  background-image:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.025) 0 1px,
      transparent 1px 8px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}
.imgph .label {
  display: none;
}

/* Tinted variants — used in screens to suggest content type */
.imgph.tint-ocean {
  background-color: #1c3247;
  background-image:
    radial-gradient(120% 80% at 30% 20%, rgba(78,143,204,0.5), transparent 60%),
    radial-gradient(80% 60% at 70% 80%, rgba(15,30,50,0.6), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 8px);
}
.imgph.tint-coral {
  background-color: #4a2418;
  background-image:
    radial-gradient(100% 80% at 40% 30%, rgba(232,153,112,0.5), transparent 60%),
    radial-gradient(80% 60% at 80% 90%, rgba(120,30,30,0.5), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 8px);
}
.imgph.tint-jungle {
  background-color: #1a2a1f;
  background-image:
    radial-gradient(120% 80% at 30% 30%, rgba(79,140,123,0.55), transparent 60%),
    radial-gradient(80% 60% at 80% 80%, rgba(20,40,30,0.6), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 8px);
}
.imgph.tint-night {
  background-color: #0d1422;
  background-image:
    radial-gradient(120% 80% at 30% 20%, rgba(40,60,110,0.6), transparent 60%),
    radial-gradient(80% 60% at 70% 90%, rgba(80,40,90,0.5), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 8px);
}
.imgph.tint-sand {
  background-color: #5a4733;
  background-image:
    radial-gradient(100% 80% at 30% 20%, rgba(232,200,160,0.5), transparent 60%),
    radial-gradient(80% 60% at 80% 90%, rgba(110,80,50,0.5), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 8px);
}
.imgph.tint-pitch {
  background-color: #1a3a2a;
  background-image:
    radial-gradient(80% 100% at 50% 100%, rgba(60,140,90,0.55), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 12px, transparent 12px 24px),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 8px);
}
.imgph.tint-court {
  background-color: #5a3320;
  background-image:
    radial-gradient(80% 100% at 50% 100%, rgba(200,140,80,0.55), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 8px);
}
.imgph.tint-ring {
  background-color: #1a0e1a;
  background-image:
    radial-gradient(80% 100% at 50% 50%, rgba(120,40,60,0.55), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 8px);
}

/* Simple gradient overlay used on hero images */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 40%,
    rgba(0,0,0,0.5) 75%,
    rgba(0,0,0,0.92) 100%
  );
  pointer-events: none;
}

/* ============================================================
   Subtle "MediaOS" wordmark used in cover + footers
   ============================================================ */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.04em;
  font-size: 30px;
  color: var(--cream);
}
.wordmark .os {
  color: var(--coral);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  margin-left: 2px;
}
