@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-primary: #07080c;
  --bg-secondary: #0f111a;
  --bg-card: rgba(22, 25, 38, 0.7);
  --bg-card-hover: rgba(32, 36, 56, 0.85);
  --bg-glass: rgba(18, 20, 32, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-light: rgba(255, 255, 255, 0.15);
  
  --primary-pink: #fe2c55;
  --primary-cyan: #25f4ee;
  --primary-purple: #8b5cf6;
  --primary-purple-dark: #6d28d9;
  --accent-gold: #f59e0b;
  --accent-green: #10b981;
  --accent-blue: #3b82f6;

  --text-main: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --font-main: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --gradient-tik: linear-gradient(135deg, #fe2c55 0%, #ff007a 50%, #7928ca 100%);
  --gradient-match: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --gradient-cyan: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

*::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  font-family: var(--font-main);
  color: var(--text-main);
}

/* On desktop, center the mobile container cleanly with ambient background */
body {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #08090e;
  background-image: 
    radial-gradient(circle at 50% 10%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(254, 44, 85, 0.08) 0%, transparent 50%);
}

/* ========================================================
   RESPONSIVE MOBILE VIEWPORT
   - On mobile / devtools mobile: 100% width, 100% height
   - On wide desktop: 412px max-width, rounded frame
======================================================== */
.app-container {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 430px;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (min-width: 601px) {
  .app-container {
    height: 92vh;
    max-height: 890px;
    border-radius: 46px;
    border: 4px solid #222430;
    box-shadow: 
      0 0 0 1px rgba(255, 255, 255, 0.1),
      0 25px 60px rgba(0, 0, 0, 0.8),
      0 0 40px rgba(139, 92, 246, 0.15);
  }
}

@media (max-width: 600px) {
  body {
    background: #000;
  }
  .app-container {
    max-width: 100%;
    height: 100dvh;
    border-radius: 0;
    border: none;
  }
}

/* Screen manager */
.app-screen-viewport {
  position: relative;
  width: 100%;
  flex: 1;
  overflow: hidden;
  background: var(--bg-primary);
}

.screen {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
  -webkit-overflow-scrolling: touch;
}

.screen.active {
  display: flex !important;
  opacity: 1 !important;
  z-index: 10;
}

/* ========================================================
   CLEAN PRODUCTION EMPTY / GUEST STATES
======================================================== */
.guest-state-container,
.chat-guest-view,
.match-guest-view,
.guest-profile-view {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px 20px 24px;
}

.guest-state-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(254, 44, 85, 0.08);
  border: 1px solid rgba(254, 44, 85, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.guest-state-icon svg {
  width: 34px;
  height: 34px;
  fill: var(--primary-pink);
}

.guest-state-icon.match-icon {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.25);
}
.guest-state-icon.match-icon svg {
  fill: var(--primary-purple);
}

.guest-state-icon.profile-icon {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
.guest-state-icon.profile-icon svg {
  fill: #94a3b8;
}

.guest-state-title {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.guest-state-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.45;
  max-width: 280px;
  margin-bottom: 26px;
}

.guest-state-cta-btn {
  width: 100%;
  max-width: 290px;
  background: var(--primary-pink);
  border: none;
  border-radius: 24px;
  padding: 13px 20px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(254, 44, 85, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.guest-state-cta-btn:active {
  transform: scale(0.97);
  opacity: 0.9;
}

.guest-state-cta-btn.match-btn {
  background: var(--gradient-match);
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.35);
}

