/* ── Open Comms — thecity.world styles ────────────────────────── */

:root {
  --bg:          #0a0a0f;
  --surface:     #12121a;
  --border:      rgba(255,255,255,0.08);
  --accent:      #7c6af7;
  --accent-glow: rgba(124,106,247,0.35);
  --text:        #e8e8f0;
  --text-muted:  #888899;
  --green:       #4caf82;
  --red:         #e05a5a;
  --radius:      14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ── Site header ──────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(to bottom, rgba(10,10,15,0.95) 0%, transparent 100%);
}

.site-logo {
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted);
}

/* Live signal tag */
.transmission-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(76,175,130,0.12);
  border: 1px solid rgba(76,175,130,0.3);
  border-radius: 50px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green);
}

.transmission-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* ── Hero layout ──────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}

/* 1. Photo strip */
.hero-photo-wrap {
  width: 100%;
  max-height: 65svh;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

/* Gradient blends photo into background */
.hero-photo-wrap::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 180px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.hero-photo {
  width: 100%; height: 65svh;
  object-fit: cover; object-position: top center;
  display: block;
}

/* Silhouette placeholder while you add the real image */
.hero-photo-placeholder {
  width: 100%; height: 65svh;
  background: linear-gradient(160deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: none; align-items: center; justify-content: center;
}

.hero-photo-placeholder svg { opacity: 0.2; }

/* 2 & 3. Text + CTA */
.hero-body {
  padding: 0 24px 60px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  max-width: 520px;
  margin-top: -24px;   /* pulls body up under the photo gradient */
  position: relative; z-index: 1;
}

.hero-eyebrow {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}

.hero-name {
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-size: 1.05rem; color: var(--text-muted);
  line-height: 1.6; max-width: 380px;
  font-style: italic;
}

.hero-bio {
  font-size: 0.9rem; color: var(--text-muted);
  line-height: 1.65; max-width: 360px;
}

/* 3. CTA button */
.hero-cta {
  margin-top: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 44px;
  background: var(--accent);
  color: #fff;
  border-radius: 50px;
  font-size: 1.05rem; font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 4px 28px var(--accent-glow);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.hero-cta:hover {
  background: #9180f9;
  transform: translateY(-2px);
  box-shadow: 0 8px 36px var(--accent-glow);
}

.hero-cta:active { transform: none; }

/* Generic btn helpers (used by incoming overlay) */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 26px;
  border: none; border-radius: 50px;
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover  { opacity: 0.88; }
.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-accept  { background: var(--green);  color: #001a0a; }
.btn-decline { background: var(--red);    color: #fff; }

/* ── Incoming call overlay ────────────────────────────────────── */
.incoming-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
}

.incoming-overlay.hidden { display: none; }

.incoming-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 36px 40px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8);
  max-width: 320px; width: 90%;
  animation: incoming-rise 0.3s ease-out;
}

@keyframes incoming-rise {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}

.incoming-photo {
  width: 96px; height: 96px; border-radius: 50%;
  object-fit: cover; object-position: top;
  border: 3px solid var(--accent);
  margin: 0 auto 16px; display: block;
  animation: ring-glow 1s ease-in-out infinite alternate;
}

@keyframes ring-glow {
  from { box-shadow: 0 0 10px var(--accent-glow); }
  to   { box-shadow: 0 0 28px var(--accent); }
}

.incoming-label {
  font-size: 0.7rem; letter-spacing: 0.16em;
  color: var(--text-muted); margin-bottom: 6px;
}

.incoming-name {
  font-size: 1.4rem; font-weight: 700; margin-bottom: 6px;
}

.incoming-sub {
  font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px;
}

.incoming-actions {
  display: flex; gap: 12px; justify-content: center;
}
