/* ============================================================
   acimadostrinta.com.br — Design System Premium
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-deep:       #080813;
  --bg-card:       #10101e;
  --bg-surface:    #15152a;
  --bg-elevated:   #1c1c35;
  --border:        rgba(255,255,255,.08);
  --border-hover:  rgba(255,255,255,.16);

  --grad-primary:  linear-gradient(135deg, #c8624f 0%, #e8896a 50%, #f0b89a 100%);
  --grad-accent:   linear-gradient(135deg, #7c3aed 0%, #c026d3 100%);
  --grad-gold:     linear-gradient(135deg, #c8956c 0%, #e8b88a 100%);
  --grad-match:    linear-gradient(135deg, #e91e8c 0%, #f72585 100%);

  --primary:       #e8896a;
  --primary-dark:  #c8624f;
  --accent:        #9d6df5;
  --gold:          #d4a574;
  --success:       #22c55e;
  --danger:        #ef4444;
  --warning:       #f59e0b;

  --text-primary:  #f0f0f5;
  --text-secondary:#a0a0b8;
  --text-muted:    #606075;

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 9999px;

  --shadow-sm:   0 2px 8px rgba(0,0,0,.4);
  --shadow-md:   0 4px 20px rgba(0,0,0,.5);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.6);
  --shadow-glow: 0 0 30px rgba(232,137,106,.25);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --transition: 200ms cubic-bezier(.4,0,.2,1);
  --transition-slow: 400ms cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

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

.app-body {
  padding-bottom: 80px; /* bottom nav space */
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; display: block; }

/* ============================================================
   TIPOGRAFIA
   ============================================================ */
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.8rem); }

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  outline: none;
  text-decoration: none;
}
.btn:focus-visible { box-shadow: 0 0 0 3px rgba(232,137,106,.5); }

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(200,98,79,.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(200,98,79,.5);
  color: #fff;
}

.btn-accent {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(124,58,237,.4);
}
.btn-accent:hover {
  transform: translateY(-2px);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}
.btn-ghost:hover {
  background: var(--bg-elevated);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}
.btn-danger:hover { background: #dc2626; color: #fff; }

.btn-sm { padding: .4rem 1rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* ============================================================
   GLASSMORPHISM CARD
   ============================================================ */
.glass {
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

/* ============================================================
   FORMULÁRIOS
   ============================================================ */
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  margin-bottom: .4rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232,137,106,.15);
}
.form-control::placeholder { color: var(--text-muted); }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a0b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
select.form-control option { background: var(--bg-elevated); }

textarea.form-control { resize: vertical; min-height: 100px; }

.form-error {
  display: block;
  margin-top: .3rem;
  font-size: .82rem;
  color: var(--danger);
}
.form-hint {
  display: block;
  margin-top: .3rem;
  font-size: .82rem;
  color: var(--text-muted);
}

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  padding: .875rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: .9rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}
.alert-success { background: rgba(34,197,94,.1);  border-color: rgba(34,197,94,.3);  color: #4ade80; }
.alert-error   { background: rgba(239,68,68,.1);  border-color: rgba(239,68,68,.3);  color: #f87171; }
.alert-warning { background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.3); color: #fbbf24; }
.alert-info    { background: rgba(99,102,241,.1); border-color: rgba(99,102,241,.3); color: #a5b4fc; }

/* ============================================================
   APP HEADER
   ============================================================ */
.app-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  background: rgba(8,8,19,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.app-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.app-logo { display: flex; align-items: center; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -.02em;
}
.logo-accent { color: var(--primary); }

.app-nav-desktop {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .875rem;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: .9rem;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  background: var(--bg-elevated);
  color: var(--text-primary);
}
.nav-link.active { color: var(--primary); }
.nav-avatar {
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--border-hover);
}
.badge-count {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--danger);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: .5rem;
}

/* ============================================================
   BOTTOM NAV MOBILE
   ============================================================ */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  height: 68px;
  background: rgba(8,8,19,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 .5rem;
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: .5rem .75rem;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: .7rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
  text-decoration: none;
}
.bottom-nav-item i { font-size: 1.25rem; }
.bottom-nav-item.active { color: var(--primary); }
.bottom-nav-item:hover { color: var(--text-secondary); }
.badge-count-bottom {
  position: absolute;
  top: 4px; right: 8px;
  background: var(--danger);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   LANDING PAGE
   ============================================================ */
.landing-body { padding-top: 0; }

.landing-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8,8,19,.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.landing-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}
.landing-logo span { color: var(--primary); }
.landing-nav-links { display: flex; gap: .75rem; align-items: center; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 1.5rem 3rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200,98,79,.2) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(124,58,237,.15) 0%, transparent 50%),
    linear-gradient(180deg, #080813 0%, #0d0d20 100%);
}
.hero-orb {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(80px);
  opacity: .4;
  pointer-events: none;
}
.hero-orb-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #c8624f 0%, transparent 70%);
  top: -100px; left: 50%;
  transform: translateX(-50%);
}
.hero-orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  bottom: 20%; right: -50px;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem;
  background: rgba(232,137,106,.1);
  border: 1px solid rgba(232,137,106,.25);
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero h1 {
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}
.hero p {
  font-size: clamp(.95rem, 2.5vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-label { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }

/* Sections */
.section { padding: 5rem 1.5rem; }
.section-center { text-align: center; }
.section-title { margin-bottom: .75rem; }
.section-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 3rem;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-card {
  padding: 2rem 1.5rem;
  text-align: center;
}
.feature-icon {
  width: 60px; height: 60px;
  margin: 0 auto 1.25rem;
  background: rgba(232,137,106,.1);
  border: 1px solid rgba(232,137,106,.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.feature-card p { color: var(--text-secondary); font-size: .9rem; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.testimonial-card { padding: 1.75rem; }
.testimonial-text {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: var(--radius-full);
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
}
.testimonial-name { font-weight: 600; font-size: .9rem; }
.testimonial-role { font-size: .8rem; color: var(--text-muted); }
.stars { color: var(--gold); font-size: .85rem; margin-bottom: .75rem; }

/* Waitlist CTA section */
.waitlist-section {
  padding: 5rem 1.5rem;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(200,98,79,.1), transparent);
  text-align: center;
}
.waitlist-counter {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem 1.5rem;
  background: rgba(232,137,106,.08);
  border: 1px solid rgba(232,137,106,.2);
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  font-size: .9rem;
  color: var(--primary);
}
.counter-dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: var(--radius-full);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.3); }
}

/* Footer */
.landing-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
}
.landing-footer p { color: var(--text-muted); font-size: .85rem; }

/* ============================================================
   SWIPE / DASHBOARD
   ============================================================ */
.swipe-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 1rem 2rem;
  min-height: 100vh;
}
.swipe-header {
  width: 100%;
  max-width: 420px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.swipe-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}
.filter-btn {
  width: 38px; height: 38px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }

/* Card Stack */
.card-stack {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 530px;
}
.swipe-card {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: grab;
  user-select: none;
  box-shadow: var(--shadow-lg);
  transition: transform .15s ease, opacity .15s ease;
  will-change: transform;
}
.swipe-card:active { cursor: grabbing; }
.swipe-card:nth-child(2) {
  transform: scale(.97) translateY(10px);
  z-index: 0;
}
.swipe-card:nth-child(3) {
  transform: scale(.94) translateY(20px);
  z-index: -1;
}
.swipe-card:first-child { z-index: 2; }

.card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.card-gradient {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 65%;
  background: linear-gradient(to top, rgba(0,0,0,.95) 0%, rgba(0,0,0,.6) 50%, transparent 100%);
}
.card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
}
.card-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.card-age { font-size: 1.3rem; font-weight: 400; }
.verified-badge { color: #60a5fa; font-size: 1.1rem; }
.card-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: .3rem;
  color: rgba(255,255,255,.75);
  font-size: .875rem;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .6rem;
}
.tag {
  padding: .2rem .65rem;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius-full);
  font-size: .75rem;
  color: rgba(255,255,255,.85);
  backdrop-filter: blur(4px);
}

/* Swipe indicators */
.swipe-like-indicator, .swipe-nope-indicator {
  position: absolute;
  top: 2rem;
  padding: .4rem 1rem;
  border: 3px solid;
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .08em;
  opacity: 0;
  transition: opacity .1s;
  pointer-events: none;
}
.swipe-like-indicator {
  left: 1.5rem;
  color: var(--success);
  border-color: var(--success);
  transform: rotate(-20deg);
}
.swipe-nope-indicator {
  right: 1.5rem;
  color: var(--danger);
  border-color: var(--danger);
  transform: rotate(20deg);
}

/* Action buttons */
.swipe-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 1.4rem;
  box-shadow: var(--shadow-md);
}
.action-btn:hover { transform: scale(1.1); }
.action-btn:active { transform: scale(.95); }

.btn-skip {
  width: 58px; height: 58px;
  background: var(--bg-elevated);
  border: 2px solid rgba(239,68,68,.4);
  color: var(--danger);
}
.btn-skip:hover { border-color: var(--danger); background: rgba(239,68,68,.1); }

.btn-like {
  width: 68px; height: 68px;
  background: var(--grad-match);
  color: #fff;
  box-shadow: 0 4px 20px rgba(233,30,140,.4);
}
.btn-like:hover { box-shadow: 0 6px 30px rgba(233,30,140,.6); }

.btn-super {
  width: 54px; height: 54px;
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(124,58,237,.4);
  font-size: 1.2rem;
}

.btn-rewind {
  width: 46px; height: 46px;
  background: var(--bg-elevated);
  border: 2px solid rgba(212,165,116,.4);
  color: var(--gold);
  font-size: 1.1rem;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
}
.empty-state-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: .4;
}
.empty-state h3 { margin-bottom: .5rem; }
.empty-state p { color: var(--text-secondary); font-size: .9rem; }

/* Match modal */
.match-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.match-modal-overlay.show {
  opacity: 1;
  pointer-events: all;
}
.match-modal {
  max-width: 380px;
  width: 90%;
  padding: 2.5rem 2rem;
  text-align: center;
  animation: matchPop .5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes matchPop {
  from { transform: scale(.5); opacity: 0; }
  to   { transform: scale(1);  opacity: 1; }
}
.match-avatars {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.match-avatar {
  width: 90px; height: 90px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid;
}
.match-avatar-1 { border-color: var(--primary); margin-right: -20px; z-index: 1; }
.match-avatar-2 { border-color: var(--accent); }
.match-title {
  font-family: var(--font-display);
  font-size: 2rem;
  background: var(--grad-match);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .5rem;
}
.match-sub { color: var(--text-secondary); margin-bottom: 2rem; }
.match-actions { display: flex; flex-direction: column; gap: .75rem; }

/* ============================================================
   MATCHES PAGE
   ============================================================ */
.matches-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 1rem 2rem;
}
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.match-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: transform var(--transition);
}
.match-card:hover { transform: scale(1.02); }
.match-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.match-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: .75rem;
  background: linear-gradient(to top, rgba(0,0,0,.9), transparent);
}
.match-card-name { font-size: .875rem; font-weight: 600; color: #fff; }
.match-card-age  { font-size: .75rem; color: rgba(255,255,255,.7); }
.online-dot {
  position: absolute;
  top: .6rem; right: .6rem;
  width: 10px; height: 10px;
  background: var(--success);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-deep);
}

/* ============================================================
   CHAT
   ============================================================ */
.chat-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  height: calc(100vh - 64px);
  margin-top: 64px;
}
.chat-sidebar {
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.chat-sidebar-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
.chat-list-item {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .875rem 1.25rem;
  cursor: pointer;
  transition: background var(--transition);
  border-bottom: 1px solid rgba(255,255,255,.03);
  text-decoration: none;
  color: var(--text-primary);
}
.chat-list-item:hover, .chat-list-item.active { background: var(--bg-elevated); }
.chat-list-avatar {
  position: relative;
  flex-shrink: 0;
}
.chat-list-avatar img {
  width: 46px; height: 46px;
  border-radius: var(--radius-full);
  object-fit: cover;
}
.chat-list-avatar .online-dot { top: -2px; right: -2px; }
.chat-list-info { flex: 1; min-width: 0; }
.chat-list-name { font-weight: 600; font-size: .9rem; margin-bottom: 2px; }
.chat-list-preview {
  font-size: .8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-list-meta {
  text-align: right;
  flex-shrink: 0;
}
.chat-list-time  { font-size: .72rem; color: var(--text-muted); display: block; }
.chat-unread {
  background: var(--primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

/* Chat window */
.chat-window {
  display: flex;
  flex-direction: column;
  background: var(--bg-deep);
}
.chat-window-header {
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.chat-window-avatar {
  width: 42px; height: 42px;
  border-radius: var(--radius-full);
  object-fit: cover;
}
.chat-window-name { font-weight: 600; }
.chat-window-status { font-size: .8rem; color: var(--success); }
.chat-window-status.offline { color: var(--text-muted); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.message-row {
  display: flex;
  align-items: flex-end;
  gap: .5rem;
}
.message-row.mine { flex-direction: row-reverse; }

.message-bubble {
  max-width: 65%;
  padding: .6rem .9rem;
  border-radius: var(--radius-lg);
  font-size: .9rem;
  line-height: 1.5;
  word-break: break-word;
}
.message-row.theirs .message-bubble {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}
.message-row.mine .message-bubble {
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.message-time {
  font-size: .7rem;
  color: var(--text-muted);
  margin: 2px 4px 0;
}
.message-row.mine .message-time { text-align: right; }

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: .5rem .75rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border-bottom-left-radius: 4px;
  width: fit-content;
}
.typing-dot {
  width: 7px; height: 7px;
  background: var(--text-muted);
  border-radius: var(--radius-full);
  animation: typing 1.4s infinite;
}
.typing-dot:nth-child(2) { animation-delay: .2s; }
.typing-dot:nth-child(3) { animation-delay: .4s; }
@keyframes typing {
  0%, 100% { transform: translateY(0); opacity: .5; }
  50%       { transform: translateY(-4px); opacity: 1; }
}

.chat-input-area {
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.chat-input {
  flex: 1;
  padding: .65rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: .9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition);
}
.chat-input:focus { border-color: var(--primary); }
.chat-send-btn {
  width: 40px; height: 40px;
  background: var(--grad-primary);
  border: none;
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}
.chat-send-btn:hover { transform: scale(1.08); }

.emoji-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: .25rem;
  transition: color var(--transition);
}
.emoji-btn:hover { color: var(--gold); }

.chat-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
}

/* ============================================================
   PROFILE
   ============================================================ */
.profile-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 80px 1rem 2rem;
}
.profile-hero {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.profile-cover {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.profile-cover-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,.95), transparent);
}
.profile-header-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.profile-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}
.profile-actions { display: flex; gap: .75rem; }
.profile-action-btn {
  width: 46px; height: 46px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.profile-action-btn:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.5);
  color: #fff;
}

.profile-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .4rem;
  margin-bottom: 1.5rem;
}
.gallery-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}
.gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.gallery-thumb:hover img { transform: scale(1.05); }

.profile-info-card { margin-bottom: 1rem; }
.profile-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}
.info-item i {
  color: var(--primary);
  font-size: 1rem;
  margin-top: .15rem;
  width: 18px;
  flex-shrink: 0;
}
.info-label { font-size: .75rem; color: var(--text-muted); display: block; }
.info-value { font-size: .9rem; font-weight: 500; }

.interests-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.interest-tag {
  padding: .3rem .875rem;
  background: rgba(157,109,245,.1);
  border: 1px solid rgba(157,109,245,.25);
  border-radius: var(--radius-full);
  font-size: .8rem;
  color: var(--accent);
}

/* ============================================================
   PLANOS
   ============================================================ */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 1rem 2rem;
}
.plan-card {
  padding: 2rem 1.5rem;
  position: relative;
  transition: transform var(--transition);
}
.plan-card:hover { transform: translateY(-4px); }
.plan-card.popular {
  border-color: var(--primary);
  background: rgba(232,137,106,.05);
}
.popular-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: .25rem .875rem;
  background: var(--grad-primary);
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.plan-name {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-secondary);
  margin-bottom: .5rem;
}
.plan-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
}
.plan-price sup { font-size: 1rem; vertical-align: top; margin-top: .5rem; }
.plan-price sub { font-size: .875rem; color: var(--text-muted); }
.plan-features {
  list-style: none;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.plan-features li {
  font-size: .875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.plan-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
}

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-layout {
  display: flex;
  min-height: 100vh;
}
.admin-sidebar {
  width: 240px;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  z-index: 50;
}
.admin-logo {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}
.admin-logo span { color: var(--primary); }
.admin-nav {
  flex: 1;
  padding: 1rem 0;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.5rem;
  color: var(--text-secondary);
  font-size: .88rem;
  font-weight: 500;
  transition: all var(--transition);
  text-decoration: none;
}
.admin-nav-item:hover, .admin-nav-item.active {
  background: var(--bg-elevated);
  color: var(--text-primary);
}
.admin-nav-item.active { color: var(--primary); border-right: 2px solid var(--primary); }
.admin-nav-item i { width: 18px; text-align: center; }
.admin-nav-section {
  padding: .5rem 1.5rem .25rem;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-top: .5rem;
}

.admin-content {
  margin-left: 240px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.admin-topbar {
  height: 64px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 40;
}
.admin-page-title { font-weight: 600; font-size: 1.1rem; }
.admin-main { padding: 1.5rem; }

/* Stats cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.stat-card {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.stat-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
.stat-icon.blue   { background: rgba(59,130,246,.15);  color: #60a5fa; }
.stat-icon.pink   { background: rgba(236,72,153,.15);  color: #f472b6; }
.stat-icon.green  { background: rgba(34,197,94,.15);   color: #4ade80; }
.stat-icon.orange { background: rgba(249,115,22,.15);  color: #fb923c; }
.stat-icon.purple { background: rgba(139,92,246,.15);  color: #a78bfa; }
.stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
}
.stat-label { font-size: .8rem; color: var(--text-muted); }

/* Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table th {
  padding: .75rem 1rem;
  text-align: left;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}
.data-table td {
  padding: .875rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: .875rem;
}
.data-table tr:hover td { background: rgba(255,255,255,.02); }
.data-table .user-cell { display: flex; align-items: center; gap: .625rem; }
.data-table .user-cell img {
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

/* Badges */
.badge {
  padding: .2rem .6rem;
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 600;
}
.badge-active  { background: rgba(34,197,94,.15);  color: #4ade80; }
.badge-banned  { background: rgba(239,68,68,.15);  color: #f87171; }
.badge-pending { background: rgba(245,158,11,.15); color: #fbbf24; }
.badge-admin   { background: rgba(139,92,246,.15); color: #a78bfa; }
.badge-vip     { background: rgba(212,165,116,.15);color: var(--gold); }

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.modal-overlay.show { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.modal-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: .25rem;
  transition: color var(--transition);
}
.modal-close:hover { color: var(--text-primary); }
.modal-footer { display: flex; gap: .75rem; justify-content: flex-end; margin-top: 1.5rem; }

/* ============================================================
   LOGIN / REGISTER PAGE
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background:
    radial-gradient(ellipse 80% 60% at 30% 50%, rgba(200,98,79,.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(124,58,237,.1) 0%, transparent 60%),
    var(--bg-deep);
}
.auth-box {
  width: 100%;
  max-width: 420px;
  padding: 2.5rem 2rem;
}
.auth-logo {
  text-align: center;
  margin-bottom: 2rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
}
.auth-logo span { color: var(--primary); }
.auth-title { font-size: 1.5rem; margin-bottom: .4rem; text-align: center; }
.auth-subtitle {
  color: var(--text-secondary);
  font-size: .9rem;
  text-align: center;
  margin-bottom: 2rem;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
  color: var(--text-muted);
  font-size: .8rem;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.auth-link { text-align: center; margin-top: 1.25rem; font-size: .9rem; color: var(--text-muted); }
.auth-link a { color: var(--primary); font-weight: 600; }

/* ============================================================
   WAITLIST
   ============================================================ */
.waitlist-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.waitlist-box { width: 100%; max-width: 500px; }
.waitlist-header { text-align: center; margin-bottom: 2rem; }
.waitlist-position-box {
  padding: 1.5rem;
  text-align: center;
  background: rgba(232,137,106,.06);
  border: 1px solid rgba(232,137,106,.2);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}
.waitlist-position-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.referral-box {
  padding: 1.25rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  margin-top: 1rem;
}
.referral-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem .875rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: .8rem;
  color: var(--text-secondary);
  margin-top: .6rem;
  word-break: break-all;
}
.copy-btn {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: .85rem;
  padding: .2rem;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .app-nav-desktop { display: none; }
  .menu-toggle { display: flex; }

  .chat-layout { grid-template-columns: 1fr; }
  .chat-sidebar { display: none; }
  .chat-sidebar.open { display: flex; position: fixed; inset: 64px 0 0 0; z-index: 90; }

  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform var(--transition);
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-content { margin-left: 0; }

  .profile-info-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .plans-grid { grid-template-columns: 1fr; }
  .card-stack { max-width: 100%; height: 480px; }
  .hero-stats { gap: 1.5rem; }
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ============================================================
   UTILITIES
   ============================================================ */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }
.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-muted  { color: var(--text-muted); }
.text-primary-col { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger  { color: var(--danger); }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: .25rem; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fs-sm { font-size: .85rem; }
.hidden { display: none !important; }
