:root {
    --primary: #4facfe;
    --bg-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --text-main: #1e293b;
    --text-muted: #64748b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #f8fafc;
    min-height: 100vh;
    color: var(--text-main);
}

.profiles-header {
    background: var(--bg-gradient);
    padding: 60px 20px;
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.profiles-header h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}

.profiles-header p {
    opacity: 0.9;
    font-size: 16px;
    margin-bottom: 20px;
}

.profiles-header .btn-back {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s;
}

.profiles-header .btn-back:hover {
    background: rgba(255, 255, 255, 0.3);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.profile-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
}

.profile-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.profile-link {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 16px;
}

.profiles-footer {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 14px;
}

.profiles-footer a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}
