* {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

body {
    background: linear-gradient(145deg, #f8fafc 0%, #eef2f6 100%);
    padding-bottom: 2rem;
}

.text-gradient {
    background: linear-gradient(135deg, #0f172a, #2d3a5e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Card styling */
.person-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(0,0,0,0.05);
}

.person-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.15);
}

.card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background-color: #cbd5e1;
}

.card-info {
    padding: 1rem 0.8rem;
}

.person-name {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
    color: #0f172a;
}

.person-detail {
    font-size: 0.75rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge-location {
    background: #eef2ff;
    color: #1e40af;
    font-weight: 500;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 40px;
}

.match-badge {
    background: #10b98120;
    color: #0b5e42;
    font-size: 0.7rem;
    border-radius: 30px;
    padding: 0.2rem 0.7rem;
    font-weight: 600;
    display: inline-block;
}

.online-status {
    font-size: 0.7rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    padding: 0.2rem 0.6rem;
    border-radius: 40px;
}

.status-active {
    color: #10b981;
}
.status-recent {
    color: #f59e0b;
}

.connect-btn {
    width: 100%;
    margin-top: 10px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.connect-btn.active-connect {
    background-color: #10b981;
    border-color: #10b981;
    color: white;
}
.connect-btn.active-connect:hover {
    background-color: #059669;
}

/* Preference panel */
.preference-panel {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(2px);
    border-radius: 48px;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.2);
}

.step-btn {
    border-radius: 60px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: 0.15s;
}
.step-btn.active-option {
    background-color: #0f172a;
    color: white;
    border-color: #0f172a;
}

.reset-link {
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: underline;
    color: #3b82f6;
}
.reset-link:hover {
    color: #1e3a8a;
}

#loadMoreBtn {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border: none;
    transition: transform 0.2s;
}
#loadMoreBtn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

@media (max-width: 768px) {
    .step-btn { padding: 0.4rem 1rem; font-size: 0.9rem; }
}