/* SweetMeet — Premium Dating Platform CSS */
:root {
  --bg: #0d0d0d;
  --bg2: #141414;
  --bg3: #1a1a1a;
  --bg4: #222;
  --text: #fff;
  --text2: #ccc;
  --text3: #888;
  --accent: #e74c8b;
  --accent2: #c2185b;
  --accent-glow: rgba(231,76,139,0.3);
  --gold: #f5a623;
  --gold2: #d4891a;
  --green: #4caf50;
  --red: #e53935;
  --border: rgba(255,255,255,0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --transition: all 0.3s cubic-bezier(0.165, 0.85, 0.45, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-fluid { max-width: 100%; padding: 0 20px; }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0; transition: var(--transition); background: transparent; }
.navbar.scrolled { background: rgba(13,13,13,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 10px 0; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 700; color: var(--text); cursor: pointer; }
.logo-icon { color: var(--accent); font-size: 24px; }
.logo-text { font-family: var(--font-display); letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text2); font-size: 14px; font-weight: 500; transition: var(--transition); }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 10px; }
.mobile-menu { display: none; background: none; border: none; color: var(--text); font-size: 22px; cursor: pointer; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border: none; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition); white-space: nowrap; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; }
.btn-primary:hover { filter: brightness(1.1); box-shadow: 0 4px 20px var(--accent-glow); }
.btn-ghost { background: transparent; color: var(--text2); border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.3); padding: 14px 32px; font-size: 15px; }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-hero { padding: 18px 40px; font-size: 16px; border-radius: 50px; }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 100px 0 60px; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(231,76,139,0.15), transparent 60%), radial-gradient(ellipse at 70% 30%, rgba(156,39,176,0.1), transparent 50%); }
.hero-gradient { position: absolute; bottom: 0; left: 0; right: 0; height: 200px; background: linear-gradient(transparent, var(--bg)); }
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; width: 100%; }
.hero-badge { display: inline-block; background: rgba(231,76,139,0.15); color: var(--accent); padding: 8px 20px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 20px; border: 1px solid rgba(231,76,139,0.2); }
.hero-title { font-family: var(--font-display); font-size: 56px; line-height: 1.15; font-weight: 700; margin-bottom: 20px; }
.accent-text { color: var(--accent); }
.hero-sub { font-size: 18px; color: var(--text2); line-height: 1.7; margin-bottom: 32px; }
.hero-role-select { display: flex; gap: 12px; margin-bottom: 32px; }
.role-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 28px; background: var(--bg3); border: 1.5px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: var(--transition); color: var(--text2); }
.role-btn i { font-size: 20px; margin-bottom: 4px; }
.role-btn span { font-size: 14px; font-weight: 600; }
.role-btn small { font-size: 11px; color: var(--text3); }
.role-btn.active { border-color: var(--accent); background: rgba(231,76,139,0.1); color: var(--accent); }
.role-btn:hover { border-color: var(--accent); }
.hero-stats { display: flex; align-items: center; gap: 24px; margin-top: 40px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 28px; font-weight: 700; font-family: var(--font-display); }
.stat-label { font-size: 13px; color: var(--text3); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* HERO CARDS */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 500px; }
.hero-cards { position: relative; width: 350px; height: 450px; }
.hero-card { position: absolute; width: 260px; height: 340px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,0.8)); }
.hc-name { display: block; font-size: 18px; font-weight: 700; }
.hc-detail { font-size: 12px; color: var(--text2); }
.verified { color: #2196f3; font-size: 14px; margin-left: 4px; }
.hero-card-1 { top: 0; left: 0; z-index: 3; transform: rotate(-5deg); }
.hero-card-2 { top: 30px; left: 80px; z-index: 2; transform: rotate(3deg); }
.hero-card-3 { top: 60px; left: 40px; z-index: 1; transform: rotate(-2deg); opacity: 0.7; }
.hero-card:hover { transform: rotate(0deg) scale(1.05); z-index: 5; }

/* TRUST BAR */
.trust-bar { background: var(--bg2); padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-items { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--text3); font-size: 13px; font-weight: 500; }
.trust-item i { color: var(--accent); font-size: 16px; }

/* SECTIONS */
.section { padding: 100px 0; }
.section-dark { background: var(--bg2); }
.section-warm { background: linear-gradient(180deg, var(--bg), var(--bg2)); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag { display: inline-block; color: var(--accent); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.section-title { font-family: var(--font-display); font-size: 40px; font-weight: 700; margin-bottom: 16px; }
.section-sub { color: var(--text3); font-size: 16px; max-width: 500px; margin: 0 auto; }

/* STEPS */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-card { text-align: center; padding: 40px 30px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); transition: var(--transition); position: relative; }
.step-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.step-num { position: absolute; top: 16px; left: 20px; font-size: 48px; font-weight: 800; color: rgba(231,76,139,0.1); font-family: var(--font-display); }
.step-icon { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 24px; color: #fff; }
.step-card h3 { font-size: 18px; margin-bottom: 12px; }
.step-card p { color: var(--text3); font-size: 14px; line-height: 1.7; }

/* SHOWCASE */
.showcase-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; }
.showcase-tab { padding: 12px 28px; border: 1.5px solid var(--border); border-radius: 50px; background: transparent; color: var(--text2); font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.showcase-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.showcase-tab:hover { border-color: var(--accent); }
.showcase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.showcase-cta { text-align: center; margin-top: 48px; }

/* MEMBER CARD */
.member-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: var(--transition); }
.member-card:hover { transform: translateY(-4px); border-color: rgba(231,76,139,0.3); box-shadow: 0 8px 32px rgba(231,76,139,0.15); }
.mc-img { position: relative; width: 100%; padding-top: 130%; overflow: hidden; }
.mc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.member-card:hover .mc-img img { transform: scale(1.05); }
.mc-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.mc-badge { padding: 4px 10px; border-radius: 50px; font-size: 11px; font-weight: 600; backdrop-filter: blur(10px); }
.mc-badge.vip { background: rgba(245,166,35,0.9); color: #000; }
.mc-badge.online { background: rgba(76,175,80,0.9); color: #fff; }
.mc-badge.verified { background: rgba(33,150,243,0.8); color: #fff; }
.mc-online-dot { position: absolute; bottom: 12px; right: 12px; width: 12px; height: 12px; background: var(--green); border-radius: 50%; border: 2px solid var(--bg3); }
.mc-info { padding: 16px; }
.mc-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.mc-detail { font-size: 13px; color: var(--text3); margin-bottom: 8px; }
.mc-bio { font-size: 13px; color: var(--text2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mc-footer { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-top: 1px solid var(--border); }
.mc-stat { font-size: 12px; color: var(--text3); }
.mc-like-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(231,76,139,0.15); border: none; color: var(--accent); font-size: 16px; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.mc-like-btn:hover { background: var(--accent); color: #fff; }
.mc-like-btn.liked { background: var(--accent); color: #fff; }

/* FEATURES */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { padding: 32px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); transition: var(--transition); }
.feature-card:hover { border-color: rgba(231,76,139,0.3); }
.feature-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(231,76,139,0.1); display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--accent); margin-bottom: 16px; }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { color: var(--text3); font-size: 14px; line-height: 1.6; }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { padding: 28px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); }
.tc-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tc-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.tc-name { font-size: 15px; font-weight: 600; }
.tc-meta { font-size: 12px; color: var(--text3); }
.tc-badge { padding: 4px 12px; border-radius: 50px; font-size: 11px; font-weight: 600; background: rgba(231,76,139,0.15); color: var(--accent); margin-left: auto; }
.tc-badge.daddy { background: rgba(245,166,35,0.15); color: var(--gold); }
.tc-stars { color: var(--gold); font-size: 14px; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card p { font-size: 14px; color: var(--text2); line-height: 1.7; font-style: italic; }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.price-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; position: relative; transition: var(--transition); }
.price-card:hover { border-color: rgba(231,76,139,0.3); }
.price-card.popular { border-color: var(--accent); transform: scale(1.05); }
.popular-badge { position: absolute; top: 0; right: 20px; background: var(--accent); color: #fff; padding: 6px 16px; border-radius: 0 0 8px 8px; font-size: 12px; font-weight: 600; }
.pc-header { padding: 32px 24px; text-align: center; border-bottom: 1px solid var(--border); }
.pc-name { font-size: 18px; font-weight: 600; color: var(--text2); margin-bottom: 12px; }
.pc-price { font-size: 44px; font-weight: 800; font-family: var(--font-display); }
.pc-currency { font-size: 18px; font-weight: 400; color: var(--text3); vertical-align: top; }
.pc-period { font-size: 16px; font-weight: 400; color: var(--text3); }
.pc-desc { font-size: 13px; color: var(--text3); margin-top: 8px; }
.pc-features { padding: 24px; list-style: none; }
.pc-features li { padding: 10px 0; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.pc-features li.yes { color: var(--text2); }
.pc-features li.no { color: var(--text3); opacity: 0.5; }
.pc-features li i { width: 18px; text-align: center; }
.pc-features .fa-check { color: var(--green); }
.pc-features .fa-lock { color: var(--text3); }
.price-card .btn { margin: 0 24px 24px; width: calc(100% - 48px); }

/* CTA */
.cta-section { background: linear-gradient(135deg, rgba(231,76,139,0.15), rgba(156,39,176,0.1)); }
.cta-content { text-align: center; padding: 60px 0; }
.cta-content h2 { font-family: var(--font-display); font-size: 36px; margin-bottom: 16px; }
.cta-content p { color: var(--text3); font-size: 16px; margin-bottom: 32px; }

/* FOOTER */
.footer { background: var(--bg2); padding: 60px 0 30px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--text3); font-size: 14px; margin: 16px 0; line-height: 1.7; }
.social-icons { display: flex; gap: 12px; }
.social-icons a { width: 36px; height: 36px; border-radius: 50%; background: var(--bg3); display: flex; align-items: center; justify-content: center; color: var(--text3); font-size: 16px; transition: var(--transition); }
.social-icons a:hover { background: var(--accent); color: #fff; }
.footer-links h4 { font-size: 14px; font-weight: 600; margin-bottom: 16px; color: var(--text); }
.footer-links a { display: block; font-size: 14px; color: var(--text3); padding: 6px 0; transition: var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-bottom p { color: var(--text3); font-size: 13px; }

/* MODALS */
.modal { display: none; position: fixed; inset: 0; z-index: 1000; align-items: center; justify-content: center; }
.modal.active { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); }
.modal-content { position: relative; background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; max-width: 440px; width: 90%; max-height: 90vh; overflow-y: auto; animation: modalIn 0.3s ease; }
.modal-lg { max-width: 680px; }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: var(--text3); font-size: 20px; cursor: pointer; transition: var(--transition); }
.modal-close:hover { color: var(--text); }
.modal-header { text-align: center; margin-bottom: 28px; }
.modal-logo { font-size: 36px; display: block; margin-bottom: 12px; }
.modal-header h2 { font-family: var(--font-display); font-size: 26px; margin-bottom: 8px; }
.modal-header p { color: var(--text3); font-size: 14px; }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* FORMS */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text2); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-size: 14px; transition: var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-group textarea { resize: vertical; }
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-switch { text-align: center; margin-top: 16px; color: var(--text3); font-size: 14px; }
.form-switch a { color: var(--accent); font-weight: 600; }
.form-error { text-align: center; color: var(--red); font-size: 14px; margin-top: 12px; min-height: 20px; }

/* DASHBOARD */
.dashboard { min-height: 100vh; background: var(--bg); }
.dash-nav { background: var(--bg2); border-bottom: 1px solid var(--border); padding: 0; position: sticky; top: 0; z-index: 50; }
.dash-nav .nav-inner { padding: 0 20px; height: 64px; }
.dash-tabs { display: flex; gap: 4px; }
.dash-tab { display: flex; align-items: center; gap: 8px; padding: 20px 16px; background: none; border: none; color: var(--text3); font-size: 14px; font-weight: 500; cursor: pointer; border-bottom: 2px solid transparent; transition: var(--transition); }
.dash-tab:hover { color: var(--text2); }
.dash-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.dash-tab i { font-size: 16px; }
.dash-user { display: flex; align-items: center; gap: 12px; }
.dash-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
#dashName { font-size: 14px; font-weight: 600; }

/* DASHBOARD SECTIONS */
.dash-section { display: none; padding: 32px 0; }
.dash-section.active { display: block; }
.dash-title { font-family: var(--font-display); font-size: 28px; margin-bottom: 24px; }
.badge { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 8px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; border-radius: 50px; margin-left: 8px; font-family: var(--font); }

/* BROWSE */
.browse-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.browse-header h2 { font-family: var(--font-display); font-size: 28px; }
.browse-filters { display: flex; gap: 10px; }
.browse-filters select { padding: 10px 36px 10px 14px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-size: 13px; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.members-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }

/* EMPTY STATE */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text3); }
.empty-state i { font-size: 48px; margin-bottom: 16px; opacity: 0.3; }
.empty-state p { font-size: 15px; }
.empty-state.small { padding: 40px 16px; }
.empty-state.small i { font-size: 32px; }

/* MATCHES LIST */
.matches-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.match-card { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: var(--transition); }
.match-card:hover { border-color: var(--accent); }
.match-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.match-info h4 { font-size: 15px; font-weight: 600; }
.match-info p { font-size: 13px; color: var(--text3); }
.match-actions { margin-left: auto; display: flex; gap: 8px; }
.match-btn { width: 40px; height: 40px; border-radius: 50%; background: rgba(231,76,139,0.1); border: none; color: var(--accent); font-size: 16px; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.match-btn:hover { background: var(--accent); color: #fff; }

/* CHAT */
.chat-layout { display: grid; grid-template-columns: 320px 1fr; height: calc(100vh - 64px); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.chat-sidebar { background: var(--bg2); border-right: 1px solid var(--border); overflow-y: auto; }
.chat-sidebar-header { padding: 20px; border-bottom: 1px solid var(--border); }
.chat-sidebar-header h3 { font-size: 18px; }
.chat-list { overflow-y: auto; }
.chat-item { display: flex; align-items: center; gap: 12px; padding: 14px 20px; cursor: pointer; transition: var(--transition); border-bottom: 1px solid var(--border); }
.chat-item:hover, .chat-item.active { background: rgba(231,76,139,0.05); }
.chat-item-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; position: relative; flex-shrink: 0; }
.chat-item-info { flex: 1; min-width: 0; }
.chat-item-name { font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; }
.chat-item-name span:last-child { font-size: 11px; color: var(--text3); font-weight: 400; }
.chat-item-msg { font-size: 13px; color: var(--text3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-item-unread { min-width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.chat-main { display: flex; flex-direction: column; background: var(--bg); }
.chat-empty-main { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: var(--text3); }
.chat-empty-main i { font-size: 48px; margin-bottom: 16px; opacity: 0.3; }
.chat-empty-main h3 { font-size: 20px; margin-bottom: 8px; color: var(--text2); }
.chat-header { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); background: var(--bg2); }
.chat-header img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.chat-header-info h4 { font-size: 15px; }
.chat-header-info span { font-size: 12px; color: var(--green); }
.chat-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { max-width: 70%; padding: 12px 16px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.chat-msg.sent { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg.received { align-self: flex-start; background: var(--bg3); color: var(--text); border-bottom-left-radius: 4px; }
.chat-msg-time { font-size: 11px; opacity: 0.6; margin-top: 4px; }
.chat-input { display: flex; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--border); background: var(--bg2); }
.chat-input input { flex: 1; padding: 12px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: 50px; color: var(--text); font-size: 14px; }
.chat-input input:focus { outline: none; border-color: var(--accent); }
.chat-input button { padding: 12px 24px; }

/* PROFILE */
.profile-layout { display: grid; grid-template-columns: 300px 1fr; gap: 24px; }
.profile-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-align: center; }
.profile-cover { height: 120px; background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.profile-avatar-wrap { position: relative; margin-top: -50px; display: inline-block; }
.profile-avatar-lg { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 4px solid var(--bg2); }
.avatar-upload { position: absolute; bottom: 0; right: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 14px; }
#profileName { font-size: 22px; font-weight: 700; margin: 12px 0 4px; }
.text-muted { color: var(--text3); font-size: 14px; padding: 0 20px; }
.profile-stats { display: flex; justify-content: center; gap: 32px; padding: 20px; border-top: 1px solid var(--border); margin-top: 16px; }
.profile-stats div { text-align: center; }
.profile-stats span { display: block; font-size: 20px; font-weight: 700; color: var(--accent); }
.profile-stats small { font-size: 12px; color: var(--text3); }
.profile-form { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.profile-form h3 { font-size: 20px; margin-bottom: 24px; }

/* MEMBER DETAIL */
.member-detail { display: grid; grid-template-columns: 260px 1fr; gap: 28px; }
.md-photo { width: 100%; border-radius: var(--radius); overflow: hidden; }
.md-photo img { width: 100%; height: 340px; object-fit: cover; }
.md-info h2 { font-family: var(--font-display); font-size: 28px; margin-bottom: 4px; }
.md-meta { font-size: 14px; color: var(--text3); margin-bottom: 16px; }
.md-bio { font-size: 15px; color: var(--text2); line-height: 1.7; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.md-details { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.md-detail { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.md-detail i { color: var(--accent); width: 20px; text-align: center; }
.md-detail span { color: var(--text2); }
.md-detail strong { color: var(--text); font-weight: 600; }
.md-actions { display: flex; gap: 12px; }

/* TOAST */
.toast-container { position: fixed; top: 80px; right: 20px; z-index: 10000; display: flex; flex-direction: column; gap: 8px; }
.toast { padding: 14px 20px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; color: #fff; animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards; box-shadow: var(--shadow); }
.toast.success { background: var(--green); }
.toast.error { background: var(--red); }
.toast.info { background: var(--accent); }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateX(30px); } }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-role-select { justify-content: center; }
  .hero-stats { justify-content: center; }
  .showcase-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .profile-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .mobile-menu { display: block; }
  .hero-title { font-size: 36px; }
  .hero-sub { font-size: 15px; }
  .hero-role-select { flex-direction: column; align-items: center; }
  .role-btn { width: 100%; max-width: 260px; flex-direction: row; padding: 14px 20px; }
  .steps-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .price-card.popular { transform: none; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section-title { font-size: 28px; }
  .members-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .dash-tabs span { display: none; }
  .dash-tab { padding: 20px 12px; }
  .dash-user #dashName { display: none; }
  .chat-layout { grid-template-columns: 1fr; }
  .chat-sidebar { display: none; }
  .chat-sidebar.mobile-show { display: block; position: fixed; inset: 64px 0 0; z-index: 40; }
  .member-detail { grid-template-columns: 1fr; }
  .md-photo img { height: 250px; }
  .browse-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero { padding: 80px 0 40px; }
  .hero-title { font-size: 30px; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .stat-divider { display: none; }
  .members-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .btn-hero { padding: 16px 28px; font-size: 15px; }
}

/* Mobile Nav Menu */
.nav-mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 90; }
.nav-mobile-overlay.active { display: block; }
.nav-mobile-menu { position: fixed; top: 0; right: -300px; width: 280px; height: 100%; background: var(--bg2); z-index: 91; padding: 80px 30px 30px; transition: var(--transition); }
.nav-mobile-menu.active { right: 0; }
.nav-mobile-menu a { display: block; padding: 16px 0; font-size: 16px; color: var(--text2); border-bottom: 1px solid var(--border); }
.nav-mobile-menu .btn { margin-top: 16px; width: 100%; }

/* PARTY BADGE */
.mc-badge.party { background: rgba(156,39,176,0.9); color: #fff; }
.md-party-badge { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg, rgba(156,39,176,0.2), rgba(231,76,139,0.15)); border: 1px solid rgba(156,39,176,0.3); border-radius: 50px; padding: 6px 16px; font-size: 13px; font-weight: 600; color: #ce93d8; margin: 8px 0 4px; }
.md-party-badge span { font-size: 16px; }

/* PAYMENT MODAL */
.payment-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan-card { background: var(--bg2); border: 2px solid var(--border); border-radius: var(--radius); padding: 24px; cursor: pointer; transition: var(--transition); position: relative; text-align: center; }
.plan-card:hover { border-color: var(--accent); }
.plan-card.selected { border-color: var(--accent); background: rgba(231,76,139,0.08); }
.plan-badge { position: absolute; top: -1px; right: 16px; background: var(--accent); color: #fff; padding: 4px 12px; border-radius: 0 0 8px 8px; font-size: 11px; font-weight: 600; }
.plan-badge.diamond { background: linear-gradient(135deg, #7c4dff, #e040fb); }
.plan-name { font-size: 22px; font-weight: 700; font-family: var(--font-display); margin: 12px 0 8px; }
.plan-price { font-size: 15px; color: var(--text2); margin-bottom: 16px; }
.plan-price strong { font-size: 28px; font-weight: 800; color: var(--text); }
.plan-features { list-style: none; text-align: left; }
.plan-features li { padding: 6px 0; font-size: 13px; color: var(--text2); display: flex; align-items: center; gap: 8px; }
.plan-features li i { color: var(--green); font-size: 12px; width: 16px; }
.selected-plan-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(245,166,35,0.15); color: var(--gold); padding: 8px 20px; border-radius: 50px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.stripe-element-wrap { margin-top: 16px; }
.stripe-element-wrap label { display: block; font-size: 13px; font-weight: 600; color: var(--text2); margin-bottom: 8px; }
.stripe-card-element { padding: 14px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.payment-security { text-align: center; font-size: 12px; color: var(--text3); margin-top: 12px; }
.payment-security i { color: var(--green); margin-right: 4px; }
.demo-card-notice { padding: 12px; background: rgba(245,166,35,0.1); border: 1px solid rgba(245,166,35,0.2); border-radius: var(--radius-sm); color: var(--gold); font-size: 13px; text-align: center; }
.demo-card-notice i { margin-right: 6px; }

/* VIP STATUS */
.vip-status-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.vip-active-card { display: flex; align-items: center; gap: 20px; padding: 24px; }
.vip-active-icon { font-size: 48px; }
.vip-active-info h3 { font-size: 20px; font-weight: 700; }
.vip-active-info p { font-size: 14px; color: var(--text3); }
.vip-sub-status { color: var(--green) !important; font-weight: 600; }
.vip-active-actions { margin-left: auto; }
.vip-inactive-card { text-align: center; padding: 48px 24px; }
.vip-inactive-icon { font-size: 64px; margin-bottom: 16px; }
.vip-inactive-card h3 { font-size: 22px; margin-bottom: 8px; }
.vip-inactive-card p { color: var(--text3); font-size: 14px; max-width: 400px; margin: 0 auto; }

/* PARTY BANNER */
.party-banner { display: flex; align-items: center; gap: 20px; padding: 24px; background: linear-gradient(135deg, rgba(156,39,176,0.15), rgba(231,76,139,0.1)); border: 1px solid rgba(156,39,176,0.25); border-radius: var(--radius); }
.party-banner-icon { font-size: 48px; }
.party-banner-info h3 { font-size: 18px; font-weight: 700; color: #ce93d8; }
.party-banner-info p { font-size: 14px; color: var(--text3); }
.party-badge-lg { background: rgba(156,39,176,0.9); color: #fff; padding: 8px 20px; border-radius: 50px; font-size: 14px; font-weight: 600; margin-left: auto; white-space: nowrap; }

/* PAYMENT TABLE */
.payment-table { width: 100%; border-collapse: collapse; background: var(--bg2); border-radius: var(--radius); overflow: hidden; }
.payment-table th { padding: 12px 16px; text-align: left; font-size: 13px; font-weight: 600; color: var(--text3); background: var(--bg3); border-bottom: 1px solid var(--border); }
.payment-table td { padding: 12px 16px; font-size: 14px; border-bottom: 1px solid var(--border); }
.pay-status { font-size: 13px; }
.pay-status.succeeded, .pay-status.demo { color: var(--green); }
.pay-status.pending { color: var(--gold); }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }
