/* style.css - ChatJoin.app Premium Design Theme (Chitchat.gg style) */

:root {
  --brand-pink: #ff52a1;
  --pink-glow: rgba(255, 82, 161, 0.45);
  --pink-dim: rgba(255, 82, 161, 0.12);
  --brand-purple: #7c3aed;
  --purp-dim: rgba(124, 58, 237, 0.15);
  --bg-midnight: #06020c;
  --bg-deep-space: #030106;
  --bg-card: rgba(18, 10, 32, 0.65);
  --bg-card-hover: rgba(28, 16, 48, 0.8);
  --card-border: rgba(255, 82, 161, 0.16);
  --card-border-active: rgba(255, 82, 161, 0.5);
  --text-primary: #FFFFFF;
  --text-muted: #94A3B8;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-neon: 0 0 25px rgba(255, 82, 161, 0.35);
  --shadow-neon-intense: 0 0 40px rgba(255, 82, 161, 0.7);
  --shadow-purple: 0 0 30px rgba(124, 58, 237, 0.3);
}

/* Reset & Initial Setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-midnight);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.mb-4 { margin-bottom: 1rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }

/* Background Atmosphere & Floating Particles */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(circle at 50% 15%, #18092d 0%, var(--bg-midnight) 80%);
}

#portal-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Glowing Neon background path curves */
.background-curves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.decor-glow {
  position: absolute;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--pink-dim) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

.decor-glow.pos-left {
  top: -150px;
  left: -200px;
}

.decor-glow.pos-right {
  bottom: 15%;
  right: -200px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, rgba(0,0,0,0) 70%);
}

/* Header Navbar Styles */
header {
  padding: 24px 0;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Glass branding style */
.logo-anchor {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.logo-svg-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-anchor:hover .logo-svg-wrap {
  transform: scale(1.1) rotate(5deg);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.7px;
  background: linear-gradient(135deg, #FFFFFF 40%, var(--brand-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text span {
  font-weight: 500;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
}

/* Premium Navigation Links */
.header-nav-inline {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link-item {
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
}

.nav-link-item:hover {
  color: #FFFFFF;
}

.nav-link-item:hover::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--brand-pink);
  border-radius: 4px;
}

/* Live indicators */
.live-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 82, 161, 0.08);
  border: 1px solid var(--card-border);
  padding: 8px 18px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-pink);
  box-shadow: inset 0 0 8px var(--pink-dim);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--brand-pink);
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--brand-pink);
  border-radius: 50%;
  top: 0;
  left: 0;
  transform: scale(1);
  animation: border-ping 1.8s infinite ease-out;
}

@keyframes border-ping {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3.2); opacity: 0; }
}

/* TWO-COLUMN HERO GRID (Chitchat.gg Layout) */
.hero-grid-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 96px;
  position: relative;
  z-index: 10;
}

.hero-alert-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.sparkle-star {
  color: var(--brand-pink);
  animation: spinner-rot 3s linear infinite;
}

@keyframes spinner-rot {
  100% { transform: rotate(360deg); }
}

.main-title-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.5vw, 62px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.gradient-spot {
  background: linear-gradient(135deg, #FFFFFF 30%, #ff8cb9 70%, var(--brand-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-intro-lead {
  font-size: clamp(15px, 2.2vw, 17.5px);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 580px;
}

/* Glassmorphism Cards */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  background: var(--bg-card-hover);
  border-color: var(--card-border-active);
}

/* Gatekeeper check box module */
.gatekeeper-card {
  width: 100%;
  max-width: 540px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.gatekeeper-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand-pink), transparent);
}

.gatekeeper-caption {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand-pink);
  margin-bottom: 20px;
}

.terms-agreement-flow {
  margin-bottom: 24px;
}

.check-label {
  display: flex;
  align-items: flex-start;
  text-align: left;
  cursor: pointer;
  user-select: none;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
  gap: 12px;
}

.check-label input {
  display: none;
}

.custom-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
  background: rgba(0, 0, 0, 0.3);
  margin-top: 2px;
}

.check-label:hover .custom-checkbox {
  border-color: var(--brand-pink);
  box-shadow: 0 0 8px rgba(255, 82, 161, 0.2);
}

.check-label input:checked + .custom-checkbox {
  border-color: var(--brand-pink);
  background: var(--pink-dim);
  box-shadow: var(--shadow-neon);
}

.check-label input:checked + .custom-checkbox::after {
  content: "✔";
  color: var(--brand-pink);
  font-size: 13px;
  font-weight: 900;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.check-text a {
  color: var(--brand-pink);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.check-text a:hover {
  text-shadow: 0 0 8px var(--pink-glow);
  border-bottom: 1px solid var(--brand-pink);
}

/* Warnings */
.warning-alert-pill {
  color: #ff5e5e;
  background: rgba(255, 94, 94, 0.08);
  border: 1px solid rgba(255, 94, 94, 0.18);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: reveal-fade 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes reveal-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Shake transition for error feedback */
.shake-trigger {
  animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* Pulsing START VIDEO CHAT Action button */
.pulse-btn {
  width: 100%;
  padding: 18px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #a736ee 0%, var(--brand-pink) 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-neon), var(--shadow-purple);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  margin-top: 10px;
}

.pulse-btn:hover {
  transform: translateY(-2.5px);
  box-shadow: var(--shadow-neon-intense), 0 0 25px rgba(124, 58, 237, 0.5);
}

.pulse-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 150%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-20deg);
  transition: 0.75s;
}

.pulse-btn:hover::after {
  left: 120%;
}

.pulse-btn.is-locked {
  background: linear-gradient(135deg, #120921 0%, #201334 100%);
  color: #4b3e5e;
  box-shadow: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.pulse-btn.is-locked:hover {
  transform: none;
  box-shadow: none;
}

.trust-badge-columns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.badge-check {
  color: var(--brand-pink);
  font-weight: bold;
}

/* CHITCHAT STYLE HERO MOCKUP ILLUSTRATION PANEL */
.hero-mockup-block {
  display: flex;
  justify-content: flex-end;
  align-content: center;
}

.mockup-frame-glass {
  width: 100%;
  max-width: 480px;
  background: rgba(14, 8, 26, 0.75);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-purple), 0 25px 50px rgba(0,0,0,0.6);
  padding: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mockup-frame-glass::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--brand-pink), transparent);
}

.mockup-window-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 4px;
}

.window-controls {
  display: flex;
  gap: 6px;
}

.window-controls span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #3b3052;
}

.window-controls span:nth-of-type(1) { background-color: #ff5f56; }
.window-controls span:nth-of-type(2) { background-color: #ffbd2e; }
.window-controls span:nth-of-type(3) { background-color: #27c93f; }

.window-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.window-live-counter {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-pink);
}

.live-blink {
  width: 6px;
  height: 6px;
  background-color: var(--brand-pink);
  border-radius: 50%;
  animation: shadow-ping 1.2s infinite ease-out;
}

@keyframes shadow-ping {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.mockup-video-canvas {
  width: 100%;
  height: 310px;
  background-color: #030105;
  border-radius: var(--radius-md);
  border: 1px solid rgba(124, 58, 237, 0.15);
  position: relative;
  overflow: hidden;
}

.mockup-partner-video {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-overlay-info {
  position: absolute;
  width: 100%;
  left: 0;
  padding: 12px;
  z-index: 5;
  display: flex;
  gap: 8px;
  align-items: center;
}

.video-overlay-info.header-overlay {
  top: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, transparent 100%);
}

.video-overlay-info.footer-overlay {
  bottom: 0;
  background: linear-gradient(360deg, rgba(0,0,0,0.7) 0%, transparent 100%);
  justify-content: center;
}

.country-pill {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  background-color: rgba(3, 1, 5, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  color: #fff;
}

.gender-pill-female {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background-color: rgba(236, 72, 153, 0.2);
  border: 1px solid rgba(236, 72, 153, 0.4);
  padding: 4px 10px;
  border-radius: 6px;
  color: #f472b6;
}

.partner-avatar-graphic {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.matching-interests {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.matching-interests span {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-pink);
  background: rgba(255, 82, 161, 0.1);
  border: 1px solid rgba(255, 82, 161, 0.25);
  padding: 3px 8px;
  border-radius: 4px;
}

.user-status-text {
  font-size: 12px;
  font-weight: 500;
  color: #e2e8f0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  text-align: center;
}

.mockup-self-video {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 90px;
  height: 120px;
  background-color: #0c0714;
  border-radius: 10px;
  border: 1.5px solid var(--brand-pink);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.self-avatar-graphic {
  margin-bottom: 6px;
}

.self-device-active {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-pink);
}

/* Floating interactive alerts on mockup */
.decor-match-alerts {
  position: absolute;
  top: 55px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.bubble-alert {
  background: rgba(14, 7, 26, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.bubble-alert.alert-pink { border: 1.5px solid rgba(255, 82, 161, 0.4); }
.bubble-alert.alert-purple { border: 1.5px solid rgba(124, 58, 237, 0.4); }

.bubble-emoji {
  font-size: 16px;
}

.alert-details {
  display: flex;
  flex-direction: column;
}

.alert-details strong {
  font-family: var(--font-display);
  font-size: 11px;
  color: #FFFFFF;
}

.alert-details span {
  font-size: 10px;
  color: var(--text-muted);
}

/* Simulated animations for mockup loading */
.anim-slide-up-1 {
  animation: slide-overlay 4.5s cubic-bezier(0.16, 1, 0.3, 1) infinite alternate;
}

.anim-slide-up-2 {
  animation: slide-overlay 4.5s cubic-bezier(0.16, 1, 0.3, 1) infinite alternate;
  animation-delay: 1.2s;
}

@keyframes slide-overlay {
  0% { opacity: 0; transform: translateY(12px) scale(0.95); }
  10%, 90% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-8px) scale(0.97); }
}

.mockup-window-controls {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.mockup-btn {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: none;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  color: #4c3f5d;
  background-color: #1a0f2e;
  cursor: not-allowed;
}

/* SECTION 2: INTRO SUB PANEL (SEO Authority) */
.intro-sub-panel {
  text-align: center;
  max-width: 950px;
  margin: 0 auto 100px;
  padding: 48px;
  border-radius: var(--radius-lg);
  border-color: rgba(124, 58, 237, 0.2);
}

.ribbon-hdr {
  display: inline-block;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: #a78bfa;
  padding: 4px 14px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.sub-lead-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 950;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #FFFFFF, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub-lead-description {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* SECTION 3: ALTERNATING FEATURES BLOCKS */
.alternating-blocks-container {
  display: flex;
  flex-direction: column;
  gap: 90px;
  margin-bottom: 120px;
}

.alt-block-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.alt-block-row.alt-reverse {
  direction: rtl;
}

.alt-block-row.alt-reverse .alt-block-body {
  direction: ltr;
}

.alt-block-row.alt-reverse .alt-block-illustration {
  direction: ltr; /* Keeps graphics regular layout */
}

.block-category {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-pink);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 12px;
}

.block-title {
  font-size: clamp(24px, 3.8vw, 34px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 18px;
  color: #FFFFFF;
}

.block-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.block-desc strong {
  color: #fff;
  font-weight: 600;
}

.highlight-purp {
  color: #a78bfa;
}

.highlight-pink {
  color: var(--brand-pink);
}

.alt-block-illustration {
  display: flex;
  justify-content: center;
}

/* Custom CSS/SVG Illustration Cards */
.glass-ill-card {
  width: 100%;
  max-width: 440px;
  height: 270px;
  background: rgba(18, 9, 36, 0.45);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.glass-ill-card:hover {
  border-color: var(--card-border-active);
  transform: translateY(-4px);
}

.matching-spark-badge {
  background: linear-gradient(90deg, var(--brand-pink), var(--brand-purple));
  color: #FFFFFF;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 11.5px;
  padding: 4px 12px;
  border-radius: 100px;
  display: inline-block;
}

.ill-interests-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip-tag {
  font-size: 11.5px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 5px 12px;
  border-radius: 6px;
  color: #64748b;
  transition: all 0.2s ease;
}

.chip-tag.active {
  color: var(--brand-pink);
  background: var(--pink-dim);
  border-color: rgba(255, 82, 161, 0.3);
  box-shadow: 0 0 10px rgba(255, 82, 161, 0.1);
}

.sim-text-room {
  background-color: #06020c;
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 11.5px;
}

.chat-msg {
  margin-bottom: 6px;
  line-height: 1.4;
}

.chat-msg:last-child {
  margin-bottom: 0;
}

.chat-u {
  font-weight: bold;
}

.msg-received .chat-u {
  color: var(--brand-pink);
}

.msg-sent .chat-u {
  color: #93c5fd;
}

/* Block illustration 2: Video Grid */
.video-grid-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}

.mini-view {
  height: 140px;
  border-radius: var(--radius-md);
  position: relative;
  background-color: #0c0714;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.border-light { border: 1.5px solid rgba(255,255,255,0.06); }
.border-fuchsia { border: 1.5px solid var(--brand-pink); }

.view-user {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10px;
  font-family: var(--font-display);
  background: rgba(0,0,0,0.55);
  padding: 2px 6px;
  border-radius: 4px;
}

.smiling-face {
  font-size: 42px;
  animation: generic-sway 2.5s ease-in-out infinite alternate;
}

@keyframes generic-sway {
  0% { transform: scale(0.9) rotate(-3deg); }
  100% { transform: scale(1.05) rotate(3deg); }
}

.live-telemetry-pill {
  font-family: "Courier New", Courier, monospace;
  font-size: 10.5px;
  color: var(--brand-pink);
  text-align: center;
  background: rgba(255, 82, 161, 0.04);
  padding: 6px;
  border-radius: 6px;
  border: 1px solid rgba(255, 82, 161, 0.08);
}

/* Block illustration 3: Friend connections */
.friend-network-map {
  display: flex;
  justify-content: center;
  align-items: center;
}

.friend-add-feedback {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.18);
  font-size: 11.5px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.friend-add-feedback strong {
  color: #34d399;
}

.friend-add-feedback span {
  color: var(--text-muted);
  font-size: 10.5px;
  margin-top: 2px;
}

/* SECTION 4: FEATURES SHOWCASE GRID */
.features-showcase-wrapper {
  padding: 10px 0 100px;
}

h2.section-hdr {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.5vw, 40px);
  font-weight: 900;
  letter-spacing: -1.2px;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.section-subhdr {
  font-size: 15.5px;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

.features-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.flx-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.flx-card:hover {
  transform: translateY(-5px);
}

.card-icon-sphere {
  width: 48px;
  height: 48px;
  background: var(--pink-dim);
  border: 1.5px solid var(--card-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--brand-pink);
  font-size: 18px;
  box-shadow: 0 0 10px var(--pink-dim);
}

.flx-card:nth-of-type(even) .card-icon-sphere {
  background: var(--purp-dim);
  border-color: rgba(124, 58, 237, 0.2);
  color: #a78bfa;
}

.flx-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.flx-text {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* SECTION 5: COMPARISON MATRIX */
.comparison-matrix-wrapper {
  padding-bottom: 100px;
}

.table-overflow-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.authority-matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background-color: var(--bg-card);
}

.authority-matrix-table th, .authority-matrix-table td {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 82, 161, 0.05);
  font-size: 14.5px;
}

.authority-matrix-table th {
  background-color: rgba(18, 9, 36, 0.5);
  font-family: var(--font-display);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 13.5px;
  letter-spacing: 0.8px;
}

.authority-matrix-table th.head-left {
  color: #fff;
}

.authority-matrix-table th.head-highlight {
  color: var(--brand-pink);
  text-shadow: 0 0 10px var(--pink-glow);
}

.criteria-row {
  color: #FFFFFF;
  font-weight: 600;
}

.high-mark {
  color: var(--brand-pink);
  font-weight: 700;
  background: rgba(255, 82, 161, 0.02);
}

.poor-mark {
  color: #4b546e;
}

/* SECTION 6: SOCIAL PROOF TESTIMONIAL SLIDER */
.testimonials-slider-section {
  padding-bottom: 100px;
}

.testimonial-intro {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-pink);
  letter-spacing: 1px;
  font-size: 12px;
  display: block;
  margin-bottom: 10px;
}

.testimonials-carousel-view {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-deck {
  width: 100%;
  min-height: 240px;
  position: relative;
}

.testimonial-item {
  width: 100%;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid rgba(124, 58, 237, 0.15);
  display: none;
  flex-direction: column;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.testimonial-item.active {
  display: flex;
  animation: reveal-fade 0.4s ease forwards;
}

.quotes-icon {
  font-size: 48px;
  color: var(--brand-pink);
  font-family: var(--font-display);
  line-height: 0.1;
  margin-bottom: 10px;
  opacity: 0.5;
}

.testimonial-comment {
  font-size: 16px;
  line-height: 1.7;
  color: #e2e8f0;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #2b1d47;
  border: 2px solid var(--brand-pink);
}

.author-avatar.s-1 { background-image: radial-gradient(circle, #f472b6, #ec4899); }
.author-avatar.s-2 { background-image: radial-gradient(circle, #93c5fd, #3b82f6); }
.author-avatar.s-3 { background-image: radial-gradient(circle, #c084fc, #7c3aed); }

.author-details strong {
  font-family: var(--font-display);
  font-size: 14.5px;
  color: #FFFFFF;
  display: block;
}

.author-details span {
  font-size: 12px;
  color: var(--text-muted);
}

.slider-dots-flex {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.dot-selector {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: none;
  background-color: #2d1a49;
  cursor: pointer;
  transition: all 0.25s ease;
}

.dot-selector.active {
  background-color: var(--brand-pink);
  transform: scale(1.2);
  box-shadow: var(--shadow-neon);
}

/* SECTION 7: CTA BANNER */
.cta-banner-wrapper {
  padding-bottom: 100px;
}

.cta-inner-card {
  padding: 56px;
  border-radius: var(--radius-lg);
  text-align: center;
  background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.15) 0%, rgba(18, 10, 32, 0.75) 100%);
  border: 1px solid var(--card-border-active);
  box-shadow: var(--shadow-neon);
}

.cta-banner-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 950;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.cta-banner-description {
  font-size: 15.5px;
  max-width: 580px;
  margin: 0 auto 28px;
}

.start-climb-btn {
  padding: 14px 34px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
  border: none;
  color: #fff;
  background: var(--brand-pink);
  box-shadow: var(--shadow-neon);
  cursor: pointer;
  transition: all 0.25s ease;
}

.start-climb-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon-intense);
}

/* SECTION 8: FAQ ACCORDION PANEL */
.faq-accordion-section {
  padding-bottom: 120px;
}

.faq-accordion-collection {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-block {
  border-radius: var(--radius-md);
  border-color: rgba(124, 58, 237, 0.15);
  overflow: hidden;
}

.faq-toggle-trigger {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 750;
}

.faq-toggle-trigger:focus {
  outline: none;
}

.faq-sign {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  color: var(--brand-pink);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-block.is-active .faq-sign {
  transform: rotate(45deg);
  background: var(--pink-dim);
}

.faq-body-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-body-text {
  padding: 0 28px 24px 28px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* FOOTER STYLING */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 80px 0 40px;
  background-color: var(--bg-deep-space);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand-segment p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 18px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-columns-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-nav-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-pink);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: #fff;
}

.footer-meta-bar {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-meta-bar p {
  font-size: 13px;
  color: var(--text-muted);
}

.social-links-inline {
  display: flex;
  gap: 20px;
}

.social-links-inline a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.social-links-inline a:hover {
  color: var(--brand-pink);
}

/* SCREEN 2: ACTIVE SECURE CHAT ROOM */
#chat-frame-view {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  z-index: 99999;
  background-color: #010002;
  display: flex;
  flex-direction: column;
}

/* Transition shifter overlay */
#match-shifter-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 40%, #15092a 0%, #030107 90%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 100010;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.matcher-cube {
  position: relative;
  width: 76px;
  height: 76px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-radar {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid var(--brand-pink);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spinner-rot 1s infinite linear;
}

.inner-smile-avatar {
  font-size: 34px;
}

.matcher-header-status {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 850;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.matcher-log-ticker {
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  color: var(--brand-pink);
  text-align: center;
  max-width: 330px;
  min-height: 20px;
  text-shadow: 0 0 10px rgba(255,82,161,0.3);
}

/* Chat Header bar (corresponds perfectly to Screenshot 1) */
.chat-room-head {
  height: 68px;
  background: #06020c;
  border-bottom: 1.5px solid rgba(255, 82, 161, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  flex-shrink: 0;
}

.active-match-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-channel-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 82, 161, 0.1);
  border: 1px solid var(--card-border-active);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-pink);
}

.channel-tag-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.quit-chat-button {
  background: linear-gradient(135deg, #FF3E5E 0%, #d61234 100%);
  border: none;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: white;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(214, 18, 52, 0.35);
  text-transform: uppercase;
}

.quit-chat-button:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(214, 18, 52, 0.55);
}

/* Viewport structure */
.viewport-chat-holder {
  flex-grow: 1;
  position: relative;
  background-color: #010002;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iframe-element-frame {
  width: 100%;
  height: 100%;
  border: none;
}

/* DESKTOP FULL SCREEN DISPLAY FOR VIDEO IFRAME */
@media (min-width: 992px) {
  .viewport-chat-holder {
    padding: 0;
    background-color: #000;
  }

  .iframe-theatre-wrapper {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border-radius: 0;
    border: none;
    box-shadow: none;
    overflow: hidden;
    position: relative;
    background-color: #000;
  }
}

/* MOBILE VIEW - FULL SCALE viewport limits to prevent overflowing */
@media (max-width: 991px) {
  #chat-frame-view {
    height: 100dvh;
    height: -webkit-fill-available;
  }

  .viewport-chat-holder {
    padding: 0;
  }

  .iframe-theatre-wrapper {
    width: 100%;
    height: 100%;
  }
}

/* RESPONSIVE STACKS */
@media (max-width: 991px) {
  .hero-grid-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px 0 64px;
    text-align: center;
  }

  .hero-primary-block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-intro-lead {
    margin-bottom: 300;
  }

  .hero-mockup-block {
    justify-content: center;
    margin-top: 12px;
  }

  .intro-sub-panel {
    padding: 30px 20px;
    margin-bottom: 64px;
  }

  .alt-block-row {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .alt-block-row.alt-reverse {
    direction: ltr;
  }

  .alt-block-row.alt-reverse .alt-block-body {
    direction: ltr;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-brand-segment p {
    max-width: 100%;
  }

  .footer-columns-group {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 500px) {
  .footer-columns-group {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .header-nav-inline {
    display: none; /* Hide header items on super narrow screens */
  }

  .gatekeeper-card {
    padding: 24px;
  }
}

/* --- 
   2026 PREMIUM DESIGN SYSTEM ENHANCEMENTS FOR CHATJOIN.APP
--- */

/* Custom Tooltip Styling */
.custom-tooltip-bubble {
  position: absolute;
  bottom: 110px; /* Positions perfectly adjacent to START button */
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #ff3e5e;
  background: linear-gradient(135deg, #ff3e5e 0%, #d61234 100%);
  color: white;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 10px 25px rgba(255, 62, 94, 0.45);
  z-index: 1000;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  font-family: var(--font-display);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-tooltip-bubble.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.tooltip-arrow {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #d61234;
  transform: rotate(45deg) translateX(-50%);
}

/* Pulsing Start Button breathing dynamics */
@keyframes breathing-pulse-shadow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(255, 82, 161, 0.4), 0 0 5px rgba(123, 47, 247, 0.25);
  }
  50% {
    box-shadow: 0 0 32px rgba(255, 82, 161, 0.9), 0 0 18px rgba(123, 47, 247, 0.55);
  }
}

.pulse-btn {
  background: linear-gradient(135deg, #ff52a1 0%, #7b2ff7 100%) !important;
  color: #ffffff !important;
  font-family: var(--font-display);
  font-size: 19px !important;
  font-weight: 900 !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.pulse-btn:not(.is-locked):not(.temp-dull-grey) {
  animation: breathing-pulse-shadow 2.0s infinite ease-in-out !important;
}

/* Hover dynamics scale 1.05 and increased glow */
.pulse-btn:not(.temp-dull-grey):hover {
  transform: scale(1.05) translateY(-1px) !important;
  box-shadow: 0 0 45px rgba(255, 82, 161, 0.95), 0 0 25px rgba(123, 47, 247, 0.7) !important;
}

/* Dull grey lock state (temporarily active on fault clicks) */
.pulse-btn.temp-dull-grey {
  background: linear-gradient(135deg, #374151 0%, #4b5563 100%) !important;
  color: #9cb3c9 !important;
  box-shadow: none !important;
  animation: none !important;
  transform: scale(0.97) !important;
  cursor: not-allowed !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Glassmorphism E-E-A-T SEO Articles Grid styling */
.seo-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
  text-align: left;
}

.seo-article-block {
  background: rgba(18, 10, 32, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 82, 161, 0.15);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
  padding: 30px;
  border-radius: 20px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.seo-article-block:hover {
  background: rgba(28, 16, 48, 0.6);
  border-color: rgba(255, 82, 161, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px 0 rgba(255, 82, 161, 0.15), 0 12px 40px 0 rgba(0, 0, 0, 0.5);
}

.seo-article-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.4;
  letter-spacing: -0.3px;
  border-left: 3px solid var(--brand-pink);
  padding-left: 12px;
}

.seo-article-paragraph {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(241, 245, 249, 0.85); /* Premium readability contrast */
  margin-bottom: 14px;
}

.seo-article-paragraph:last-child {
  margin-bottom: 0;
}

.seo-article-paragraph code {
  background: rgba(255, 82, 161, 0.15);
  color: var(--brand-pink);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 12.5px;
}

/* Cohesive horizontally-oriented campfire container design */
.camp-container-fold {
  grid-column: 1 / -1;
  background: rgba(18, 10, 32, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 82, 161, 0.15);
  padding: 24px 32px;
  border-radius: var(--radius-md);
  margin-top: 10px;
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  animation: reveal-fade 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.camp-container-fold:hover {
  background: rgba(28, 16, 48, 0.6);
  border-color: rgba(255, 82, 161, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px 0 rgba(255, 82, 161, 0.12), 0 12px 40px 0 rgba(0, 0, 0, 0.5);
}

.camp-text {
  font-family: var(--font-display);
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(241, 245, 249, 0.95);
  text-align: center;
  margin: 0;
}

.gradient-phrase {
  font-weight: 800;
  background: linear-gradient(135deg, #ff52a1 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* Slim 50px Branded Top Bar */
.chat-top-bar-branded {
  height: 50px;
  width: 100%;
  background: rgba(18, 10, 32, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1.5px solid rgba(255, 82, 161, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  flex-shrink: 0;
  z-index: 100015;
}

.left-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.branded-name-text {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 0.8px;
}

.chat-bar-exit-btn {
  background: linear-gradient(135deg, #ff52a1 0%, #f43f5e 100%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 18px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 82, 161, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.5px;
  text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}

.chat-bar-exit-btn:hover {
  transform: scale(1.05) translateY(-0.5px);
  box-shadow: 0 6px 16px rgba(255, 82, 161, 0.55);
}

/* Floating Exit Button with Pink Gradient and Glassmorphism Blur */
.floating-exit-btn {
  position: fixed;
  top: 15px;
  right: 20px;
  z-index: 100020; /* Floating strictly above standard iframe and overlays */
  background: linear-gradient(135deg, rgba(255, 82, 161, 0.95) 0%, rgba(244, 63, 94, 0.95) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 24px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 82, 161, 0.35), 0 0 15px rgba(255, 82, 161, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.floating-exit-btn:hover {
  background: linear-gradient(135deg, #ff52a1 0%, #f43f5e 100%);
  transform: scale(1.06) translateY(-1px);
  box-shadow: 0 10px 28px rgba(255, 82, 161, 0.55), 0 0 25px rgba(255, 82, 161, 0.3);
}

.chatjoin-logo-mini {
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.6));
  animation: mini-rotation 4s infinite linear;
}

.chatjoin-logo-mini-header {
  filter: drop-shadow(0 0 4px rgba(255, 82, 161, 0.6));
  animation: mini-rotation 5s infinite linear;
}

@keyframes mini-rotation {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Scroll Reveal slides up beautifully */
.scroll-reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Complete Iframe reset for zero borders and strict 100vw/dvh */
.viewport-chat-holder {
  padding: 0 !important;
  margin: 0 !important;
  width: 100vw !important;
  height: calc(100dvh - 50px) !important;
  position: fixed !important;
  top: 50px !important;
  left: 0 !important;
  max-width: none !important;
  max-height: none !important;
  z-index: 9999 !important;
  display: block !important; /* Ensure it's not flex-centered if it's supposed to be full */
}

.iframe-theatre-wrapper {
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

#iframe-delivery-box iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
}

/* Tactile shake animation keyframes */
@keyframes tactile-shake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-8px); }
  30% { transform: translateX(6px); }
  45% { transform: translateX(-6px); }
  60% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
  90% { transform: translateX(1px); }
}

.shake-trigger {
  animation: tactile-shake 0.5s ease-in-out !important;
}
